public static interface DescriptorProtos.DescriptorProtoOrBuilder extends MessageOrBuilder
Methods
getEnumType(int index)
public abstract DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
Parameter |
---|
Name | Description |
index | int
|
getEnumTypeCount()
public abstract int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
Returns |
---|
Type | Description |
int | |
getEnumTypeList()
public abstract List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeOrBuilder(int index)
public abstract DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
Parameter |
---|
Name | Description |
index | int
|
getEnumTypeOrBuilderList()
public abstract List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> | |
getExtension(int index)
public abstract DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
Parameter |
---|
Name | Description |
index | int
|
getExtensionCount()
public abstract int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
Returns |
---|
Type | Description |
int | |
getExtensionList()
public abstract List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionOrBuilder(int index)
public abstract DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
Parameter |
---|
Name | Description |
index | int
|
getExtensionOrBuilderList()
public abstract List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> | |
getExtensionRange(int index)
public abstract DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
Parameter |
---|
Name | Description |
index | int
|
getExtensionRangeCount()
public abstract int getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
Returns |
---|
Type | Description |
int | |
getExtensionRangeList()
public abstract List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeOrBuilder(int index)
public abstract DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
Parameter |
---|
Name | Description |
index | int
|
getExtensionRangeOrBuilderList()
public abstract List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> | |
getField(int index)
public abstract DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
Parameter |
---|
Name | Description |
index | int
|
getFieldCount()
public abstract int getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2;
Returns |
---|
Type | Description |
int | |
getFieldList()
public abstract List<DescriptorProtos.FieldDescriptorProto> getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldOrBuilder(int index)
public abstract DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
Parameter |
---|
Name | Description |
index | int
|
getFieldOrBuilderList()
public abstract List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> | |
getName()
public abstract String getName()
optional string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public abstract ByteString getNameBytes()
optional string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getNestedType(int index)
public abstract DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
Parameter |
---|
Name | Description |
index | int
|
getNestedTypeCount()
public abstract int getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3;
Returns |
---|
Type | Description |
int | |
getNestedTypeList()
public abstract List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeOrBuilder(int index)
public abstract DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
Parameter |
---|
Name | Description |
index | int
|
getNestedTypeOrBuilderList()
public abstract List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> | |
getOneofDecl(int index)
public abstract DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
Parameter |
---|
Name | Description |
index | int
|
getOneofDeclCount()
public abstract int getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
Returns |
---|
Type | Description |
int | |
getOneofDeclList()
public abstract List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclOrBuilder(int index)
public abstract DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
Parameter |
---|
Name | Description |
index | int
|
getOneofDeclOrBuilderList()
public abstract List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> getOneofDeclOrBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> | |
getOptions()
public abstract DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7;
getOptionsOrBuilder()
public abstract DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7;
getReservedName(int index)
public abstract 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;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The reservedName at the given index.
|
getReservedNameBytes(int index)
public abstract 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;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the reservedName at the given index.
|
getReservedNameCount()
public abstract 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 |
---|
Type | Description |
int | The count of reservedName.
|
getReservedNameList()
public abstract List<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;
Returns |
---|
Type | Description |
List<String> | A list containing the reservedName.
|
getReservedRange(int index)
public abstract DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
Parameter |
---|
Name | Description |
index | int
|
getReservedRangeCount()
public abstract int getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
Returns |
---|
Type | Description |
int | |
getReservedRangeList()
public abstract List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeOrBuilder(int index)
public abstract DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
Parameter |
---|
Name | Description |
index | int
|
getReservedRangeOrBuilderList()
public abstract List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
Returns |
---|
Type | Description |
List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> | |
hasName()
public abstract boolean hasName()
optional string name = 1;
Returns |
---|
Type | Description |
boolean | Whether the name field is set.
|
hasOptions()
public abstract boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7;
Returns |
---|
Type | Description |
boolean | Whether the options field is set.
|