Interface DescriptorProtos.DescriptorProtoOrBuilder

public static interface DescriptorProtos.DescriptorProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnumType(int index)

public abstract DescriptorProtos.EnumDescriptorProto getEnumType(int index)

repeated .google.protobuf.EnumDescriptorProto enum_type = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.EnumDescriptorProto

getEnumTypeCount()

public abstract int getEnumTypeCount()

repeated .google.protobuf.EnumDescriptorProto enum_type = 4;

Returns
TypeDescription
int

getEnumTypeList()

public abstract List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()

repeated .google.protobuf.EnumDescriptorProto enum_type = 4;

Returns
TypeDescription
List<EnumDescriptorProto>

getEnumTypeOrBuilder(int index)

public abstract DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)

repeated .google.protobuf.EnumDescriptorProto enum_type = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.EnumDescriptorProtoOrBuilder

getEnumTypeOrBuilderList()

public abstract List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()

repeated .google.protobuf.EnumDescriptorProto enum_type = 4;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>

getExtension(int index)

public abstract DescriptorProtos.FieldDescriptorProto getExtension(int index)

repeated .google.protobuf.FieldDescriptorProto extension = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.FieldDescriptorProto

getExtensionCount()

public abstract int getExtensionCount()

repeated .google.protobuf.FieldDescriptorProto extension = 6;

Returns
TypeDescription
int

getExtensionList()

public abstract List<DescriptorProtos.FieldDescriptorProto> getExtensionList()

repeated .google.protobuf.FieldDescriptorProto extension = 6;

Returns
TypeDescription
List<FieldDescriptorProto>

getExtensionOrBuilder(int index)

public abstract DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)

repeated .google.protobuf.FieldDescriptorProto extension = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.FieldDescriptorProtoOrBuilder

getExtensionOrBuilderList()

public abstract List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()

repeated .google.protobuf.FieldDescriptorProto extension = 6;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProto.ExtensionRange

getExtensionRangeCount()

public abstract int getExtensionRangeCount()

repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;

Returns
TypeDescription
int

getExtensionRangeList()

public abstract List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()

repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;

Returns
TypeDescription
List<ExtensionRange>

getExtensionRangeOrBuilder(int index)

public abstract DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index)

repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder

getExtensionRangeOrBuilderList()

public abstract List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()

repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.FieldDescriptorProto

getFieldCount()

public abstract int getFieldCount()

repeated .google.protobuf.FieldDescriptorProto field = 2;

Returns
TypeDescription
int

getFieldList()

public abstract List<DescriptorProtos.FieldDescriptorProto> getFieldList()

repeated .google.protobuf.FieldDescriptorProto field = 2;

Returns
TypeDescription
List<FieldDescriptorProto>

getFieldOrBuilder(int index)

public abstract DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(int index)

repeated .google.protobuf.FieldDescriptorProto field = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.FieldDescriptorProtoOrBuilder

getFieldOrBuilderList()

public abstract List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getFieldOrBuilderList()

repeated .google.protobuf.FieldDescriptorProto field = 2;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>

getName()

public abstract String getName()

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNestedType(int index)

public abstract DescriptorProtos.DescriptorProto getNestedType(int index)

repeated .google.protobuf.DescriptorProto nested_type = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProto

getNestedTypeCount()

public abstract int getNestedTypeCount()

repeated .google.protobuf.DescriptorProto nested_type = 3;

Returns
TypeDescription
int

getNestedTypeList()

public abstract List<DescriptorProtos.DescriptorProto> getNestedTypeList()

repeated .google.protobuf.DescriptorProto nested_type = 3;

Returns
TypeDescription
List<DescriptorProto>

getNestedTypeOrBuilder(int index)

public abstract DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(int index)

repeated .google.protobuf.DescriptorProto nested_type = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProtoOrBuilder

getNestedTypeOrBuilderList()

public abstract List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getNestedTypeOrBuilderList()

repeated .google.protobuf.DescriptorProto nested_type = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.OneofDescriptorProto

getOneofDeclCount()

public abstract int getOneofDeclCount()

repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;

Returns
TypeDescription
int

getOneofDeclList()

public abstract List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()

repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;

Returns
TypeDescription
List<OneofDescriptorProto>

getOneofDeclOrBuilder(int index)

public abstract DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(int index)

repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.OneofDescriptorProtoOrBuilder

getOneofDeclOrBuilderList()

public abstract List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> getOneofDeclOrBuilderList()

repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>

getOptions()

public abstract DescriptorProtos.MessageOptions getOptions()

optional .google.protobuf.MessageOptions options = 7;

Returns
TypeDescription
DescriptorProtos.MessageOptions

The options.

getOptionsOrBuilder()

public abstract DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()

optional .google.protobuf.MessageOptions options = 7;

Returns
TypeDescription
DescriptorProtos.MessageOptionsOrBuilder

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProto.ReservedRange

getReservedRangeCount()

public abstract int getReservedRangeCount()

repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;

Returns
TypeDescription
int

getReservedRangeList()

public abstract List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()

repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;

Returns
TypeDescription
List<ReservedRange>

getReservedRangeOrBuilder(int index)

public abstract DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(int index)

repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder

getReservedRangeOrBuilderList()

public abstract List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()

repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>

hasName()

public abstract boolean hasName()

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.

hasOptions()

public abstract boolean hasOptions()

optional .google.protobuf.MessageOptions options = 7;

Returns
TypeDescription
boolean

Whether the options field is set.