public static final class Api.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder> implements ApiOrBuilder
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.Protobuf type
google.protobuf.Api| Modifier and Type | Method and Description |
|---|---|
Api.Builder |
addAllMethods(java.lang.Iterable<? extends Method> values)
The methods of this interface, in unspecified order.
|
Api.Builder |
addAllMixins(java.lang.Iterable<? extends Mixin> values)
Included interfaces.
|
Api.Builder |
addAllOptions(java.lang.Iterable<? extends Option> values)
Any metadata attached to the interface.
|
Api.Builder |
addMethods(int index,
Method.Builder builderForValue)
The methods of this interface, in unspecified order.
|
Api.Builder |
addMethods(int index,
Method value)
The methods of this interface, in unspecified order.
|
Api.Builder |
addMethods(Method.Builder builderForValue)
The methods of this interface, in unspecified order.
|
Api.Builder |
addMethods(Method value)
The methods of this interface, in unspecified order.
|
Method.Builder |
addMethodsBuilder()
The methods of this interface, in unspecified order.
|
Method.Builder |
addMethodsBuilder(int index)
The methods of this interface, in unspecified order.
|
Api.Builder |
addMixins(int index,
Mixin.Builder builderForValue)
Included interfaces.
|
Api.Builder |
addMixins(int index,
Mixin value)
Included interfaces.
|
Api.Builder |
addMixins(Mixin.Builder builderForValue)
Included interfaces.
|
Api.Builder |
addMixins(Mixin value)
Included interfaces.
|
Mixin.Builder |
addMixinsBuilder()
Included interfaces.
|
Mixin.Builder |
addMixinsBuilder(int index)
Included interfaces.
|
Api.Builder |
addOptions(int index,
Option.Builder builderForValue)
Any metadata attached to the interface.
|
Api.Builder |
addOptions(int index,
Option value)
Any metadata attached to the interface.
|
Api.Builder |
addOptions(Option.Builder builderForValue)
Any metadata attached to the interface.
|
Api.Builder |
addOptions(Option value)
Any metadata attached to the interface.
|
Option.Builder |
addOptionsBuilder()
Any metadata attached to the interface.
|
Option.Builder |
addOptionsBuilder(int index)
Any metadata attached to the interface.
|
Api.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Api |
build() |
Api |
buildPartial() |
Api.Builder |
clear() |
Api.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Api.Builder |
clearMethods()
The methods of this interface, in unspecified order.
|
Api.Builder |
clearMixins()
Included interfaces.
|
Api.Builder |
clearName()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
Api.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Api.Builder |
clearOptions()
Any metadata attached to the interface.
|
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 interface.
|
Api.Builder |
clone() |
Api |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Method |
getMethods(int index)
The methods of this interface, in unspecified order.
|
Method.Builder |
getMethodsBuilder(int index)
The methods of this interface, in unspecified order.
|
java.util.List<Method.Builder> |
getMethodsBuilderList()
The methods of this interface, in unspecified order.
|
int |
getMethodsCount()
The methods of this interface, in unspecified order.
|
java.util.List<Method> |
getMethodsList()
The methods of this interface, in unspecified order.
|
MethodOrBuilder |
getMethodsOrBuilder(int index)
The methods of this interface, in unspecified order.
|
java.util.List<? extends MethodOrBuilder> |
getMethodsOrBuilderList()
The methods of this interface, in unspecified order.
|
Mixin |
getMixins(int index)
Included interfaces.
|
Mixin.Builder |
getMixinsBuilder(int index)
Included interfaces.
|
java.util.List<Mixin.Builder> |
getMixinsBuilderList()
Included interfaces.
|
int |
getMixinsCount()
Included interfaces.
|
java.util.List<Mixin> |
getMixinsList()
Included interfaces.
|
MixinOrBuilder |
getMixinsOrBuilder(int index)
Included interfaces.
|
java.util.List<? extends MixinOrBuilder> |
getMixinsOrBuilderList()
Included interfaces.
|
java.lang.String |
getName()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
com.google.protobuf.ByteString |
getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
Option |
getOptions(int index)
Any metadata attached to the interface.
|
Option.Builder |
getOptionsBuilder(int index)
Any metadata attached to the interface.
|
java.util.List<Option.Builder> |
getOptionsBuilderList()
Any metadata attached to the interface.
|
int |
getOptionsCount()
Any metadata attached to the interface.
|
java.util.List<Option> |
getOptionsList()
Any metadata attached to the interface.
|
OptionOrBuilder |
getOptionsOrBuilder(int index)
Any metadata attached to the interface.
|
java.util.List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
Any metadata attached to the interface.
|
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.
|
java.lang.String |
getVersion()
A version string for this interface.
|
com.google.protobuf.ByteString |
getVersionBytes()
A version string for this interface.
|
boolean |
hasSourceContext()
Source context for the protocol buffer service represented by this
message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Api.Builder |
mergeFrom(Api other) |
Api.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Api.Builder |
mergeFrom(com.google.protobuf.Message other) |
Api.Builder |
mergeSourceContext(SourceContext value)
Source context for the protocol buffer service represented by this
message.
|
Api.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Api.Builder |
removeMethods(int index)
The methods of this interface, in unspecified order.
|
Api.Builder |
removeMixins(int index)
Included interfaces.
|
Api.Builder |
removeOptions(int index)
Any metadata attached to the interface.
|
Api.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Api.Builder |
setMethods(int index,
Method.Builder builderForValue)
The methods of this interface, in unspecified order.
|
Api.Builder |
setMethods(int index,
Method value)
The methods of this interface, in unspecified order.
|
Api.Builder |
setMixins(int index,
Mixin.Builder builderForValue)
Included interfaces.
|
Api.Builder |
setMixins(int index,
Mixin value)
Included interfaces.
|
Api.Builder |
setName(java.lang.String value)
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
Api.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
Api.Builder |
setOptions(int index,
Option.Builder builderForValue)
Any metadata attached to the interface.
|
Api.Builder |
setOptions(int index,
Option value)
Any metadata attached to the interface.
|
Api.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object 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(com.google.protobuf.UnknownFieldSet unknownFields) |
Api.Builder |
setVersion(java.lang.String value)
A version string for this interface.
|
Api.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
A version string for this interface.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Api build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Api buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Api.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Api.Builder>public Api.Builder mergeFrom(Api other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public Api.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Api.Builder>java.io.IOExceptionpublic java.lang.String getName()
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;getName in interface ApiOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;getNameBytes in interface ApiOrBuilderpublic Api.Builder setName(java.lang.String value)
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;public Api.Builder clearName()
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;public Api.Builder setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;public java.util.List<Method> getMethodsList()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsList in interface ApiOrBuilderpublic int getMethodsCount()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsCount in interface ApiOrBuilderpublic Method getMethods(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethods in interface ApiOrBuilderpublic Api.Builder setMethods(int index, Method value)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder setMethods(int index, Method.Builder builderForValue)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(Method value)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(int index, Method value)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(Method.Builder builderForValue)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addMethods(int index, Method.Builder builderForValue)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder addAllMethods(java.lang.Iterable<? extends Method> values)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder clearMethods()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Api.Builder removeMethods(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Method.Builder getMethodsBuilder(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public MethodOrBuilder getMethodsOrBuilder(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsOrBuilder in interface ApiOrBuilderpublic java.util.List<? extends MethodOrBuilder> getMethodsOrBuilderList()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;getMethodsOrBuilderList in interface ApiOrBuilderpublic Method.Builder addMethodsBuilder()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public Method.Builder addMethodsBuilder(int index)
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public java.util.List<Method.Builder> getMethodsBuilderList()
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;public java.util.List<Option> getOptionsList()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;getOptionsList in interface ApiOrBuilderpublic int getOptionsCount()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;getOptionsCount in interface ApiOrBuilderpublic Option getOptions(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;getOptions in interface ApiOrBuilderpublic Api.Builder setOptions(int index, Option value)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder setOptions(int index, Option.Builder builderForValue)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(Option value)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(int index, Option value)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(Option.Builder builderForValue)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder addOptions(int index, Option.Builder builderForValue)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder addAllOptions(java.lang.Iterable<? extends Option> values)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder clearOptions()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Api.Builder removeOptions(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Option.Builder getOptionsBuilder(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public OptionOrBuilder getOptionsOrBuilder(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;getOptionsOrBuilder in interface ApiOrBuilderpublic java.util.List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;getOptionsOrBuilderList in interface ApiOrBuilderpublic Option.Builder addOptionsBuilder()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public Option.Builder addOptionsBuilder(int index)
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public java.util.List<Option.Builder> getOptionsBuilderList()
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;public 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;getVersion in interface ApiOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
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;getVersionBytes in interface ApiOrBuilderpublic Api.Builder setVersion(java.lang.String value)
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;public Api.Builder clearVersion()
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;public Api.Builder setVersionBytes(com.google.protobuf.ByteString value)
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;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 java.util.List<Mixin> getMixinsList()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsList in interface ApiOrBuilderpublic int getMixinsCount()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsCount in interface ApiOrBuilderpublic Mixin getMixins(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixins in interface ApiOrBuilderpublic Api.Builder setMixins(int index, Mixin value)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder setMixins(int index, Mixin.Builder builderForValue)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(Mixin value)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(int index, Mixin value)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(Mixin.Builder builderForValue)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addMixins(int index, Mixin.Builder builderForValue)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder addAllMixins(java.lang.Iterable<? extends Mixin> values)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder clearMixins()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Api.Builder removeMixins(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Mixin.Builder getMixinsBuilder(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public MixinOrBuilder getMixinsOrBuilder(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsOrBuilder in interface ApiOrBuilderpublic java.util.List<? extends MixinOrBuilder> getMixinsOrBuilderList()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;getMixinsOrBuilderList in interface ApiOrBuilderpublic Mixin.Builder addMixinsBuilder()
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public Mixin.Builder addMixinsBuilder(int index)
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;public java.util.List<Mixin.Builder> getMixinsBuilderList()
Included interfaces. 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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>public final Api.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>