Api is a light-weight descriptor for an API Interface.
Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
Generated from protobuf message google.protobuf.Api
Methods |
public __construct( $data = NULL) Constructor.
|
public clearSourceContext() |
public getMethods() The methods of this interface, in unspecified order. Generated from protobuf field repeated .google.protobuf.Method methods = 2;
|
public getMixins() Included interfaces. See [Mixin][]. Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6;
|
public getName() The fully qualified name of this interface, including package name followed by the interface's simple name. Generated from protobuf field string name = 1;
|
public getOptions() Any metadata attached to the interface. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
public getSourceContext() Source context for the protocol buffer service represented by this message. Generated from protobuf field .google.protobuf.SourceContext source_context = 5;
|
public getSyntax() The source syntax of the service. Generated from protobuf field .google.protobuf.Syntax syntax = 7;
|
public getVersion() A version string for this interface. If specified, must have the form
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 Generated from protobuf field string version = 4;
|
public hasSourceContext() |
public setMethods( $var) The methods of this interface, in unspecified order. Generated from protobuf field repeated .google.protobuf.Method methods = 2;
|
public setMixins( $var) Included interfaces. See [Mixin][]. Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6;
|
public setName( $var) The fully qualified name of this interface, including package name followed by the interface's simple name. Generated from protobuf field string name = 1;
|
public setOptions( $var) Any metadata attached to the interface. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
public setSourceContext( $var) Source context for the protocol buffer service represented by this message. Generated from protobuf field .google.protobuf.SourceContext source_context = 5;
|
public setSyntax( $var) The source syntax of the service. Generated from protobuf field .google.protobuf.Syntax syntax = 7;
|
public setVersion( $var) A version string for this interface. If specified, must have the form
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 Generated from protobuf field string version = 4;
|
Properties |
protected $name = '' The fully qualified name of this interface, including package name followed by the interface's simple name. Generated from protobuf field string name = 1; |
protected $source_context = NULL Source context for the protocol buffer service represented by this message. Generated from protobuf field .google.protobuf.SourceContext source_context = 5; |
protected $syntax = 0 The source syntax of the service. Generated from protobuf field .google.protobuf.Syntax syntax = 7; |
protected $version = '' A version string for this interface. If specified, must have the form
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 Generated from protobuf field string version = 4; |
Methods |
Properties |
private $methods = NULL The methods of this interface, in unspecified order. Generated from protobuf field repeated .google.protobuf.Method methods = 2; |
private $mixins = NULL Included interfaces. See [Mixin][]. Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; |
private $options = NULL Any metadata attached to the interface. Generated from protobuf field repeated .google.protobuf.Option options = 3; |