public static final class DescriptorProtos.FileDescriptorProto.Builder extends GeneratedMessage.Builder <DescriptorProtos .FileDescriptorProto .Builder > implements DescriptorProtos .FileDescriptorProtoOrBuilder
google.protobuf.FileDescriptorProto
Describes a complete .proto file.
| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos |
addAllDependency(Iterable
repeated string dependency = 3;
|
DescriptorProtos |
addAllEnumType(Iterable
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addAllExtension(Iterable
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addAllMessageType(Iterable
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addAllPublicDependency(Iterable
repeated int32 public_dependency = 10;
|
DescriptorProtos |
addAllService(Iterable
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addAllWeakDependency(Iterable
repeated int32 weak_dependency = 11;
|
DescriptorProtos |
addDependency(String
repeated string dependency = 3;
|
DescriptorProtos |
addDependencyBytes(ByteString
repeated string dependency = 3;
|
DescriptorProtos |
addEnumType(DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addEnumType(DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addEnumType(int index, DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addEnumType(int index, DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
addExtension(DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addExtension(DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addExtension(int index, DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addExtension(int index, DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
addMessageType(DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addMessageType(DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addMessageType(int index, DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addMessageType(int index, DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
addPublicDependency(int value)
repeated int32 public_dependency = 10;
|
DescriptorProtos |
addService(DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addService(DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addService(int index, DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addService(int index, DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
addWeakDependency(int value)
repeated int32 weak_dependency = 11;
|
DescriptorProtos |
build()
Constructs the message based on the state of the Builder.
|
DescriptorProtos |
buildPartial()
Like
MessageLite, but does not throw an exception if the message is missing required fields.
|
DescriptorProtos |
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 |
clearDependency()
repeated string dependency = 3;
|
DescriptorProtos |
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
clearName()
optional string name = 1;
|
DescriptorProtos |
clearOptions()
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
clearPackage()
optional string package = 2;
|
DescriptorProtos |
clearPublicDependency()
repeated int32 public_dependency = 10;
|
DescriptorProtos |
clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
clearWeakDependency()
repeated int32 weak_dependency = 11;
|
DescriptorProtos |
clone()
Clones the Builder.
|
DescriptorProtos |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
String |
getDependency(int index)
repeated string dependency = 3;
|
ByteString |
getDependencyBytes(int index)
repeated string dependency = 3;
|
int |
getDependencyCount()
repeated string dependency = 3;
|
ProtocolStringList |
getDependencyList()
repeated string dependency = 3;
|
static Descriptors |
getDescriptor()
|
Descriptors |
getDescriptorForType()
Get the message's type's descriptor.
|
DescriptorProtos |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
List |
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
List |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
List |
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
List |
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
List |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
List |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
|
List |
getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
int |
getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
List |
getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
|
List |
getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
|
String |
getName()
optional string name = 1;
|
ByteString |
getNameBytes()
optional string name = 1;
|
DescriptorProtos |
getOptions()
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;
|
String |
getPackage()
optional string package = 2;
|
ByteString |
getPackageBytes()
optional string package = 2;
|
int |
getPublicDependency(int index)
repeated int32 public_dependency = 10;
|
int |
getPublicDependencyCount()
repeated int32 public_dependency = 10;
|
List |
getPublicDependencyList()
repeated int32 public_dependency = 10;
|
DescriptorProtos |
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
List |
getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
int |
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
List |
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
List |
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
int |
getWeakDependency(int index)
repeated int32 weak_dependency = 11;
|
int |
getWeakDependencyCount()
repeated int32 weak_dependency = 11;
|
List |
getWeakDependencyList()
repeated int32 weak_dependency = 11;
|
boolean |
hasName()
optional string name = 1;
|
boolean |
hasOptions()
optional .google.protobuf.FileOptions options = 8;
|
boolean |
hasPackage()
optional string package = 2;
|
boolean |
hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
protected GeneratedMessage |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
|
DescriptorProtos |
mergeFrom(CodedInputStream
Like
MessageLite, but also parses extensions.
|
DescriptorProtos |
mergeFrom(DescriptorProtos
|
DescriptorProtos |
mergeFrom(Message
Merge
other into the message being built.
|
DescriptorProtos |
mergeOptions(DescriptorProtos
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
mergeSourceCodeInfo(DescriptorProtos
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
setDependency(int index, String
repeated string dependency = 3;
|
DescriptorProtos |
setEnumType(int index, DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
setEnumType(int index, DescriptorProtos
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
DescriptorProtos |
setExtension(int index, DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
setExtension(int index, DescriptorProtos
repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
DescriptorProtos |
setMessageType(int index, DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
setMessageType(int index, DescriptorProtos
repeated .google.protobuf.DescriptorProto message_type = 4;
|
DescriptorProtos |
setName(String
optional string name = 1;
|
DescriptorProtos |
setNameBytes(ByteString
optional string name = 1;
|
DescriptorProtos |
setOptions(DescriptorProtos
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
setOptions(DescriptorProtos
optional .google.protobuf.FileOptions options = 8;
|
DescriptorProtos |
setPackage(String
optional string package = 2;
|
DescriptorProtos |
setPackageBytes(ByteString
optional string package = 2;
|
DescriptorProtos |
setPublicDependency(int index, int value)
repeated int32 public_dependency = 10;
|
DescriptorProtos |
setService(int index, DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
setService(int index, DescriptorProtos
repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
DescriptorProtos |
setSourceCodeInfo(DescriptorProtos
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
setSourceCodeInfo(DescriptorProtos
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
DescriptorProtos |
setWeakDependency(int index, int value)
repeated int32 weak_dependency = 11;
|
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage.Builder
public DescriptorProtos.FileDescriptorProto .Builder clear()
GeneratedMessage.Builder
public DescriptorProtos.FileDescriptorProto .Builder clone()
MessageLite.Builder
clone in interface
Message.Builder
clone in interface
MessageLite.Builder
clone in class
GeneratedMessage.Builder <DescriptorProtos.FileDescriptorProto.Builder >
Object.clone()
public Descriptors.Descriptor getDescriptorForType()
Message.Builder
MessageOrBuilder.getDescriptorForType() .
public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance() 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.
public DescriptorProtos.FileDescriptorProto build()
MessageLite.Builder
public DescriptorProtos.FileDescriptorProto buildPartial()
MessageLite.Builder
MessageLite.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.
public DescriptorProtos.FileDescriptorProto .Builder mergeFrom(Message other)
Message.Builder
other 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:
other, then
other's value overwrites the value in this message.
other, it is merged into the corresponding sub-message of this message using the same merging rules.
other are concatenated with the elements in this message. This is equivalent to the
Message::MergeFrom method in C++.
public DescriptorProtos.FileDescriptorProto .Builder mergeFrom(DescriptorProtos .FileDescriptorProto other)
public final boolean isInitialized()
MessageLiteOrBuilder
public DescriptorProtos.FileDescriptorProto .Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
MessageLite.Builder
MessageLite.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.Builder
mergeFrom in interface
MessageLite.Builder
mergeFrom in class
AbstractMessage.Builder <DescriptorProtos.FileDescriptorProto.Builder >
IOException
public boolean hasName()
optional string name = 1;
file name, relative to root of source tree
public StringgetName()
optional string name = 1;
file name, relative to root of source tree
public ByteStringgetNameBytes()
optional string name = 1;
file name, relative to root of source tree
public DescriptorProtos.FileDescriptorProto .Builder setName(String value)
optional string name = 1;
file name, relative to root of source tree
public DescriptorProtos.FileDescriptorProto .Builder clearName()
optional string name = 1;
file name, relative to root of source tree
public DescriptorProtos.FileDescriptorProto .Builder setNameBytes(ByteString value)
optional string name = 1;
file name, relative to root of source tree
public boolean hasPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public StringgetPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public ByteStringgetPackageBytes()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public DescriptorProtos.FileDescriptorProto .Builder setPackage(String value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public DescriptorProtos.FileDescriptorProto .Builder clearPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public DescriptorProtos.FileDescriptorProto .Builder setPackageBytes(ByteString value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public ProtocolStringListgetDependencyList()
repeated string dependency = 3;
Names of files imported by this file.
public int getDependencyCount()
repeated string dependency = 3;
Names of files imported by this file.
public StringgetDependency(int index)
repeated string dependency = 3;
Names of files imported by this file.
public ByteStringgetDependencyBytes(int index)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto .Builder setDependency(int index, String value)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto .Builder addDependency(String value)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto .Builder addAllDependency(Iterable <String > values)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto .Builder clearDependency()
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto .Builder addDependencyBytes(ByteString value)
repeated string dependency = 3;
Names of files imported by this file.
public List<Integer > getPublicDependencyList()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public int getPublicDependencyCount()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public int getPublicDependency(int index)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
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.
public DescriptorProtos.FileDescriptorProto .Builder addPublicDependency(int value)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public DescriptorProtos.FileDescriptorProto .Builder addAllPublicDependency(Iterable <? extends Integer > values)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public DescriptorProtos.FileDescriptorProto .Builder clearPublicDependency()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public List<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.
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.
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.
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.
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.
public DescriptorProtos.FileDescriptorProto .Builder addAllWeakDependency(Iterable <? extends 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.
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.
public List<DescriptorProtos .DescriptorProto > getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto .Builder setMessageType(int index, DescriptorProtos .DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
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.
public DescriptorProtos.FileDescriptorProto .Builder addMessageType(DescriptorProtos .DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto .Builder addMessageType(int index, DescriptorProtos .DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto .Builder addMessageType(DescriptorProtos .DescriptorProto .Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
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.
public DescriptorProtos.FileDescriptorProto .Builder addAllMessageType(Iterable <? extends DescriptorProtos .DescriptorProto > values)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto .Builder clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto .Builder removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto .Builder getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public List<? extends DescriptorProtos .DescriptorProtoOrBuilder > getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto .Builder addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto .Builder addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public List<DescriptorProtos .DescriptorProto .Builder > getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public List<DescriptorProtos .EnumDescriptorProto > getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
public 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(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;
public List<? extends DescriptorProtos .EnumDescriptorProtoOrBuilder > getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
public 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 List<DescriptorProtos .EnumDescriptorProto .Builder > getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
public List<DescriptorProtos .ServiceDescriptorProto > getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public 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(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;
public List<? extends DescriptorProtos .ServiceDescriptorProtoOrBuilder > getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public DescriptorProtos.ServiceDescriptorProto .Builder addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public DescriptorProtos.ServiceDescriptorProto .Builder addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public List<DescriptorProtos .ServiceDescriptorProto .Builder > getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
public List<DescriptorProtos .FieldDescriptorProto > getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public 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(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;
public List<? extends DescriptorProtos .FieldDescriptorProtoOrBuilder > getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public DescriptorProtos.FieldDescriptorProto .Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public DescriptorProtos.FieldDescriptorProto .Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public List<DescriptorProtos .FieldDescriptorProto .Builder > getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;
public DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;
public 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;
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.
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.
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.
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.
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.
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.
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.
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.