com.google.protobuf.ApiOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-lite Show documentation
Show all versions of protobuf-lite Show documentation
A trimmed-down version of the Protocol Buffers library.
The newest version!
// 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.MessageLiteOrBuilder {
/**
*
* The fully qualified name of this api, including package name
* followed by the api's simple name.
*
*
* optional string name = 1;
*/
java.lang.String getName();
/**
*
* The fully qualified name of this api, including package name
* followed by the api's simple name.
*
*
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The methods of this api, in unspecified order.
*
*
* repeated .google.protobuf.Method methods = 2;
*/
java.util.List
getMethodsList();
/**
*
* The methods of this api, in unspecified order.
*
*
* repeated .google.protobuf.Method methods = 2;
*/
com.google.protobuf.Method getMethods(int index);
/**
*
* The methods of this api, in unspecified order.
*
*
* repeated .google.protobuf.Method methods = 2;
*/
int getMethodsCount();
/**
*
* Any metadata attached to the API.
*
*
* repeated .google.protobuf.Option options = 3;
*/
java.util.List
getOptionsList();
/**
*
* Any metadata attached to the API.
*
*
* repeated .google.protobuf.Option options = 3;
*/
com.google.protobuf.Option getOptions(int index);
/**
*
* Any metadata attached to the API.
*
*
* repeated .google.protobuf.Option options = 3;
*/
int getOptionsCount();
/**
*
* A version string for this api. 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
* API, 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, none-GA apis.
*
*
* optional string version = 4;
*/
java.lang.String getVersion();
/**
*
* A version string for this api. 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
* API, 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, none-GA apis.
*
*
* optional string version = 4;
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* Source context for the protocol buffer service represented by this
* message.
*
*
* optional .google.protobuf.SourceContext source_context = 5;
*/
boolean hasSourceContext();
/**
*
* Source context for the protocol buffer service represented by this
* message.
*
*
* optional .google.protobuf.SourceContext source_context = 5;
*/
com.google.protobuf.SourceContext getSourceContext();
/**
*
* Included APIs. See [Mixin][].
*
*
* repeated .google.protobuf.Mixin mixins = 6;
*/
java.util.List
getMixinsList();
/**
*
* Included APIs. See [Mixin][].
*
*
* repeated .google.protobuf.Mixin mixins = 6;
*/
com.google.protobuf.Mixin getMixins(int index);
/**
*
* Included APIs. See [Mixin][].
*
*
* repeated .google.protobuf.Mixin mixins = 6;
*/
int getMixinsCount();
/**
*
* The source syntax of the service.
*
*
* optional .google.protobuf.Syntax syntax = 7;
*/
int getSyntaxValue();
/**
*
* The source syntax of the service.
*
*
* optional .google.protobuf.Syntax syntax = 7;
*/
com.google.protobuf.Syntax getSyntax();
}