public interface TypeOrBuilder extends MessageLiteOrBuilderImplements
MessageLiteOrBuilderMethods
getFields(int index)
public abstract Field getFields(int index)The list of fields.
repeated .google.protobuf.Field fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Field |
|
getFieldsCount()
public abstract int getFieldsCount()The list of fields.
repeated .google.protobuf.Field fields = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getFieldsList()
public abstract List<Field> getFieldsList()The list of fields.
repeated .google.protobuf.Field fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<Field> |
|
getName()
public abstract String getName()The fully qualified message name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The fully qualified message name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Option |
|
getOptionsCount()
public abstract int getOptionsCount()The protocol buffer options.
repeated .google.protobuf.Option options = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getOptionsList()
public abstract List<Option> getOptionsList()The protocol buffer options.
repeated .google.protobuf.Option options = 4;
| Returns | |
|---|---|
| Type | Description |
List<Option> |
|
getSourceContext()
public abstract SourceContext getSourceContext()The source context.
.google.protobuf.SourceContext source_context = 5;
| Returns | |
|---|---|
| Type | Description |
SourceContext |
The sourceContext. |
getSyntax()
public abstract Syntax getSyntax()The source syntax.
.google.protobuf.Syntax syntax = 6;
| Returns | |
|---|---|
| Type | Description |
Syntax |
The syntax. |
getSyntaxValue()
public abstract int getSyntaxValue()The source syntax.
.google.protobuf.Syntax syntax = 6;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the sourceContext field is set. |