Package com.google.protobuf
Class DescriptorProtos.FileDescriptorProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
- com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder
-
- All Implemented Interfaces:
DescriptorProtos.FileDescriptorProtoOrBuilder,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.FileDescriptorProto
public static final class DescriptorProtos.FileDescriptorProto.Builder extends GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
Protobuf typegoogle.protobuf.FileDescriptorProtoDescribes a complete .proto file.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.FileDescriptorProto.BuilderaddAllDependency(java.lang.Iterable<java.lang.String> values)repeated string dependency = 3;DescriptorProtos.FileDescriptorProto.BuilderaddAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderaddAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderaddAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderaddAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)repeated int32 public_dependency = 10;DescriptorProtos.FileDescriptorProto.BuilderaddAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderaddAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)repeated int32 weak_dependency = 11;DescriptorProtos.FileDescriptorProto.BuilderaddDependency(java.lang.String value)repeated string dependency = 3;DescriptorProtos.FileDescriptorProto.BuilderaddDependencyBytes(ByteString value)repeated string dependency = 3;DescriptorProtos.FileDescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.EnumDescriptorProto.BuilderaddEnumTypeBuilder()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.EnumDescriptorProto.BuilderaddEnumTypeBuilder(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FieldDescriptorProto.BuilderaddExtensionBuilder()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FieldDescriptorProto.BuilderaddExtensionBuilder(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderaddMessageType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderaddMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderaddMessageType(DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderaddMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.DescriptorProto.BuilderaddMessageTypeBuilder()repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.DescriptorProto.BuilderaddMessageTypeBuilder(int index)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderaddPublicDependency(int value)repeated int32 public_dependency = 10;DescriptorProtos.FileDescriptorProto.BuilderaddService(int index, DescriptorProtos.ServiceDescriptorProto value)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderaddService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderaddService(DescriptorProtos.ServiceDescriptorProto value)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderaddService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.ServiceDescriptorProto.BuilderaddServiceBuilder()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.ServiceDescriptorProto.BuilderaddServiceBuilder(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderaddWeakDependency(int value)repeated int32 weak_dependency = 11;DescriptorProtos.FileDescriptorProtobuild()Constructs the message based on the state of the Builder.DescriptorProtos.FileDescriptorProtobuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.DescriptorProtos.FileDescriptorProto.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.DescriptorProtos.FileDescriptorProto.BuilderclearDependency()repeated string dependency = 3;DescriptorProtos.FileDescriptorProto.BuilderclearEnumType()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderclearExtension()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderclearMessageType()repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderclearName()optional string name = 1;DescriptorProtos.FileDescriptorProto.BuilderclearOptions()optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileDescriptorProto.BuilderclearPackage()optional string package = 2;DescriptorProtos.FileDescriptorProto.BuilderclearPublicDependency()repeated int32 public_dependency = 10;DescriptorProtos.FileDescriptorProto.BuilderclearService()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuilderclearSourceCodeInfo()optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.FileDescriptorProto.BuilderclearWeakDependency()repeated int32 weak_dependency = 11;DescriptorProtos.FileDescriptorProto.Builderclone()Clones the Builder.DescriptorProtos.FileDescriptorProtogetDefaultInstanceForType()Get an instance of the type with no fields set.java.lang.StringgetDependency(int index)repeated string dependency = 3;ByteStringgetDependencyBytes(int index)repeated string dependency = 3;intgetDependencyCount()repeated string dependency = 3;ProtocolStringListgetDependencyList()repeated string dependency = 3;static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.DescriptorProtos.EnumDescriptorProtogetEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.EnumDescriptorProto.BuildergetEnumTypeBuilder(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;java.util.List<DescriptorProtos.EnumDescriptorProto.Builder>getEnumTypeBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;intgetEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;java.util.List<DescriptorProtos.EnumDescriptorProto>getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.EnumDescriptorProtoOrBuildergetEnumTypeOrBuilder(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder>getEnumTypeOrBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FieldDescriptorProtogetExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FieldDescriptorProto.BuildergetExtensionBuilder(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;java.util.List<DescriptorProtos.FieldDescriptorProto.Builder>getExtensionBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 7;intgetExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 7;java.util.List<DescriptorProtos.FieldDescriptorProto>getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FieldDescriptorProtoOrBuildergetExtensionOrBuilder(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>getExtensionOrBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.DescriptorProtogetMessageType(int index)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.DescriptorProto.BuildergetMessageTypeBuilder(int index)repeated .google.protobuf.DescriptorProto message_type = 4;java.util.List<DescriptorProtos.DescriptorProto.Builder>getMessageTypeBuilderList()repeated .google.protobuf.DescriptorProto message_type = 4;intgetMessageTypeCount()repeated .google.protobuf.DescriptorProto message_type = 4;java.util.List<DescriptorProtos.DescriptorProto>getMessageTypeList()repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.DescriptorProtoOrBuildergetMessageTypeOrBuilder(int index)repeated .google.protobuf.DescriptorProto message_type = 4;java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder>getMessageTypeOrBuilderList()repeated .google.protobuf.DescriptorProto message_type = 4;java.lang.StringgetName()optional string name = 1;ByteStringgetNameBytes()optional string name = 1;DescriptorProtos.FileOptionsgetOptions()optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileOptions.BuildergetOptionsBuilder()optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.FileOptions options = 8;java.lang.StringgetPackage()optional string package = 2;ByteStringgetPackageBytes()optional string package = 2;intgetPublicDependency(int index)repeated int32 public_dependency = 10;intgetPublicDependencyCount()repeated int32 public_dependency = 10;java.util.List<java.lang.Integer>getPublicDependencyList()repeated int32 public_dependency = 10;DescriptorProtos.ServiceDescriptorProtogetService(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.ServiceDescriptorProto.BuildergetServiceBuilder(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder>getServiceBuilderList()repeated .google.protobuf.ServiceDescriptorProto service = 6;intgetServiceCount()repeated .google.protobuf.ServiceDescriptorProto service = 6;java.util.List<DescriptorProtos.ServiceDescriptorProto>getServiceList()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.ServiceDescriptorProtoOrBuildergetServiceOrBuilder(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder>getServiceOrBuilderList()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.SourceCodeInfogetSourceCodeInfo()optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.SourceCodeInfo.BuildergetSourceCodeInfoBuilder()optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.SourceCodeInfoOrBuildergetSourceCodeInfoOrBuilder()optional .google.protobuf.SourceCodeInfo source_code_info = 9;intgetWeakDependency(int index)repeated int32 weak_dependency = 11;intgetWeakDependencyCount()repeated int32 weak_dependency = 11;java.util.List<java.lang.Integer>getWeakDependencyList()repeated int32 weak_dependency = 11;booleanhasName()optional string name = 1;booleanhasOptions()optional .google.protobuf.FileOptions options = 8;booleanhasPackage()optional string package = 2;booleanhasSourceCodeInfo()optional .google.protobuf.SourceCodeInfo source_code_info = 9;protected GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.DescriptorProtos.FileDescriptorProto.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.DescriptorProtos.FileDescriptorProto.BuildermergeFrom(DescriptorProtos.FileDescriptorProto other)DescriptorProtos.FileDescriptorProto.BuildermergeFrom(Message other)Mergeotherinto the message being built.DescriptorProtos.FileDescriptorProto.BuildermergeOptions(DescriptorProtos.FileOptions value)optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileDescriptorProto.BuildermergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.FileDescriptorProto.BuilderremoveEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuilderremoveExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuilderremoveMessageType(int index)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuilderremoveService(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuildersetDependency(int index, java.lang.String value)repeated string dependency = 3;DescriptorProtos.FileDescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FileDescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FileDescriptorProto.BuildersetMessageType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuildersetMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto message_type = 4;DescriptorProtos.FileDescriptorProto.BuildersetName(java.lang.String value)optional string name = 1;DescriptorProtos.FileDescriptorProto.BuildersetNameBytes(ByteString value)optional string name = 1;DescriptorProtos.FileDescriptorProto.BuildersetOptions(DescriptorProtos.FileOptions value)optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileDescriptorProto.BuildersetOptions(DescriptorProtos.FileOptions.Builder builderForValue)optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileDescriptorProto.BuildersetPackage(java.lang.String value)optional string package = 2;DescriptorProtos.FileDescriptorProto.BuildersetPackageBytes(ByteString value)optional string package = 2;DescriptorProtos.FileDescriptorProto.BuildersetPublicDependency(int index, int value)repeated int32 public_dependency = 10;DescriptorProtos.FileDescriptorProto.BuildersetService(int index, DescriptorProtos.ServiceDescriptorProto value)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuildersetService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.FileDescriptorProto.BuildersetSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.FileDescriptorProto.BuildersetSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)optional .google.protobuf.SourceCodeInfo source_code_info = 9;DescriptorProtos.FileDescriptorProto.BuildersetWeakDependency(int index, int value)repeated int32 weak_dependency = 11;-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessage.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
clear
public DescriptorProtos.FileDescriptorProto.Builder clear()
Description copied from class:GeneratedMessage.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
clone
public DescriptorProtos.FileDescriptorProto.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>- See Also:
Object.clone()
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
getDefaultInstanceForType
public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public DescriptorProtos.FileDescriptorProto build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public DescriptorProtos.FileDescriptorProto buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()). Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message. This is equivalent to theMessage::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(DescriptorProtos.FileDescriptorProto other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>- Throws:
java.io.IOException
-
hasName
public boolean hasName()
optional string name = 1;file name, relative to root of source tree
- Specified by:
hasNamein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getName
public java.lang.String getName()
optional string name = 1;file name, relative to root of source tree
- Specified by:
getNamein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1;file name, relative to root of source tree
- Specified by:
getNameBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setName
public DescriptorProtos.FileDescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;file name, relative to root of source tree
-
clearName
public DescriptorProtos.FileDescriptorProto.Builder clearName()
optional string name = 1;file name, relative to root of source tree
-
setNameBytes
public DescriptorProtos.FileDescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1;file name, relative to root of source tree
-
hasPackage
public boolean hasPackage()
optional string package = 2;e.g. "foo", "foo.bar", etc.
- Specified by:
hasPackagein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackage
public java.lang.String getPackage()
optional string package = 2;e.g. "foo", "foo.bar", etc.
- Specified by:
getPackagein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackageBytes
public ByteString getPackageBytes()
optional string package = 2;e.g. "foo", "foo.bar", etc.
- Specified by:
getPackageBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setPackage
public DescriptorProtos.FileDescriptorProto.Builder setPackage(java.lang.String value)
optional string package = 2;e.g. "foo", "foo.bar", etc.
-
clearPackage
public DescriptorProtos.FileDescriptorProto.Builder clearPackage()
optional string package = 2;e.g. "foo", "foo.bar", etc.
-
setPackageBytes
public DescriptorProtos.FileDescriptorProto.Builder setPackageBytes(ByteString value)
optional string package = 2;e.g. "foo", "foo.bar", etc.
-
getDependencyList
public ProtocolStringList getDependencyList()
repeated string dependency = 3;Names of files imported by this file.
- Specified by:
getDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyCount
public int getDependencyCount()
repeated string dependency = 3;Names of files imported by this file.
- Specified by:
getDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependency
public java.lang.String getDependency(int index)
repeated string dependency = 3;Names of files imported by this file.
- Specified by:
getDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyBytes
public ByteString getDependencyBytes(int index)
repeated string dependency = 3;Names of files imported by this file.
- Specified by:
getDependencyBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setDependency
public DescriptorProtos.FileDescriptorProto.Builder setDependency(int index, java.lang.String value)
repeated string dependency = 3;Names of files imported by this file.
-
addDependency
public DescriptorProtos.FileDescriptorProto.Builder addDependency(java.lang.String value)
repeated string dependency = 3;Names of files imported by this file.
-
addAllDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllDependency(java.lang.Iterable<java.lang.String> values)
repeated string dependency = 3;Names of files imported by this file.
-
clearDependency
public DescriptorProtos.FileDescriptorProto.Builder clearDependency()
repeated string dependency = 3;Names of files imported by this file.
-
addDependencyBytes
public DescriptorProtos.FileDescriptorProto.Builder addDependencyBytes(ByteString value)
repeated string dependency = 3;Names of files imported by this file.
-
getPublicDependencyList
public java.util.List<java.lang.Integer> getPublicDependencyList()
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependencyCount
public int getPublicDependencyCount()
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependency
public int getPublicDependency(int index)
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder setPublicDependency(int index, int value)
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
-
addPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder addPublicDependency(int value)
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
-
addAllPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
-
clearPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder clearPublicDependency()
repeated int32 public_dependency = 10;Indexes of the public imported files in the dependency list above.
-
getWeakDependencyList
public java.util.List<java.lang.Integer> getWeakDependencyList()
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependencyCount
public int getWeakDependencyCount()
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependency
public int getWeakDependency(int index)
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder setWeakDependency(int index, int value)
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
addWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder addWeakDependency(int value)
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
addAllWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
clearWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder clearWeakDependency()
repeated int32 weak_dependency = 11;Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
getMessageTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
- Specified by:
getMessageTypeListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeCount
public int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
- Specified by:
getMessageTypeCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageType
public DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
- Specified by:
getMessageTypein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setMessageType
public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
setMessageType
public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addAllMessageType
public DescriptorProtos.FileDescriptorProto.Builder addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
clearMessageType
public DescriptorProtos.FileDescriptorProto.Builder clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
removeMessageType
public DescriptorProtos.FileDescriptorProto.Builder removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
getMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
getMessageTypeOrBuilder
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
- Specified by:
getMessageTypeOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
- Specified by:
getMessageTypeOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
addMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
getMessageTypeBuilderList
public java.util.List<DescriptorProtos.DescriptorProto.Builder> getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;All top-level definitions in this file.
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setEnumType
public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
setEnumType
public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addAllEnumType
public DescriptorProtos.FileDescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
clearEnumType
public DescriptorProtos.FileDescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
removeEnumType
public DescriptorProtos.FileDescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeOrBuilder
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeBuilderList
public java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getServiceList
public java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceCount
public int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getService
public DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServicein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setService
public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
setService
public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addAllService
public DescriptorProtos.FileDescriptorProto.Builder addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
clearService
public DescriptorProtos.FileDescriptorProto.Builder clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
removeService
public DescriptorProtos.FileDescriptorProto.Builder removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceOrBuilder
public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilderList
public java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceBuilderList
public java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setExtension
public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
setExtension
public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addAllExtension
public DescriptorProtos.FileDescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
clearExtension
public DescriptorProtos.FileDescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
removeExtension
public DescriptorProtos.FileDescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilderList
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionBuilderList
public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;- Specified by:
hasOptionsin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getOptions
public DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;- Specified by:
getOptionsin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setOptions
public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
-
setOptions
public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8;
-
mergeOptions
public DescriptorProtos.FileDescriptorProto.Builder mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
-
clearOptions
public DescriptorProtos.FileDescriptorProto.Builder clearOptions()
optional .google.protobuf.FileOptions options = 8;
-
getOptionsBuilder
public DescriptorProtos.FileOptions.Builder getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;
-
getOptionsOrBuilder
public DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;- Specified by:
getOptionsOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasSourceCodeInfo
public boolean hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
hasSourceCodeInfoin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSourceCodeInfo
public DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
getSourceCodeInfoin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
setSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
mergeSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
clearSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
getSourceCodeInfoBuilder
public DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
getSourceCodeInfoOrBuilder
public DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
getSourceCodeInfoOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
-