Top Methods
com.google.protobuf

public Interface ApiOrBuilder

extends MessageOrBuilder
Known Direct Implementers
com.google.protobuf.Api, com.google.protobuf.Api.Builder

Method Summary

Modifier and TypeMethod and Description
public Method
getMethods(int index)

The methods of this interface, in unspecified order.
public int
getMethodsCount()

The methods of this interface, in unspecified order.
public List<Method>
getMethodsList()

The methods of this interface, in unspecified order.
public MethodOrBuilder
getMethodsOrBuilder(int index)

The methods of this interface, in unspecified order.
public List<? extends MethodOrBuilder>
getMethodsOrBuilderList()

The methods of this interface, in unspecified order.
public Mixin
getMixins(int index)

Included interfaces.
public int
getMixinsCount()

Included interfaces.
public List<Mixin>
getMixinsList()

Included interfaces.
public MixinOrBuilder
getMixinsOrBuilder(int index)

Included interfaces.
public List<? extends MixinOrBuilder>
getMixinsOrBuilderList()

Included interfaces.
public String
getName()

The fully qualified name of this interface, including package name
followed by the interface's simple name.
public ByteString
getNameBytes()

The fully qualified name of this interface, including package name
followed by the interface's simple name.
public Option
getOptions(int index)

Any metadata attached to the interface.
public int
getOptionsCount()

Any metadata attached to the interface.
public List<Option>
getOptionsList()

Any metadata attached to the interface.
public OptionOrBuilder
getOptionsOrBuilder(int index)

Any metadata attached to the interface.
public List<? extends OptionOrBuilder>
getOptionsOrBuilderList()

Any metadata attached to the interface.
public SourceContext
getSourceContext()

Source context for the protocol buffer service represented by this
message.
public SourceContextOrBuilder
getSourceContextOrBuilder()

Source context for the protocol buffer service represented by this
message.
public Syntax
getSyntax()

The source syntax of the service.
public int
getSyntaxValue()

The source syntax of the service.
public String
getVersion()

A version string for this interface.
public ByteString
getVersionBytes()

A version string for this interface.
public boolean
hasSourceContext()

Source context for the protocol buffer service represented by this
message.
Inherited from com.google.protobuf.MessageOrBuilder:
findInitializationErrorsgetAllFieldsgetDefaultInstanceForTypegetDescriptorForTypegetFieldgetInitializationErrorStringgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCountgetUnknownFieldshasFieldhasOneof

Method Detail

getMethodsback to summary
public Method getMethods(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
getMethodsCountback to summary
public int getMethodsCount()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
getMethodsListback to summary
public List<Method> getMethodsList()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
getMethodsOrBuilderback to summary
public MethodOrBuilder getMethodsOrBuilder(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
getMethodsOrBuilderListback to summary
public List<? extends MethodOrBuilder> getMethodsOrBuilderList()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
getMixinsback to summary
public Mixin getMixins(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
getMixinsCountback to summary
public int getMixinsCount()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
getMixinsListback to summary
public List<Mixin> getMixinsList()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
getMixinsOrBuilderback to summary
public MixinOrBuilder getMixinsOrBuilder(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
getMixinsOrBuilderListback to summary
public List<? extends MixinOrBuilder> getMixinsOrBuilderList()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
getNameback to summary
public String getName()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
string name = 1;
getNameBytesback to summary
public ByteString getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
string name = 1;
getOptionsback to summary
public Option getOptions(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
getOptionsCountback to summary
public int getOptionsCount()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
getOptionsListback to summary
public List<Option> getOptionsList()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
getOptionsOrBuilderback to summary
public OptionOrBuilder getOptionsOrBuilder(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
getOptionsOrBuilderListback to summary
public List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
getSourceContextback to summary
public SourceContext getSourceContext()
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;
getSourceContextOrBuilderback to summary
public SourceContextOrBuilder getSourceContextOrBuilder()
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;
getSyntaxback to summary
public Syntax getSyntax()
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
getSyntaxValueback to summary
public int getSyntaxValue()
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
getVersionback to summary
public 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](http://semver.org) 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;
getVersionBytesback to summary
public 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](http://semver.org) 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;
hasSourceContextback to summary
public boolean hasSourceContext()
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;