public interface ApiOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Method |
getMethods(int index)
repeated .google.protobuf.Method methods = 2; |
int |
getMethodsCount()
repeated .google.protobuf.Method methods = 2; |
List<Method> |
getMethodsList()
repeated .google.protobuf.Method methods = 2; |
MethodOrBuilder |
getMethodsOrBuilder(int index)
repeated .google.protobuf.Method methods = 2; |
List<? extends MethodOrBuilder> |
getMethodsOrBuilderList()
repeated .google.protobuf.Method methods = 2; |
Mixin |
getMixins(int index)
repeated .google.protobuf.Mixin mixins = 6; |
int |
getMixinsCount()
repeated .google.protobuf.Mixin mixins = 6; |
List<Mixin> |
getMixinsList()
repeated .google.protobuf.Mixin mixins = 6; |
MixinOrBuilder |
getMixinsOrBuilder(int index)
repeated .google.protobuf.Mixin mixins = 6; |
List<? extends MixinOrBuilder> |
getMixinsOrBuilderList()
repeated .google.protobuf.Mixin mixins = 6; |
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
Option |
getOptions(int index)
repeated .google.protobuf.Option options = 3; |
int |
getOptionsCount()
repeated .google.protobuf.Option options = 3; |
List<Option> |
getOptionsList()
repeated .google.protobuf.Option options = 3; |
OptionOrBuilder |
getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3; |
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3; |
SourceContext |
getSourceContext()
optional .google.protobuf.SourceContext source_context = 5; |
SourceContextOrBuilder |
getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 5; |
Syntax |
getSyntax()
optional .google.protobuf.Syntax syntax = 7; |
int |
getSyntaxValue()
optional .google.protobuf.Syntax syntax = 7; |
String |
getVersion()
optional string version = 4; |
ByteString |
getVersionBytes()
optional string version = 4; |
boolean |
hasSourceContext()
optional .google.protobuf.SourceContext source_context = 5; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
optional string name = 1;
The fully qualified name of this api, including package name followed by the api's simple name.
ByteString getNameBytes()
optional string name = 1;
The fully qualified name of this api, including package name followed by the api's simple name.
List<Method> getMethodsList()
repeated .google.protobuf.Method methods = 2;
The methods of this api, in unspecified order.
Method getMethods(int index)
repeated .google.protobuf.Method methods = 2;
The methods of this api, in unspecified order.
int getMethodsCount()
repeated .google.protobuf.Method methods = 2;
The methods of this api, in unspecified order.
List<? extends MethodOrBuilder> getMethodsOrBuilderList()
repeated .google.protobuf.Method methods = 2;
The methods of this api, in unspecified order.
MethodOrBuilder getMethodsOrBuilder(int index)
repeated .google.protobuf.Method methods = 2;
The methods of this api, in unspecified order.
List<Option> getOptionsList()
repeated .google.protobuf.Option options = 3;
Any metadata attached to the API.
Option getOptions(int index)
repeated .google.protobuf.Option options = 3;
Any metadata attached to the API.
int getOptionsCount()
repeated .google.protobuf.Option options = 3;
Any metadata attached to the API.
List<? extends OptionOrBuilder> getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3;
Any metadata attached to the API.
OptionOrBuilder getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3;
Any metadata attached to the API.
String getVersion()
optional string version = 4;
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.
ByteString getVersionBytes()
optional string version = 4;
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.
boolean hasSourceContext()
optional .google.protobuf.SourceContext source_context = 5;
Source context for the protocol buffer service represented by this message.
SourceContext getSourceContext()
optional .google.protobuf.SourceContext source_context = 5;
Source context for the protocol buffer service represented by this message.
SourceContextOrBuilder getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 5;
Source context for the protocol buffer service represented by this message.
List<Mixin> getMixinsList()
repeated .google.protobuf.Mixin mixins = 6;
Included APIs. See [Mixin][].
Mixin getMixins(int index)
repeated .google.protobuf.Mixin mixins = 6;
Included APIs. See [Mixin][].
int getMixinsCount()
repeated .google.protobuf.Mixin mixins = 6;
Included APIs. See [Mixin][].
List<? extends MixinOrBuilder> getMixinsOrBuilderList()
repeated .google.protobuf.Mixin mixins = 6;
Included APIs. See [Mixin][].
MixinOrBuilder getMixinsOrBuilder(int index)
repeated .google.protobuf.Mixin mixins = 6;
Included APIs. See [Mixin][].
int getSyntaxValue()
optional .google.protobuf.Syntax syntax = 7;
The source syntax of the service.
Syntax getSyntax()
optional .google.protobuf.Syntax syntax = 7;
The source syntax of the service.
Copyright © 2008–2015 Google. All rights reserved.