public static final class TestProtos.Header.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestProtos.Header.Builder>
Modifier and Type | Method and Description |
---|---|
TestProtos.Header |
build() |
TestProtos.Header |
buildPartial() |
TestProtos.Header.Builder |
clear() |
TestProtos.Header.Builder |
clearName() |
TestProtos.Header.Builder |
clearValue() |
TestProtos.Header.Builder |
clone() |
TestProtos.Header |
getDefaultInstanceForType() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName() |
String |
getValue() |
boolean |
hasName() |
boolean |
hasValue() |
protected TestProtos.Header |
internalGetResult() |
boolean |
isInitialized() |
TestProtos.Header.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.Header.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestProtos.Header.Builder |
mergeFrom(TestProtos.Header other) |
TestProtos.Header.Builder |
setName(String value) |
TestProtos.Header.Builder |
setValue(String value) |
addRepeatedField, clearField, getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, parseUnknownField, setField, setRepeatedField, setUnknownFields
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
protected TestProtos.Header internalGetResult()
internalGetResult
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.Header.Builder>
public TestProtos.Header.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.Header.Builder>
public TestProtos.Header.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.Header.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.Header.Builder>
public TestProtos.Header getDefaultInstanceForType()
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite.Builder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.Header.Builder>
public TestProtos.Header build()
public TestProtos.Header buildPartial()
public TestProtos.Header.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.Header.Builder>
public TestProtos.Header.Builder mergeFrom(TestProtos.Header other)
public TestProtos.Header.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.Header.Builder>
IOException
public boolean hasName()
public String getName()
public TestProtos.Header.Builder setName(String value)
public TestProtos.Header.Builder clearName()
public boolean hasValue()
public String getValue()
public TestProtos.Header.Builder setValue(String value)
public TestProtos.Header.Builder clearValue()