Interface DescriptorProtos.DescriptorProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.DescriptorProto
,DescriptorProtos.DescriptorProto.Builder
- Enclosing class:
DescriptorProtos
public static interface DescriptorProtos.DescriptorProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEnumType
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
int
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeOrBuilder
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getExtension
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;
int
repeated .google.protobuf.FieldDescriptorProto extension = 6;
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionOrBuilder
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionRange
(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
int
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeOrBuilder
(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getField
(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;
int
repeated .google.protobuf.FieldDescriptorProto field = 2;
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldOrBuilder
(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;
repeated .google.protobuf.FieldDescriptorProto field = 2;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
getNestedType
(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;
int
repeated .google.protobuf.DescriptorProto nested_type = 3;
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeOrBuilder
(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;
List
<? extends DescriptorProtos.DescriptorProtoOrBuilder> repeated .google.protobuf.DescriptorProto nested_type = 3;
getOneofDecl
(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
int
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclOrBuilder
(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
optional .google.protobuf.MessageOptions options = 7;
optional .google.protobuf.MessageOptions options = 7;
getReservedName
(int index) Reserved field names, which may not be used by fields in the same message.com.google.protobuf.ByteString
getReservedNameBytes
(int index) Reserved field names, which may not be used by fields in the same message.int
Reserved field names, which may not be used by fields in the same message.Reserved field names, which may not be used by fields in the same message.getReservedRange
(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
int
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeOrBuilder
(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
boolean
hasName()
optional string name = 1;
boolean
optional .google.protobuf.MessageOptions options = 7;
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;
- Returns:
- Whether the name field is set.
-
getName
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Returns:
- The bytes for name.
-
getFieldList
List<DescriptorProtos.FieldDescriptorProto> getFieldList()repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getField
repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getFieldCount
int getFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getFieldOrBuilderList
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getFieldOrBuilderList()repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getFieldOrBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getExtensionList
List<DescriptorProtos.FieldDescriptorProto> getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getExtension
repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getExtensionCount
int getExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getExtensionOrBuilderList
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getExtensionOrBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getNestedTypeList
List<DescriptorProtos.DescriptorProto> getNestedTypeList()repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getNestedType
repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getNestedTypeCount
int getNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getNestedTypeOrBuilderList
List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getNestedTypeOrBuilderList()repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getNestedTypeOrBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getEnumTypeList
List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getEnumTypeCount
int getEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getEnumTypeOrBuilderList
List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getEnumTypeOrBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getExtensionRangeList
List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getExtensionRange
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getExtensionRangeCount
int getExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getExtensionRangeOrBuilderList
List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getExtensionRangeOrBuilder
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getOneofDeclList
List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
getOneofDecl
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
getOneofDeclCount
int getOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
getOneofDeclOrBuilderList
List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> getOneofDeclOrBuilderList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
getOneofDeclOrBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
hasOptions
boolean hasOptions()optional .google.protobuf.MessageOptions options = 7;
- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.MessageOptions getOptions()optional .google.protobuf.MessageOptions options = 7;
- Returns:
- The options.
-
getOptionsOrBuilder
DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()optional .google.protobuf.MessageOptions options = 7;
-
getReservedRangeList
List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedRange
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedRangeCount
int getReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedRangeOrBuilderList
List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedRangeOrBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedNameList
-
getReservedNameCount
int getReservedNameCount()Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
- Returns:
- The count of reservedName.
-
getReservedName
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
- Parameters:
index
- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
com.google.protobuf.ByteString getReservedNameBytes(int index) Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the reservedName at the given index.
-