public static final class DescriptorProtos.FileDescriptorProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
Describes a complete .proto file.Protobuf type
google.protobuf.FileDescriptorProto| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.FileDescriptorProto.Builder |
addAllDependency(java.lang.Iterable<java.lang.String> values)
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
Indexes of the weak imported files in the dependency list.
|
DescriptorProtos.FileDescriptorProto.Builder |
addDependency(java.lang.String value)
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addDependencyBytes(ByteString value)
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(int index,
DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
|
DescriptorProtos.DescriptorProto.Builder |
addMessageTypeBuilder()
All top-level definitions in this file.
|
DescriptorProtos.DescriptorProto.Builder |
addMessageTypeBuilder(int index)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addPublicDependency(int value)
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.FileDescriptorProto.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value)
Like
setRepeatedField, but appends the value as a new element. |
DescriptorProtos.FileDescriptorProto.Builder |
addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(int index,
DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(int index,
DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addWeakDependency(int value)
Indexes of the weak imported files in the dependency list.
|
DescriptorProtos.FileDescriptorProto |
build()
Constructs the message based on the state of the Builder.
|
DescriptorProtos.FileDescriptorProto |
buildPartial()
Like
MessageLite.Builder.build(), but does not throw an exception if the message is missing required
fields. |
DescriptorProtos.FileDescriptorProto.Builder |
clear()
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.Builder |
clearDependency()
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
clearField(Descriptors.FieldDescriptor field)
Clears the field.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearMessageType()
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearName()
file name, relative to root of source tree
|
DescriptorProtos.FileDescriptorProto.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
|
DescriptorProtos.FileDescriptorProto.Builder |
clearOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
clearPackage()
e.g.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearPublicDependency()
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
clearSourceCodeInfo()
This field contains optional information about the original source code.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearSyntax()
The syntax of the proto file.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearWeakDependency()
Indexes of the weak imported files in the dependency list.
|
DescriptorProtos.FileDescriptorProto.Builder |
clone()
Clones the Builder.
|
DescriptorProtos.FileDescriptorProto |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
java.lang.String |
getDependency(int index)
Names of files imported by this file.
|
ByteString |
getDependencyBytes(int index)
Names of files imported by this file.
|
int |
getDependencyCount()
Names of files imported by this file.
|
ProtocolStringList |
getDependencyList()
Names of files imported by this file.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType()
Get the message's type's descriptor.
|
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> |
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> |
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FieldDescriptorProto |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> |
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.DescriptorProto |
getMessageType(int index)
All top-level definitions in this file.
|
DescriptorProtos.DescriptorProto.Builder |
getMessageTypeBuilder(int index)
All top-level definitions in this file.
|
java.util.List<DescriptorProtos.DescriptorProto.Builder> |
getMessageTypeBuilderList()
All top-level definitions in this file.
|
int |
getMessageTypeCount()
All top-level definitions in this file.
|
java.util.List<DescriptorProtos.DescriptorProto> |
getMessageTypeList()
All top-level definitions in this file.
|
DescriptorProtos.DescriptorProtoOrBuilder |
getMessageTypeOrBuilder(int index)
All top-level definitions in this file.
|
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getMessageTypeOrBuilderList()
All top-level definitions in this file.
|
java.lang.String |
getName()
file name, relative to root of source tree
|
ByteString |
getNameBytes()
file name, relative to root of source tree
|
DescriptorProtos.FileOptions |
getOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptions.Builder |
getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8; |
java.lang.String |
getPackage()
e.g.
|
ByteString |
getPackageBytes()
e.g.
|
int |
getPublicDependency(int index)
Indexes of the public imported files in the dependency list above.
|
int |
getPublicDependencyCount()
Indexes of the public imported files in the dependency list above.
|
java.util.List<java.lang.Integer> |
getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.ServiceDescriptorProto |
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> |
getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
int |
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<DescriptorProtos.ServiceDescriptorProto> |
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProtoOrBuilder |
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> |
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.SourceCodeInfo |
getSourceCodeInfo()
This field contains optional information about the original source code.
|
DescriptorProtos.SourceCodeInfo.Builder |
getSourceCodeInfoBuilder()
This field contains optional information about the original source code.
|
DescriptorProtos.SourceCodeInfoOrBuilder |
getSourceCodeInfoOrBuilder()
This field contains optional information about the original source code.
|
java.lang.String |
getSyntax()
The syntax of the proto file.
|
ByteString |
getSyntaxBytes()
The syntax of the proto file.
|
int |
getWeakDependency(int index)
Indexes of the weak imported files in the dependency list.
|
int |
getWeakDependencyCount()
Indexes of the weak imported files in the dependency list.
|
java.util.List<java.lang.Integer> |
getWeakDependencyList()
Indexes of the weak imported files in the dependency list.
|
boolean |
hasName()
file name, relative to root of source tree
|
boolean |
hasOptions()
optional .google.protobuf.FileOptions options = 8; |
boolean |
hasPackage()
e.g.
|
boolean |
hasSourceCodeInfo()
This field contains optional information about the original source code.
|
boolean |
hasSyntax()
The syntax of the proto file.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
otherwise.
|
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
Like
MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. |
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(DescriptorProtos.FileDescriptorProto other) |
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(Message other)
Merge
other into the message being built. |
DescriptorProtos.FileDescriptorProto.Builder |
mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
This field contains optional information about the original source code.
|
DescriptorProtos.FileDescriptorProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Merge some unknown fields into the
UnknownFieldSet for this message. |
DescriptorProtos.FileDescriptorProto.Builder |
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
removeMessageType(int index)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setDependency(int index,
java.lang.String value)
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value)
Sets a field to the given value.
|
DescriptorProtos.FileDescriptorProto.Builder |
setMessageType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setMessageType(int index,
DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setName(java.lang.String value)
file name, relative to root of source tree
|
DescriptorProtos.FileDescriptorProto.Builder |
setNameBytes(ByteString value)
file name, relative to root of source tree
|
DescriptorProtos.FileDescriptorProto.Builder |
setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
setPackage(java.lang.String value)
e.g.
|
DescriptorProtos.FileDescriptorProto.Builder |
setPackageBytes(ByteString value)
e.g.
|
DescriptorProtos.FileDescriptorProto.Builder |
setPublicDependency(int index,
int value)
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.FileDescriptorProto.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value)
Sets an element of a repeated field to the given value.
|
DescriptorProtos.FileDescriptorProto.Builder |
setService(int index,
DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setService(int index,
DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
This field contains optional information about the original source code.
|
DescriptorProtos.FileDescriptorProto.Builder |
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
This field contains optional information about the original source code.
|
DescriptorProtos.FileDescriptorProto.Builder |
setSyntax(java.lang.String value)
The syntax of the proto file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setSyntaxBytes(ByteString value)
The syntax of the proto file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Set the
UnknownFieldSet for this message. |
DescriptorProtos.FileDescriptorProto.Builder |
setWeakDependency(int index,
int value)
Indexes of the weak imported files in the dependency list.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeFromequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
public DescriptorProtos.FileDescriptorProto.Builder clear()
com.google.protobuf.GeneratedMessageV3.Builderclear in interface Message.Builderclear in interface MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public Descriptors.Descriptor getDescriptorForType()
Message.BuilderMessageOrBuilder.getDescriptorForType().getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated
message classes in that this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific class. They return the
same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DescriptorProtos.FileDescriptorProto build()
MessageLite.Builderbuild in interface Message.Builderbuild in interface MessageLite.Builderpublic DescriptorProtos.FileDescriptorProto buildPartial()
MessageLite.BuilderMessageLite.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.buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DescriptorProtos.FileDescriptorProto.Builder clone()
MessageLite.Builderclone in interface Message.Builderclone in interface MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>Object.clone()public DescriptorProtos.FileDescriptorProto.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Message.BuilderMessageOrBuilder.getField(Descriptors.FieldDescriptor) would return.setField in interface Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder clearField(Descriptors.FieldDescriptor field)
Message.BuilderclearField in interface Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder clearOneof(Descriptors.OneofDescriptor oneof)
AbstractMessage.BuilderclearOneof in interface Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Message.BuilderMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int) would return.setRepeatedField in interface Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Message.BuildersetRepeatedField, but appends the value as a new element.addRepeatedField in interface Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(Message other)
Message.Builderother into the message being built. other must have the exact same type
as this (i.e. getDescriptorForType() == other.getDescriptorForType()).
Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set in other, then other's
value overwrites the value in this message.
* For singular message fields, if the field is set in other, it is merged into the
corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements in other are concatenated with the elements in
this message.
* For oneof groups, if the other message has one of the fields set, the group of this message
is cleared and replaced by the field of the other message, so that the oneof constraint is
preserved.
This is equivalent to the Message::MergeFrom method in C++.
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(DescriptorProtos.FileDescriptorProto other)
public final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
MessageLite.BuilderMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions
that you want to be able to parse must be registered in extensionRegistry. Extensions
not in the registry will be treated as unknown fields.mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>java.io.IOExceptionpublic boolean hasName()
file name, relative to root of source tree
optional string name = 1;hasName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getName()
file name, relative to root of source tree
optional string name = 1;getName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getNameBytes()
file name, relative to root of source tree
optional string name = 1;getNameBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setName(java.lang.String value)
file name, relative to root of source tree
optional string name = 1;value - The name to set.public DescriptorProtos.FileDescriptorProto.Builder clearName()
file name, relative to root of source tree
optional string name = 1;public DescriptorProtos.FileDescriptorProto.Builder setNameBytes(ByteString value)
file name, relative to root of source tree
optional string name = 1;value - The bytes for name to set.public boolean hasPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;hasPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;getPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getPackageBytes()
e.g. "foo", "foo.bar", etc.
optional string package = 2;getPackageBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setPackage(java.lang.String value)
e.g. "foo", "foo.bar", etc.
optional string package = 2;value - The package to set.public DescriptorProtos.FileDescriptorProto.Builder clearPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;public DescriptorProtos.FileDescriptorProto.Builder setPackageBytes(ByteString value)
e.g. "foo", "foo.bar", etc.
optional string package = 2;value - The bytes for package to set.public ProtocolStringList getDependencyList()
Names of files imported by this file.
repeated string dependency = 3;getDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getDependencyCount()
Names of files imported by this file.
repeated string dependency = 3;getDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getDependency(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public ByteString getDependencyBytes(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependencyBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the value to return.public DescriptorProtos.FileDescriptorProto.Builder setDependency(int index, java.lang.String value)
Names of files imported by this file.
repeated string dependency = 3;index - The index to set the value at.value - The dependency to set.public DescriptorProtos.FileDescriptorProto.Builder addDependency(java.lang.String value)
Names of files imported by this file.
repeated string dependency = 3;value - The dependency to add.public DescriptorProtos.FileDescriptorProto.Builder addAllDependency(java.lang.Iterable<java.lang.String> values)
Names of files imported by this file.
repeated string dependency = 3;values - The dependency to add.public DescriptorProtos.FileDescriptorProto.Builder clearDependency()
Names of files imported by this file.
repeated string dependency = 3;public DescriptorProtos.FileDescriptorProto.Builder addDependencyBytes(ByteString value)
Names of files imported by this file.
repeated string dependency = 3;value - The bytes of the dependency to add.public java.util.List<java.lang.Integer> getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependencyCount()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependency(int index)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public DescriptorProtos.FileDescriptorProto.Builder setPublicDependency(int index, int value)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;index - The index to set the value at.value - The publicDependency to set.public DescriptorProtos.FileDescriptorProto.Builder addPublicDependency(int value)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;value - The publicDependency to add.public DescriptorProtos.FileDescriptorProto.Builder addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;values - The publicDependency to add.public DescriptorProtos.FileDescriptorProto.Builder clearPublicDependency()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;public java.util.List<java.lang.Integer> getWeakDependencyList()
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;getWeakDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getWeakDependencyCount()
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;getWeakDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getWeakDependency(int index)
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;getWeakDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public DescriptorProtos.FileDescriptorProto.Builder setWeakDependency(int index, int value)
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;index - The index to set the value at.value - The weakDependency to set.public DescriptorProtos.FileDescriptorProto.Builder addWeakDependency(int value)
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;value - The weakDependency to add.public DescriptorProtos.FileDescriptorProto.Builder addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;values - The weakDependency to add.public DescriptorProtos.FileDescriptorProto.Builder clearWeakDependency()
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getMessageTypeCount()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProto getMessageType(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageType in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto value)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder clearMessageType()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.FileDescriptorProto.Builder removeMessageType(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public java.util.List<DescriptorProtos.DescriptorProto.Builder> getMessageTypeBuilderList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumType in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;getService in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtension in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;hasOptions in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;getOptions in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder clearOptions()
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileOptions.Builder getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;getOptionsOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic boolean hasSourceCodeInfo()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;hasSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;getSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;public DescriptorProtos.FileDescriptorProto.Builder mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;public DescriptorProtos.FileDescriptorProto.Builder clearSourceCodeInfo()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;public DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;public DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;getSourceCodeInfoOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic boolean hasSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;hasSyntax in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;getSyntax in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getSyntaxBytes()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;getSyntaxBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setSyntax(java.lang.String value)
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;value - The syntax to set.public DescriptorProtos.FileDescriptorProto.Builder clearSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;public DescriptorProtos.FileDescriptorProto.Builder setSyntaxBytes(ByteString value)
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;value - The bytes for syntax to set.public final DescriptorProtos.FileDescriptorProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.setUnknownFields in interface Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>public final DescriptorProtos.FileDescriptorProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.mergeUnknownFields in interface Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileDescriptorProto.Builder>