// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/api.proto
package com.google.protobuf;
public interface ApiOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Api)
com.google.protobuf.MessageOrBuilder {
The fully qualified name of this interface, including package name
followed by the interface's simple name.
string name = 1;
Returns: The name.
/**
* <pre>
* The fully qualified name of this interface, including package name
* followed by the interface's simple name.
* </pre>
*
* <code>string name = 1;</code>
* @return The name.
*/
java.lang.String getName();
The fully qualified name of this interface, including package name
followed by the interface's simple name.
string name = 1;
Returns: The bytes for name.
/**
* <pre>
* The fully qualified name of this interface, including package name
* followed by the interface's simple name.
* </pre>
*
* <code>string name = 1;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
/**
* <pre>
* The methods of this interface, in unspecified order.
* </pre>
*
* <code>repeated .google.protobuf.Method methods = 2;</code>
*/
java.util.List<com.google.protobuf.Method>
getMethodsList();
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
/**
* <pre>
* The methods of this interface, in unspecified order.
* </pre>
*
* <code>repeated .google.protobuf.Method methods = 2;</code>
*/
com.google.protobuf.Method getMethods(int index);
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
/**
* <pre>
* The methods of this interface, in unspecified order.
* </pre>
*
* <code>repeated .google.protobuf.Method methods = 2;</code>
*/
int getMethodsCount();
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
/**
* <pre>
* The methods of this interface, in unspecified order.
* </pre>
*
* <code>repeated .google.protobuf.Method methods = 2;</code>
*/
java.util.List<? extends com.google.protobuf.MethodOrBuilder>
getMethodsOrBuilderList();
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
/**
* <pre>
* The methods of this interface, in unspecified order.
* </pre>
*
* <code>repeated .google.protobuf.Method methods = 2;</code>
*/
com.google.protobuf.MethodOrBuilder getMethodsOrBuilder(
int index);
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
/**
* <pre>
* Any metadata attached to the interface.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 3;</code>
*/
java.util.List<com.google.protobuf.Option>
getOptionsList();
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
/**
* <pre>
* Any metadata attached to the interface.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 3;</code>
*/
com.google.protobuf.Option getOptions(int index);
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
/**
* <pre>
* Any metadata attached to the interface.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 3;</code>
*/
int getOptionsCount();
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
/**
* <pre>
* Any metadata attached to the interface.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 3;</code>
*/
java.util.List<? extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
/**
* <pre>
* Any metadata attached to the interface.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 3;</code>
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
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;
Returns: The version.
/**
* <pre>
* 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.
* </pre>
*
* <code>string version = 4;</code>
* @return The version.
*/
java.lang.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;
Returns: The bytes for version.
/**
* <pre>
* 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.
* </pre>
*
* <code>string version = 4;</code>
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;
Returns: Whether the sourceContext field is set.
/**
* <pre>
* Source context for the protocol buffer service represented by this
* message.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
* @return Whether the sourceContext field is set.
*/
boolean hasSourceContext();
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;
Returns: The sourceContext.
/**
* <pre>
* Source context for the protocol buffer service represented by this
* message.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
* @return The sourceContext.
*/
com.google.protobuf.SourceContext getSourceContext();
Source context for the protocol buffer service represented by this
message.
.google.protobuf.SourceContext source_context = 5;
/**
* <pre>
* Source context for the protocol buffer service represented by this
* message.
* </pre>
*
* <code>.google.protobuf.SourceContext source_context = 5;</code>
*/
com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder();
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
/**
* <pre>
* Included interfaces. See [Mixin][].
* </pre>
*
* <code>repeated .google.protobuf.Mixin mixins = 6;</code>
*/
java.util.List<com.google.protobuf.Mixin>
getMixinsList();
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
/**
* <pre>
* Included interfaces. See [Mixin][].
* </pre>
*
* <code>repeated .google.protobuf.Mixin mixins = 6;</code>
*/
com.google.protobuf.Mixin getMixins(int index);
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
/**
* <pre>
* Included interfaces. See [Mixin][].
* </pre>
*
* <code>repeated .google.protobuf.Mixin mixins = 6;</code>
*/
int getMixinsCount();
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
/**
* <pre>
* Included interfaces. See [Mixin][].
* </pre>
*
* <code>repeated .google.protobuf.Mixin mixins = 6;</code>
*/
java.util.List<? extends com.google.protobuf.MixinOrBuilder>
getMixinsOrBuilderList();
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
/**
* <pre>
* Included interfaces. See [Mixin][].
* </pre>
*
* <code>repeated .google.protobuf.Mixin mixins = 6;</code>
*/
com.google.protobuf.MixinOrBuilder getMixinsOrBuilder(
int index);
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
Returns: The enum numeric value on the wire for syntax.
/**
* <pre>
* The source syntax of the service.
* </pre>
*
* <code>.google.protobuf.Syntax syntax = 7;</code>
* @return The enum numeric value on the wire for syntax.
*/
int getSyntaxValue();
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
Returns: The syntax.
/**
* <pre>
* The source syntax of the service.
* </pre>
*
* <code>.google.protobuf.Syntax syntax = 7;</code>
* @return The syntax.
*/
com.google.protobuf.Syntax getSyntax();
}