public static final class UnittestCustomOptions.TestMessageWithCustomOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestCustomOptions.TestMessageWithCustomOptions.Builder> implements UnittestCustomOptions.TestMessageWithCustomOptionsOrBuilder
protobuf_unittest.TestMessageWithCustomOptions
A test message with custom options at all possible locations (and also some regular options, to make sure they interact nicely).
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<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
public UnittestCustomOptions.TestMessageWithCustomOptions.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<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
public UnittestCustomOptions.TestMessageWithCustomOptions.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<UnittestCustomOptions.TestMessageWithCustomOptions.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<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
public UnittestCustomOptions.TestMessageWithCustomOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestCustomOptions.TestMessageWithCustomOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestCustomOptions.TestMessageWithCustomOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestCustomOptions.TestMessageWithCustomOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
public UnittestCustomOptions.TestMessageWithCustomOptions.Builder mergeFrom(UnittestCustomOptions.TestMessageWithCustomOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
public UnittestCustomOptions.TestMessageWithCustomOptions.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<UnittestCustomOptions.TestMessageWithCustomOptions.Builder>
java.io.IOException
public boolean hasField1()
optional string field1 = 1 [ctype = CORD];
hasField1
in interface UnittestCustomOptions.TestMessageWithCustomOptionsOrBuilder
public java.lang.String getField1()
optional string field1 = 1 [ctype = CORD];
getField1
in interface UnittestCustomOptions.TestMessageWithCustomOptionsOrBuilder
public com.google.protobuf.ByteString getField1Bytes()
optional string field1 = 1 [ctype = CORD];
getField1Bytes
in interface UnittestCustomOptions.TestMessageWithCustomOptionsOrBuilder
public UnittestCustomOptions.TestMessageWithCustomOptions.Builder setField1(java.lang.String value)
optional string field1 = 1 [ctype = CORD];
public UnittestCustomOptions.TestMessageWithCustomOptions.Builder clearField1()
optional string field1 = 1 [ctype = CORD];
public UnittestCustomOptions.TestMessageWithCustomOptions.Builder setField1Bytes(com.google.protobuf.ByteString value)
optional string field1 = 1 [ctype = CORD];