Interface ApiOrBuilder

public interface ApiOrBuilder extends MessageLiteOrBuilder

Methods

getMethods(int index)

public abstract Method getMethods(int index)


The methods of this interface, in unspecified order.

repeated .google.protobuf.Method methods = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Method

getMethodsCount()

public abstract int getMethodsCount()


The methods of this interface, in unspecified order.

repeated .google.protobuf.Method methods = 2;

Returns
TypeDescription
int

getMethodsList()

public abstract List<Method> getMethodsList()


The methods of this interface, in unspecified order.

repeated .google.protobuf.Method methods = 2;

Returns
TypeDescription
List<Method>

getMixins(int index)

public abstract Mixin getMixins(int index)


Included interfaces. See [Mixin][].

repeated .google.protobuf.Mixin mixins = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Mixin

getMixinsCount()

public abstract int getMixinsCount()


Included interfaces. See [Mixin][].

repeated .google.protobuf.Mixin mixins = 6;

Returns
TypeDescription
int

getMixinsList()

public abstract List<Mixin> getMixinsList()


Included interfaces. See [Mixin][].

repeated .google.protobuf.Mixin mixins = 6;

Returns
TypeDescription
List<Mixin>

getName()

public abstract String getName()


The fully qualified name of this interface, including package name
followed by the interface's simple name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()


The fully qualified name of this interface, including package name
followed by the interface's simple name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOptions(int index)

public abstract Option getOptions(int index)


Any metadata attached to the interface.

repeated .google.protobuf.Option options = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Option

getOptionsCount()

public abstract int getOptionsCount()


Any metadata attached to the interface.

repeated .google.protobuf.Option options = 3;

Returns
TypeDescription
int

getOptionsList()

public abstract List<Option> getOptionsList()


Any metadata attached to the interface.

repeated .google.protobuf.Option options = 3;

Returns
TypeDescription
List<Option>

getSourceContext()

public abstract SourceContext getSourceContext()


Source context for the protocol buffer service represented by this
message.

.google.protobuf.SourceContext source_context = 5;

Returns
TypeDescription
SourceContext

The sourceContext.

getSyntax()

public abstract Syntax getSyntax()


The source syntax of the service.

.google.protobuf.Syntax syntax = 7;

Returns
TypeDescription
Syntax

The syntax.

getSyntaxValue()

public abstract int getSyntaxValue()


The source syntax of the service.

.google.protobuf.Syntax syntax = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for syntax.

getVersion()

public abstract String getVersion()


A version string for this interface. If specified, must have the form
major-version.minor-version, as in 1.10. If the minor version is
omitted, it defaults to zero. If the entire version field is empty, the
major version is derived from the package name, as outlined below. If the
field is not empty, the version in the package name will be verified to be
consistent with what is provided here.
The versioning schema uses semantic
versioning
where the major version number
indicates a breaking change and the minor version an additive,
non-breaking change. Both version numbers are signals to users
what to expect from different versions, and should be carefully
chosen based on the product plan.
The major version is also reflected in the package name of the
interface, which must end in v<major-version>, as in
google.feature.v1. For major versions 0 and 1, the suffix can
be omitted. Zero major versions must only be used for
experimental, non-GA interfaces.

string version = 4;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()


A version string for this interface. If specified, must have the form
major-version.minor-version, as in 1.10. If the minor version is
omitted, it defaults to zero. If the entire version field is empty, the
major version is derived from the package name, as outlined below. If the
field is not empty, the version in the package name will be verified to be
consistent with what is provided here.
The versioning schema uses semantic
versioning
where the major version number
indicates a breaking change and the minor version an additive,
non-breaking change. Both version numbers are signals to users
what to expect from different versions, and should be carefully
chosen based on the product plan.
The major version is also reflected in the package name of the
interface, which must end in v<major-version>, as in
google.feature.v1. For major versions 0 and 1, the suffix can
be omitted. Zero major versions must only be used for
experimental, non-GA interfaces.

string version = 4;

Returns
TypeDescription
ByteString

The bytes for version.

hasSourceContext()

public abstract boolean hasSourceContext()


Source context for the protocol buffer service represented by this
message.

.google.protobuf.SourceContext source_context = 5;

Returns
TypeDescription
boolean

Whether the sourceContext field is set.