Interface TypeOrBuilder (3.19.4)

public interface TypeOrBuilder extends MessageLiteOrBuilder

Methods

getFields(int index)

public abstract Field getFields(int index)

The list of fields.

repeated .google.protobuf.Field fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Field

getFieldsCount()

public abstract int getFieldsCount()

The list of fields.

repeated .google.protobuf.Field fields = 2;

Returns
TypeDescription
int

getFieldsList()

public abstract List<Field> getFieldsList()

The list of fields.

repeated .google.protobuf.Field fields = 2;

Returns
TypeDescription
List<Field>

getName()

public abstract String getName()

The fully qualified message name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The fully qualified message name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOneofs(int index)

public abstract String getOneofs(int index)

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The oneofs at the given index.

getOneofsBytes(int index)

public abstract ByteString getOneofsBytes(int index)

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ByteString

The oneofs at the given index.

getOneofsCount()

public abstract int getOneofsCount()

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Returns
TypeDescription
int

The count of oneofs.

getOneofsList()

public abstract List<String> getOneofsList()

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Returns
TypeDescription
List<String>

A list containing the oneofs.

getOptions(int index)

public abstract Option getOptions(int index)

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Option

getOptionsCount()

public abstract int getOptionsCount()

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Returns
TypeDescription
int

getOptionsList()

public abstract List<Option> getOptionsList()

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Returns
TypeDescription
List<Option>

getSourceContext()

public abstract SourceContext getSourceContext()

The source context.

.google.protobuf.SourceContext source_context = 5;

Returns
TypeDescription
SourceContext

The sourceContext.

getSyntax()

public abstract Syntax getSyntax()

The source syntax.

.google.protobuf.Syntax syntax = 6;

Returns
TypeDescription
Syntax

The syntax.

getSyntaxValue()

public abstract int getSyntaxValue()

The source syntax.

.google.protobuf.Syntax syntax = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for syntax.

hasSourceContext()

public abstract boolean hasSourceContext()

The source context.

.google.protobuf.SourceContext source_context = 5;

Returns
TypeDescription
boolean

Whether the sourceContext field is set.