public static final class UnittestCustomOptions.ComplexOptionType1.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType1.Builder> implements UnittestCustomOptions.ComplexOptionType1OrBuilder
protobuf_unittest.ComplexOptionType1
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.ComplexOptionType1.Builder>
public UnittestCustomOptions.ComplexOptionType1.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.ExtendableBuilder<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType1.Builder>
public UnittestCustomOptions.ComplexOptionType1.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.ExtendableBuilder<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType1.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.ComplexOptionType1.Builder>
public UnittestCustomOptions.ComplexOptionType1 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<UnittestCustomOptions.ComplexOptionType1>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestCustomOptions.ComplexOptionType1 build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestCustomOptions.ComplexOptionType1 buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestCustomOptions.ComplexOptionType1.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestCustomOptions.ComplexOptionType1.Builder>
public UnittestCustomOptions.ComplexOptionType1.Builder mergeFrom(UnittestCustomOptions.ComplexOptionType1 other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType1.Builder>
public UnittestCustomOptions.ComplexOptionType1.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.ComplexOptionType1.Builder>
java.io.IOException
public boolean hasFoo()
optional int32 foo = 1;
hasFoo
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo()
optional int32 foo = 1;
getFoo
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public UnittestCustomOptions.ComplexOptionType1.Builder setFoo(int value)
optional int32 foo = 1;
public UnittestCustomOptions.ComplexOptionType1.Builder clearFoo()
optional int32 foo = 1;
public boolean hasFoo2()
optional int32 foo2 = 2;
hasFoo2
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo2()
optional int32 foo2 = 2;
getFoo2
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public UnittestCustomOptions.ComplexOptionType1.Builder setFoo2(int value)
optional int32 foo2 = 2;
public UnittestCustomOptions.ComplexOptionType1.Builder clearFoo2()
optional int32 foo2 = 2;
public boolean hasFoo3()
optional int32 foo3 = 3;
hasFoo3
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo3()
optional int32 foo3 = 3;
getFoo3
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public UnittestCustomOptions.ComplexOptionType1.Builder setFoo3(int value)
optional int32 foo3 = 3;
public UnittestCustomOptions.ComplexOptionType1.Builder clearFoo3()
optional int32 foo3 = 3;
public java.util.List<java.lang.Integer> getFoo4List()
repeated int32 foo4 = 4;
getFoo4List
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo4Count()
repeated int32 foo4 = 4;
getFoo4Count
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo4(int index)
repeated int32 foo4 = 4;
getFoo4
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public UnittestCustomOptions.ComplexOptionType1.Builder setFoo4(int index, int value)
repeated int32 foo4 = 4;
public UnittestCustomOptions.ComplexOptionType1.Builder addFoo4(int value)
repeated int32 foo4 = 4;
public UnittestCustomOptions.ComplexOptionType1.Builder addAllFoo4(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 foo4 = 4;
public UnittestCustomOptions.ComplexOptionType1.Builder clearFoo4()
repeated int32 foo4 = 4;