public static interface DescriptorProtos.DescriptorProtoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
java.util.List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> |
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.FieldDescriptorProto |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.ExtensionRange |
getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
int |
getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> |
getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder |
getExtensionRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
java.util.List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> |
getExtensionRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.FieldDescriptorProto |
getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
int |
getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.lang.String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
DescriptorProtos.DescriptorProto |
getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
int |
getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
java.util.List<DescriptorProtos.DescriptorProto> |
getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProtoOrBuilder |
getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.OneofDescriptorProto |
getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
int |
getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
java.util.List<DescriptorProtos.OneofDescriptorProto> |
getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.OneofDescriptorProtoOrBuilder |
getOneofDeclOrBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
java.util.List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> |
getOneofDeclOrBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.MessageOptions |
getOptions()
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.MessageOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7; |
java.lang.String |
getReservedName(int index)
Reserved field names, which may not be used by fields in the same message.
|
ByteString |
getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message.
|
int |
getReservedNameCount()
Reserved field names, which may not be used by fields in the same message.
|
java.util.List<java.lang.String> |
getReservedNameList()
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.ReservedRange |
getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
int |
getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> |
getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder |
getReservedRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
java.util.List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> |
getReservedRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.MessageOptions options = 7; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasName()
optional string name = 1;
java.lang.String getName()
optional string name = 1;
ByteString getNameBytes()
optional string name = 1;
java.util.List<DescriptorProtos.FieldDescriptorProto> getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
int getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2;
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
java.util.List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
int getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3;
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
int getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
java.util.List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
java.util.List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
int getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
java.util.List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> getOneofDeclOrBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7;
DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7;
DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7;
java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
int getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
java.util.List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
java.util.List<java.lang.String> getReservedNameList()
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;
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;
java.lang.String getReservedName(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;
index
- The index of the element to return.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;
index
- The index of the value to return.