Package com.google.protobuf
Interface DescriptorProtos.FileDescriptorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.FileDescriptorProto
,DescriptorProtos.FileDescriptorProto.Builder
- Enclosing class:
- DescriptorProtos
-
Method Summary
Modifier and TypeMethodDescriptiongetDependency
(int index) repeated string dependency = 3;
getDependencyBytes
(int index) repeated string dependency = 3;
int
repeated string dependency = 3;
repeated string dependency = 3;
getEnumType
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
int
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
getEnumTypeOrBuilder
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
getExtension
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
int
repeated .google.protobuf.FieldDescriptorProto extension = 7;
repeated .google.protobuf.FieldDescriptorProto extension = 7;
getExtensionOrBuilder
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
repeated .google.protobuf.FieldDescriptorProto extension = 7;
getMessageType
(int index) repeated .google.protobuf.DescriptorProto message_type = 4;
int
repeated .google.protobuf.DescriptorProto message_type = 4;
repeated .google.protobuf.DescriptorProto message_type = 4;
getMessageTypeOrBuilder
(int index) repeated .google.protobuf.DescriptorProto message_type = 4;
List<? extends DescriptorProtos.DescriptorProtoOrBuilder>
repeated .google.protobuf.DescriptorProto message_type = 4;
getName()
optional string name = 1;
optional string name = 1;
optional .google.protobuf.FileOptions options = 8;
optional .google.protobuf.FileOptions options = 8;
optional string package = 2;
optional string package = 2;
int
getPublicDependency
(int index) repeated int32 public_dependency = 10;
int
repeated int32 public_dependency = 10;
repeated int32 public_dependency = 10;
getService
(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
int
repeated .google.protobuf.ServiceDescriptorProto service = 6;
repeated .google.protobuf.ServiceDescriptorProto service = 6;
getServiceOrBuilder
(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
repeated .google.protobuf.ServiceDescriptorProto service = 6;
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
int
getWeakDependency
(int index) repeated int32 weak_dependency = 11;
int
repeated int32 weak_dependency = 11;
repeated int32 weak_dependency = 11;
boolean
hasName()
optional string name = 1;
boolean
optional .google.protobuf.FileOptions options = 8;
boolean
optional string package = 2;
boolean
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()optional string name = 1;
file name, relative to root of source tree
-
getName
String getName()optional string name = 1;
file name, relative to root of source tree
-
getNameBytes
ByteString getNameBytes()optional string name = 1;
file name, relative to root of source tree
-
hasPackage
boolean hasPackage()optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
getPackage
String getPackage()optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
getPackageBytes
ByteString getPackageBytes()optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
getDependencyList
ProtocolStringList getDependencyList()repeated string dependency = 3;
Names of files imported by this file.
-
getDependencyCount
int getDependencyCount()repeated string dependency = 3;
Names of files imported by this file.
-
getDependency
repeated string dependency = 3;
Names of files imported by this file.
-
getDependencyBytes
repeated string dependency = 3;
Names of files imported by this file.
-
getPublicDependencyList
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
getPublicDependencyCount
int getPublicDependencyCount()repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
getPublicDependency
int getPublicDependency(int index) repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
getWeakDependencyList
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
getWeakDependencyCount
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.
-
getWeakDependency
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.
-
getMessageTypeList
List<DescriptorProtos.DescriptorProto> getMessageTypeList()repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageType
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeCount
int getMessageTypeCount()repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeOrBuilderList
List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeOrBuilder
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getEnumTypeList
List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeCount
int getEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeOrBuilderList
List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeOrBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getServiceList
List<DescriptorProtos.ServiceDescriptorProto> getServiceList()repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceCount
int getServiceCount()repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceOrBuilderList
List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceOrBuilder
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getExtensionList
List<DescriptorProtos.FieldDescriptorProto> getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionCount
int getExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionOrBuilderList
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionOrBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
hasOptions
boolean hasOptions()optional .google.protobuf.FileOptions options = 8;
-
getOptions
DescriptorProtos.FileOptions getOptions()optional .google.protobuf.FileOptions options = 8;
-
getOptionsOrBuilder
DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()optional .google.protobuf.FileOptions options = 8;
-
hasSourceCodeInfo
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.
-
getSourceCodeInfo
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.
-
getSourceCodeInfoOrBuilder
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.
-