public static interface DescriptorProtos.FileDescriptorProtoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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; |
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.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> |
getEnumTypeOrBuilderList()
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.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.DescriptorProto |
getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
int |
getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4; |
List<DescriptorProtos.DescriptorProto> |
getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.DescriptorProtoOrBuilder |
getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4; |
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
DescriptorProtos.FileOptions |
getOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptionsOrBuilder |
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<Integer> |
getPublicDependencyList()
repeated int32 public_dependency = 10; |
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.ServiceDescriptorProtoOrBuilder |
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> |
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.SourceCodeInfo |
getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.SourceCodeInfoOrBuilder |
getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
String |
getSyntax()
optional string syntax = 12; |
ByteString |
getSyntaxBytes()
optional string syntax = 12; |
int |
getWeakDependency(int index)
repeated int32 weak_dependency = 11; |
int |
getWeakDependencyCount()
repeated int32 weak_dependency = 11; |
List<Integer> |
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; |
boolean |
hasSyntax()
optional string syntax = 12; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasName()
optional string name = 1;
file name, relative to root of source tree
String getName()
optional string name = 1;
file name, relative to root of source tree
ByteString getNameBytes()
optional string name = 1;
file name, relative to root of source tree
boolean hasPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
String getPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
ByteString getPackageBytes()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
ProtocolStringList getDependencyList()
repeated string dependency = 3;
Names of files imported by this file.
int getDependencyCount()
repeated string dependency = 3;
Names of files imported by this file.
String getDependency(int index)
repeated string dependency = 3;
Names of files imported by this file.
ByteString getDependencyBytes(int index)
repeated string dependency = 3;
Names of files imported by this file.
List<Integer> getPublicDependencyList()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
int getPublicDependencyCount()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
int getPublicDependency(int index)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
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.
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.
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.
List<DescriptorProtos.DescriptorProto> getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;
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 without harming runtime functionality of the descriptors -- the information is needed only by development tools.
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 without harming runtime functionality of the descriptors -- the information is needed only by development tools.
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 without harming runtime functionality of the descriptors -- the information is needed only by development tools.
boolean hasSyntax()
optional string syntax = 12;
The syntax of the proto file. The supported values are "proto2" and "proto3".
String getSyntax()
optional string syntax = 12;
The syntax of the proto file. The supported values are "proto2" and "proto3".
ByteString getSyntaxBytes()
optional string syntax = 12;
The syntax of the proto file. The supported values are "proto2" and "proto3".
Copyright © 2008–2015 Google. All rights reserved.