public static final class Api.Builder extends GeneratedMessageV3.Builder<Api.Builder> implements ApiOrBuilder
Api is a light-weight descriptor for a protocol buffer service.Protobuf type
google.protobuf.Api| Modifier and Type | Method and Description |
|---|---|
Api.Builder |
addAllMethods(Iterable<? extends Method> values)
The methods of this api, in unspecified order.
|
Api.Builder |
addAllMixins(Iterable<? extends Mixin> values)
Included APIs.
|
Api.Builder |
addAllOptions(Iterable<? extends Option> values)
Any metadata attached to the API.
|
Api.Builder |
addMethods(int index,
Method.Builder builderForValue)
The methods of this api, in unspecified order.
|
Api.Builder |
addMethods(int index,
Method value)
The methods of this api, in unspecified order.
|
Api.Builder |
addMethods(Method.Builder builderForValue)
The methods of this api, in unspecified order.
|
Api.Builder |
addMethods(Method value)
The methods of this api, in unspecified order.
|
Method.Builder |
addMethodsBuilder()
The methods of this api, in unspecified order.
|
Method.Builder |
addMethodsBuilder(int index)
The methods of this api, in unspecified order.
|
Api.Builder |
addMixins(int index,
Mixin.Builder builderForValue)
Included APIs.
|
Api.Builder |
addMixins(int index,
Mixin value)
Included APIs.
|
Api.Builder |
addMixins(Mixin.Builder builderForValue)
Included APIs.
|
Api.Builder |
addMixins(Mixin value)
Included APIs.
|
Mixin.Builder |
addMixinsBuilder()
Included APIs.
|
Mixin.Builder |
addMixinsBuilder(int index)
Included APIs.
|
Api.Builder |
addOptions(int index,
Option.Builder builderForValue)
Any metadata attached to the API.
|
Api.Builder |
addOptions(int index,
Option value)
Any metadata attached to the API.
|
Api.Builder |
addOptions(Option.Builder builderForValue)
Any metadata attached to the API.
|
Api.Builder |
addOptions(Option value)
Any metadata attached to the API.
|
Option.Builder |
addOptionsBuilder()
Any metadata attached to the API.
|
Option.Builder |
addOptionsBuilder(int index)
Any metadata attached to the API.
|
Api.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value)
Like
setRepeatedField, but appends the value as a new element. |
Api |
build()
Constructs the message based on the state of the Builder.
|
Api |
buildPartial()
Like
MessageLite.Builder.build(), but does not throw an exception if the message
is missing required fields. |
Api.Builder |
clear()
Called by the initialization and clear code paths to allow subclasses to
reset any of their builtin fields back to the initial values.
|
Api.Builder |
clearField(Descriptors.FieldDescriptor field)
Clears the field.
|
Api.Builder |
clearMethods()
The methods of this api, in unspecified order.
|
Api.Builder |
clearMixins()
Included APIs.
|
Api.Builder |
clearName()
The fully qualified name of this api, including package name
followed by the api's simple name.
|
Api.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
TODO(jieluo): Clear it when all subclasses have implemented this method.
|
Api.Builder |
clearOptions()
Any metadata attached to the API.
|
Api.Builder |
clearSourceContext()
Source context for the protocol buffer service represented by this
message.
|
Api.Builder |
clearSyntax()
The source syntax of the service.
|
Api.Builder |
clearVersion()
A version string for this api.
|
Api.Builder |
clone()
Clones the Builder.
|
Api |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType()
Get the message's type's descriptor.
|
Method |
getMethods(int index)
The methods of this api, in unspecified order.
|
Method.Builder |
getMethodsBuilder(int index)
The methods of this api, in unspecified order.
|
List<Method.Builder> |
getMethodsBuilderList()
The methods of this api, in unspecified order.
|
int |
getMethodsCount()
The methods of this api, in unspecified order.
|
List<Method> |
getMethodsList()
The methods of this api, in unspecified order.
|
MethodOrBuilder |
getMethodsOrBuilder(int index)
The methods of this api, in unspecified order.
|
List<? extends MethodOrBuilder> |
getMethodsOrBuilderList()
The methods of this api, in unspecified order.
|
Mixin |
getMixins(int index)
Included APIs.
|
Mixin.Builder |
getMixinsBuilder(int index)
Included APIs.
|
List<Mixin.Builder> |
getMixinsBuilderList()
Included APIs.
|
int |
getMixinsCount()
Included APIs.
|
List<Mixin> |
getMixinsList()
Included APIs.
|
MixinOrBuilder |
getMixinsOrBuilder(int index)
Included APIs.
|
List<? extends MixinOrBuilder> |
getMixinsOrBuilderList()
Included APIs.
|
String |
getName()
The fully qualified name of this api, including package name
followed by the api's simple name.
|
ByteString |
getNameBytes()
The fully qualified name of this api, including package name
followed by the api's simple name.
|
Option |
getOptions(int index)
Any metadata attached to the API.
|
Option.Builder |
getOptionsBuilder(int index)
Any metadata attached to the API.
|
List<Option.Builder> |
getOptionsBuilderList()
Any metadata attached to the API.
|
int |
getOptionsCount()
Any metadata attached to the API.
|
List<Option> |
getOptionsList()
Any metadata attached to the API.
|
OptionOrBuilder |
getOptionsOrBuilder(int index)
Any metadata attached to the API.
|
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
Any metadata attached to the API.
|
SourceContext |
getSourceContext()
Source context for the protocol buffer service represented by this
message.
|
SourceContext.Builder |
getSourceContextBuilder()
Source context for the protocol buffer service represented by this
message.
|
SourceContextOrBuilder |
getSourceContextOrBuilder()
Source context for the protocol buffer service represented by this
message.
|
Syntax |
getSyntax()
The source syntax of the service.
|
int |
getSyntaxValue()
The source syntax of the service.
|
String |
getVersion()
A version string for this api.
|
ByteString |
getVersionBytes()
A version string for this api.
|
boolean |
hasSourceContext()
Source context for the protocol buffer service represented by this
message.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded
messages are set, false otherwise.
|
Api.Builder |
mergeFrom(Api other) |
Api.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
Like
MessageLite.Builder.mergeFrom(CodedInputStream), but also
parses extensions. |
Api.Builder |
mergeFrom(Message other)
Merge
other into the message being built. |
Api.Builder |
mergeSourceContext(SourceContext value)
Source context for the protocol buffer service represented by this
message.
|
Api.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
Merge some unknown fields into the
UnknownFieldSet for this
message. |
Api.Builder |
removeMethods(int index)
The methods of this api, in unspecified order.
|
Api.Builder |
removeMixins(int index)
Included APIs.
|
Api.Builder |
removeOptions(int index)
Any metadata attached to the API.
|
Api.Builder |
setField(Descriptors.FieldDescriptor field,
Object value)
Sets a field to the given value.
|
Api.Builder |
setMethods(int index,
Method.Builder builderForValue)
The methods of this api, in unspecified order.
|
Api.Builder |
setMethods(int index,
Method value)
The methods of this api, in unspecified order.
|
Api.Builder |
setMixins(int index,
Mixin.Builder builderForValue)
Included APIs.
|
Api.Builder |
setMixins(int index,
Mixin value)
Included APIs.
|
Api.Builder |
setName(String value)
The fully qualified name of this api, including package name
followed by the api's simple name.
|
Api.Builder |
setNameBytes(ByteString value)
The fully qualified name of this api, including package name
followed by the api's simple name.
|
Api.Builder |
setOptions(int index,
Option.Builder builderForValue)
Any metadata attached to the API.
|
Api.Builder |
setOptions(int index,
Option value)
Any metadata attached to the API.
|
Api.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value)
Sets an element of a repeated field to the given value.
|
Api.Builder |
setSourceContext(SourceContext.Builder builderForValue)
Source context for the protocol buffer service represented by this
message.
|
Api.Builder |
setSourceContext(SourceContext value)
Source context for the protocol buffer service represented by this
message.
|
Api.Builder |
setSyntax(Syntax value)
The source syntax of the service.
|
Api.Builder |
setSyntaxValue(int value)
The source syntax of the service.
|
Api.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
Set the
UnknownFieldSet for this message. |
Api.Builder |
setVersion(String value)
A version string for this api.
|
Api.Builder |
setVersionBytes(ByteString value)
A version string for this api.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3.BuilderinternalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clear()
GeneratedMessageV3.Builderclear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Api.Builder>public Descriptors.Descriptor getDescriptorForType()
Message.BuilderMessageOrBuilder.getDescriptorForType().getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Api.Builder>public Api getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Api build()
MessageLite.Builderbuild in interface Message.Builderbuild in interface MessageLite.Builderpublic Api buildPartial()
MessageLite.BuilderMessageLite.Builder.build(), but does not throw an exception if the message
is missing required fields. Instead, a partial message is returned.
Subsequent changes to the Builder will not affect the returned message.buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Api.Builder clone()
MessageLite.Builderclone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Api.Builder>Object.clone()public Api.Builder setField(Descriptors.FieldDescriptor field, Object value)
Message.BuilderMessageOrBuilder.getField(Descriptors.FieldDescriptor) would return.setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clearField(Descriptors.FieldDescriptor field)
Message.BuilderclearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clearOneof(Descriptors.OneofDescriptor oneof)
AbstractMessage.BuilderclearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Message.BuilderMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int) would
return.setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Message.BuildersetRepeatedField, but appends the value as a new element.addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder mergeFrom(Message other)
Message.Builderother into the message being built. other must
have the exact same type as this (i.e.
getDescriptorForType() == other.getDescriptorForType()).
Merging occurs as follows. For each field:other,
then other's value overwrites the value in this message.other,
it is merged into the corresponding sub-message of this message
using the same merging rules.other are concatenated
with the elements in this message.
* For oneof groups, if the other message has one of the fields set,
the group of this message is cleared and replaced by the field
of the other message, so that the oneof constraint is preserved.
This is equivalent to the Message::MergeFrom method in C++.mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Api.Builder>public Api.Builder mergeFrom(Api other)
public final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Api.Builder>public Api.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
MessageLite.BuilderMessageLite.Builder.mergeFrom(CodedInputStream), but also
parses extensions. The extensions that you want to be able to parse
must be registered in extensionRegistry. Extensions not in
the registry will be treated as unknown fields.mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Api.Builder>IOExceptionpublic String getName()
The fully qualified name of this api, including package name followed by the api's simple name.
string name = 1;getName in interface ApiOrBuilderpublic ByteString getNameBytes()
The fully qualified name of this api, including package name followed by the api's simple name.
string name = 1;getNameBytes in interface ApiOrBuilderpublic Api.Builder setName(String value)
The fully qualified name of this api, including package name followed by the api's simple name.
string name = 1;public Api.Builder clearName()
The fully qualified name of this api, including package name followed by the api's simple name.
string name = 1;public Api.Builder setNameBytes(ByteString value)
The fully qualified name of this api, including package name followed by the api's simple name.
string name = 1;public List<Method> getMethodsList()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsList in interface ApiOrBuilderpublic int getMethodsCount()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsCount in interface ApiOrBuilderpublic Method getMethods(int index)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethods in interface ApiOrBuilderpublic Api.Builder setMethods(int index, Method value)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder setMethods(int index, Method.Builder builderForValue)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(Method value)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(int index, Method value)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(Method.Builder builderForValue)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(int index, Method.Builder builderForValue)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addAllMethods(Iterable<? extends Method> values)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder clearMethods()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder removeMethods(int index)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Method.Builder getMethodsBuilder(int index)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public MethodOrBuilder getMethodsOrBuilder(int index)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsOrBuilder in interface ApiOrBuilderpublic List<? extends MethodOrBuilder> getMethodsOrBuilderList()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsOrBuilderList in interface ApiOrBuilderpublic Method.Builder addMethodsBuilder()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Method.Builder addMethodsBuilder(int index)
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public List<Method.Builder> getMethodsBuilderList()
The methods of this api, in unspecified order.
repeated .google.protobuf.Method methods = 2;public List<Option> getOptionsList()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;getOptionsList in interface ApiOrBuilderpublic int getOptionsCount()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;getOptionsCount in interface ApiOrBuilderpublic Option getOptions(int index)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;getOptions in interface ApiOrBuilderpublic Api.Builder setOptions(int index, Option value)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder setOptions(int index, Option.Builder builderForValue)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(Option value)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(int index, Option value)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(Option.Builder builderForValue)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(int index, Option.Builder builderForValue)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder addAllOptions(Iterable<? extends Option> values)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder clearOptions()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Api.Builder removeOptions(int index)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Option.Builder getOptionsBuilder(int index)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public OptionOrBuilder getOptionsOrBuilder(int index)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;getOptionsOrBuilder in interface ApiOrBuilderpublic List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;getOptionsOrBuilderList in interface ApiOrBuilderpublic Option.Builder addOptionsBuilder()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public Option.Builder addOptionsBuilder(int index)
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public List<Option.Builder> getOptionsBuilderList()
Any metadata attached to the API.
repeated .google.protobuf.Option options = 3;public 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.
string version = 4;getVersion in interface ApiOrBuilderpublic ByteString getVersionBytes()
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.
string version = 4;getVersionBytes in interface ApiOrBuilderpublic Api.Builder setVersion(String value)
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.
string version = 4;public Api.Builder clearVersion()
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.
string version = 4;public Api.Builder setVersionBytes(ByteString value)
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.
string version = 4;public boolean hasSourceContext()
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;hasSourceContext in interface ApiOrBuilderpublic SourceContext getSourceContext()
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;getSourceContext in interface ApiOrBuilderpublic Api.Builder setSourceContext(SourceContext value)
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;public Api.Builder setSourceContext(SourceContext.Builder builderForValue)
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;public Api.Builder mergeSourceContext(SourceContext value)
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;public Api.Builder clearSourceContext()
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;public SourceContext.Builder getSourceContextBuilder()
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;public SourceContextOrBuilder getSourceContextOrBuilder()
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;getSourceContextOrBuilder in interface ApiOrBuilderpublic List<Mixin> getMixinsList()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsList in interface ApiOrBuilderpublic int getMixinsCount()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsCount in interface ApiOrBuilderpublic Mixin getMixins(int index)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixins in interface ApiOrBuilderpublic Api.Builder setMixins(int index, Mixin value)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder setMixins(int index, Mixin.Builder builderForValue)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(Mixin value)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(int index, Mixin value)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(Mixin.Builder builderForValue)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(int index, Mixin.Builder builderForValue)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addAllMixins(Iterable<? extends Mixin> values)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder clearMixins()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder removeMixins(int index)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Mixin.Builder getMixinsBuilder(int index)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public MixinOrBuilder getMixinsOrBuilder(int index)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsOrBuilder in interface ApiOrBuilderpublic List<? extends MixinOrBuilder> getMixinsOrBuilderList()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsOrBuilderList in interface ApiOrBuilderpublic Mixin.Builder addMixinsBuilder()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Mixin.Builder addMixinsBuilder(int index)
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public List<Mixin.Builder> getMixinsBuilderList()
Included APIs. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public int getSyntaxValue()
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;getSyntaxValue in interface ApiOrBuilderpublic Api.Builder setSyntaxValue(int value)
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;public Syntax getSyntax()
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;getSyntax in interface ApiOrBuilderpublic Api.Builder setSyntax(Syntax value)
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;public Api.Builder clearSyntax()
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;public final Api.Builder setUnknownFields(UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Api.Builder>public final Api.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this
message.mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Api.Builder>Copyright © 2008–2017 Google. All rights reserved.