public static final class UnittestProto.TestCommentInjectionMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder> implements UnittestProto.TestCommentInjectionMessageOrBuilder
protobuf_unittest.TestCommentInjectionMessage
Modifier and Type | Method and Description |
---|---|
UnittestProto.TestCommentInjectionMessage |
build() |
UnittestProto.TestCommentInjectionMessage |
buildPartial() |
UnittestProto.TestCommentInjectionMessage.Builder |
clear() |
UnittestProto.TestCommentInjectionMessage.Builder |
clearA()
optional string a = 1 [default = "*/ <- Neither should this."]; |
UnittestProto.TestCommentInjectionMessage.Builder |
clone() |
java.lang.String |
getA()
optional string a = 1 [default = "*/ <- Neither should this."]; |
com.google.protobuf.ByteString |
getABytes()
optional string a = 1 [default = "*/ <- Neither should this."]; |
UnittestProto.TestCommentInjectionMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasA()
optional string a = 1 [default = "*/ <- Neither should this."]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnittestProto.TestCommentInjectionMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestCommentInjectionMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnittestProto.TestCommentInjectionMessage.Builder |
mergeFrom(UnittestProto.TestCommentInjectionMessage other) |
UnittestProto.TestCommentInjectionMessage.Builder |
setA(java.lang.String value)
optional string a = 1 [default = "*/ <- Neither should this."]; |
UnittestProto.TestCommentInjectionMessage.Builder |
setABytes(com.google.protobuf.ByteString value)
optional string a = 1 [default = "*/ <- Neither should this."]; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder>
public UnittestProto.TestCommentInjectionMessage.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder>
public UnittestProto.TestCommentInjectionMessage.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<UnittestProto.TestCommentInjectionMessage.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder>
public UnittestProto.TestCommentInjectionMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestProto.TestCommentInjectionMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestCommentInjectionMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestCommentInjectionMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder>
public UnittestProto.TestCommentInjectionMessage.Builder mergeFrom(UnittestProto.TestCommentInjectionMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestCommentInjectionMessage.Builder>
public UnittestProto.TestCommentInjectionMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<UnittestProto.TestCommentInjectionMessage.Builder>
java.io.IOException
public boolean hasA()
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment
hasA
in interface UnittestProto.TestCommentInjectionMessageOrBuilder
public java.lang.String getA()
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment
getA
in interface UnittestProto.TestCommentInjectionMessageOrBuilder
public com.google.protobuf.ByteString getABytes()
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment
getABytes
in interface UnittestProto.TestCommentInjectionMessageOrBuilder
public UnittestProto.TestCommentInjectionMessage.Builder setA(java.lang.String value)
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment
public UnittestProto.TestCommentInjectionMessage.Builder clearA()
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment
public UnittestProto.TestCommentInjectionMessage.Builder setABytes(com.google.protobuf.ByteString value)
optional string a = 1 [default = "*/ <- Neither should this."];
*/ <- This should not close the generated doc comment