public static final class DescriptorProtos.FileDescriptorProto.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.FileDescriptorProto,DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
Describes a complete .proto file.Protobuf type
google.protobuf.FileDescriptorProtoinstance, isBuilt| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.FileDescriptorProto.Builder |
addAllDependency(Iterable<String> values)
Names of files imported by this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllEnumType(Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllExtension(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllMessageType(Iterable<? extends DescriptorProtos.DescriptorProto> values)
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllPublicDependency(Iterable<? extends Integer> values)
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.FileDescriptorProto.Builder |
addAllService(Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllWeakDependency(Iterable<? extends Integer> values)
Indexes of the weak imported files in the dependency list.
|
DescriptorProtos.FileDescriptorProto.Builder |
addDependency(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.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.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.FileDescriptorProto.Builder |
addPublicDependency(int value)
Indexes of the public imported files in the dependency list above.
|
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.FileDescriptorProto.Builder |
addWeakDependency(int value)
Indexes of the weak imported files in the dependency list.
|
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 |
clearMessageType()
All top-level definitions in this file.
|
DescriptorProtos.FileDescriptorProto.Builder |
clearName()
file name, relative to root of source tree
|
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.
|
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.
|
List<String> |
getDependencyList()
Names of files imported by this file.
|
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FieldDescriptorProto |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.DescriptorProto |
getMessageType(int index)
All top-level definitions in this file.
|
int |
getMessageTypeCount()
All top-level definitions in this file.
|
List<DescriptorProtos.DescriptorProto> |
getMessageTypeList()
All top-level definitions in this file.
|
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; |
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.
|
List<Integer> |
getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
|
DescriptorProtos.ServiceDescriptorProto |
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
int |
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
List<DescriptorProtos.ServiceDescriptorProto> |
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.SourceCodeInfo |
getSourceCodeInfo()
This field contains optional information about the original source code.
|
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.
|
List<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.
|
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 |
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,
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 |
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(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(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 |
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(String value)
The syntax of the proto file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setSyntaxBytes(ByteString value)
The syntax of the proto file.
|
DescriptorProtos.FileDescriptorProto.Builder |
setWeakDependency(int index,
int value)
Indexes of the weak imported files in the dependency list.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultInstanceForType, isInitializedpublic boolean hasName()
file name, relative to root of source tree
optional string name = 1;hasName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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(String value)
file name, relative to root of source tree
optional string name = 1;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;public boolean hasPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;hasPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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(String value)
e.g. "foo", "foo.bar", etc.
optional string package = 2;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;public List<String> 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 String getDependency(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getDependencyBytes(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependencyBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setDependency(int index, String value)
Names of files imported by this file.
repeated string dependency = 3;public DescriptorProtos.FileDescriptorProto.Builder addDependency(String value)
Names of files imported by this file.
repeated string dependency = 3;public DescriptorProtos.FileDescriptorProto.Builder addAllDependency(Iterable<String> values)
Names of files imported by this file.
repeated string dependency = 3;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;public List<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.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setPublicDependency(int index, int value)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;public DescriptorProtos.FileDescriptorProto.Builder addPublicDependency(int value)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;public DescriptorProtos.FileDescriptorProto.Builder addAllPublicDependency(Iterable<? extends Integer> values)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;public DescriptorProtos.FileDescriptorProto.Builder clearPublicDependency()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;public List<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.FileDescriptorProtoOrBuilderpublic 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;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;public DescriptorProtos.FileDescriptorProto.Builder addAllWeakDependency(Iterable<? extends 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;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 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(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 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(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 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(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 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(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 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 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 boolean hasSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;hasSyntax in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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(String value)
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;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;Copyright © 2008–2016 Google. All rights reserved.