Package com.google.protobuf
Class Api.Builder
- All Implemented Interfaces:
ApiOrBuilder
,Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
- Enclosing class:
Api
public static final class Api.Builder
extends 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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Object
private SourceContext
private int
private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMethods
(Iterable<? extends Method> values) The methods of this interface, in unspecified order.addAllMixins
(Iterable<? extends Mixin> values) Included interfaces.addAllOptions
(Iterable<? extends Option> values) Any metadata attached to the interface.addMethods
(int index, Method value) The methods of this interface, in unspecified order.addMethods
(int index, Method.Builder builderForValue) The methods of this interface, in unspecified order.addMethods
(Method value) The methods of this interface, in unspecified order.addMethods
(Method.Builder builderForValue) The methods of this interface, in unspecified order.The methods of this interface, in unspecified order.addMethodsBuilder
(int index) The methods of this interface, in unspecified order.Included interfaces.addMixins
(int index, Mixin.Builder builderForValue) Included interfaces.Included interfaces.addMixins
(Mixin.Builder builderForValue) Included interfaces.Included interfaces.addMixinsBuilder
(int index) Included interfaces.addOptions
(int index, Option value) Any metadata attached to the interface.addOptions
(int index, Option.Builder builderForValue) Any metadata attached to the interface.addOptions
(Option value) Any metadata attached to the interface.addOptions
(Option.Builder builderForValue) Any metadata attached to the interface.Any metadata attached to the interface.addOptionsBuilder
(int index) Any metadata attached to the interface.addRepeatedField
(Descriptors.FieldDescriptor field, Object value) LikesetRepeatedField
, but appends the value as a new element.build()
Constructs the message based on the state of the Builder.LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields.clear()
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.Clears the field.The methods of this interface, in unspecified order.Included interfaces.The fully qualified name of this interface, including package name followed by the interface's simple name.TODO(jieluo): Clear it when all subclasses have implemented this method.Any metadata attached to the interface.Source context for the protocol buffer service represented by this message.The source syntax of the service.A version string for this interface.clone()
Clones the Builder.private void
private void
private void
Get an instance of the type with no fields set.static final Descriptors.Descriptor
Get the message's type's descriptor.getMethods
(int index) The methods of this interface, in unspecified order.getMethodsBuilder
(int index) The methods of this interface, in unspecified order.The methods of this interface, in unspecified order.int
The methods of this interface, in unspecified order.The methods of this interface, in unspecified order.getMethodsOrBuilder
(int index) The methods of this interface, in unspecified order.List
<? extends MethodOrBuilder> The methods of this interface, in unspecified order.getMixins
(int index) Included interfaces.getMixinsBuilder
(int index) Included interfaces.Included interfaces.int
Included interfaces.Included interfaces.getMixinsOrBuilder
(int index) Included interfaces.List
<? extends MixinOrBuilder> Included interfaces.getName()
The fully qualified name of this interface, including package name followed by the interface's simple name.The fully qualified name of this interface, including package name followed by the interface's simple name.getOptions
(int index) Any metadata attached to the interface.getOptionsBuilder
(int index) Any metadata attached to the interface.Any metadata attached to the interface.int
Any metadata attached to the interface.Any metadata attached to the interface.getOptionsOrBuilder
(int index) Any metadata attached to the interface.List
<? extends OptionOrBuilder> Any metadata attached to the interface.Source context for the protocol buffer service represented by this message.Source context for the protocol buffer service represented by this message.Source context for the protocol buffer service represented by this message.Source context for the protocol buffer service represented by this message.The source syntax of the service.int
The source syntax of the service.A version string for this interface.A version string for this interface.boolean
Source context for the protocol buffer service represented by this message.protected GeneratedMessageV3.FieldAccessorTable
Get the FieldAccessorTable for this type.final boolean
Returns true if all required fields in the message and all embedded messages are set, false otherwise.mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions.Mergeother
into the message being built.mergeSourceContext
(SourceContext value) Source context for the protocol buffer service represented by this message.final Api.Builder
mergeUnknownFields
(UnknownFieldSet unknownFields) Merge some unknown fields into theUnknownFieldSet
for this message.removeMethods
(int index) The methods of this interface, in unspecified order.removeMixins
(int index) Included interfaces.removeOptions
(int index) Any metadata attached to the interface.setField
(Descriptors.FieldDescriptor field, Object value) Sets a field to the given value.setMethods
(int index, Method value) The methods of this interface, in unspecified order.setMethods
(int index, Method.Builder builderForValue) The methods of this interface, in unspecified order.Included interfaces.setMixins
(int index, Mixin.Builder builderForValue) Included interfaces.The fully qualified name of this interface, including package name followed by the interface's simple name.setNameBytes
(ByteString value) The fully qualified name of this interface, including package name followed by the interface's simple name.setOptions
(int index, Option value) Any metadata attached to the interface.setOptions
(int index, Option.Builder builderForValue) Any metadata attached to the interface.setRepeatedField
(Descriptors.FieldDescriptor field, int index, Object value) Sets an element of a repeated field to the given value.setSourceContext
(SourceContext value) Source context for the protocol buffer service represented by this message.setSourceContext
(SourceContext.Builder builderForValue) Source context for the protocol buffer service represented by this message.The source syntax of the service.setSyntaxValue
(int value) The source syntax of the service.final Api.Builder
setUnknownFields
(UnknownFieldSet unknownFields) Set theUnknownFieldSet
for this message.setVersion
(String value) A version string for this interface.setVersionBytes
(ByteString value) A version string for this interface.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
dispose, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
name_
-
methods_
-
methodsBuilder_
-
options_
-
optionsBuilder_
-
version_
-
sourceContext_
-
sourceContextBuilder_
private SingleFieldBuilderV3<SourceContext,SourceContext.Builder, sourceContextBuilder_SourceContextOrBuilder> -
mixins_
-
mixinsBuilder_
-
syntax_
private int syntax_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessageV3.Builder
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<Api.Builder>
-
clear
Description copied from class:GeneratedMessageV3.Builder
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<Api.Builder>
-
getDescriptorForType
Description copied from interface:Message.Builder
Get the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType()
.- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<Api.Builder>
-
getDefaultInstanceForType
Description copied from interface:MessageLiteOrBuilder
Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()
method of generated message classes in that this method is an abstract method of theMessageLite
interface whereasgetDefaultInstance()
is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
Description copied from interface:MessageLite.Builder
Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
Description copied from interface:MessageLite.Builder
LikeMessageLite.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.- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
Description copied from interface:MessageLite.Builder
Clones the Builder.- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<Api.Builder>
- See Also:
-
setField
Description copied from interface:Message.Builder
Sets a field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)
would return.- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<Api.Builder>
-
clearField
Description copied from interface:Message.Builder
Clears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<Api.Builder>
-
clearOneof
Description copied from class:AbstractMessage.Builder
TODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<Api.Builder>
-
setRepeatedField
Description copied from interface:Message.Builder
Sets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)
would return.- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<Api.Builder>
-
addRepeatedField
Description copied from interface:Message.Builder
LikesetRepeatedField
, but appends the value as a new element.- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<Api.Builder>
-
mergeFrom
Description copied from interface:Message.Builder
Mergeother
into the message being built.other
must have the exact same type asthis
(i.e.getDescriptorForType() == other.getDescriptorForType()
).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother
, thenother
's value overwrites the value in this message.
* For singular message fields, if the field is set inother
, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inother
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++.- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Api.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()Description copied from interface:MessageLiteOrBuilder
Returns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<Api.Builder>
-
mergeFrom
public Api.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException Description copied from interface:MessageLite.Builder
LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry
. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Api.Builder>
- Throws:
IOException
-
getName
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;
- Specified by:
getName
in interfaceApiOrBuilder
- Returns:
- The name.
-
getNameBytes
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;
- Specified by:
getNameBytes
in interfaceApiOrBuilder
- Returns:
- The bytes for name.
-
setName
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
The fully qualified name of this interface, including package name followed by the interface's simple name.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
ensureMethodsIsMutable
private void ensureMethodsIsMutable() -
getMethodsList
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
- Specified by:
getMethodsList
in interfaceApiOrBuilder
-
getMethodsCount
public int getMethodsCount()The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
- Specified by:
getMethodsCount
in interfaceApiOrBuilder
-
getMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
- Specified by:
getMethods
in interfaceApiOrBuilder
-
setMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
setMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addAllMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
clearMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
removeMethods
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
getMethodsBuilder
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
getMethodsOrBuilder
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
- Specified by:
getMethodsOrBuilder
in interfaceApiOrBuilder
-
getMethodsOrBuilderList
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
- Specified by:
getMethodsOrBuilderList
in interfaceApiOrBuilder
-
addMethodsBuilder
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
addMethodsBuilder
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
getMethodsBuilderList
The methods of this interface, in unspecified order.
repeated .google.protobuf.Method methods = 2;
-
getMethodsFieldBuilder
-
ensureOptionsIsMutable
private void ensureOptionsIsMutable() -
getOptionsList
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
- Specified by:
getOptionsList
in interfaceApiOrBuilder
-
getOptionsCount
public int getOptionsCount()Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
- Specified by:
getOptionsCount
in interfaceApiOrBuilder
-
getOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
- Specified by:
getOptions
in interfaceApiOrBuilder
-
setOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
setOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addAllOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
clearOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
removeOptions
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
getOptionsBuilder
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
getOptionsOrBuilder
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
- Specified by:
getOptionsOrBuilder
in interfaceApiOrBuilder
-
getOptionsOrBuilderList
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
- Specified by:
getOptionsOrBuilderList
in interfaceApiOrBuilder
-
addOptionsBuilder
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
addOptionsBuilder
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
getOptionsBuilderList
Any metadata attached to the interface.
repeated .google.protobuf.Option options = 3;
-
getOptionsFieldBuilder
-
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;
- Specified by:
getVersion
in interfaceApiOrBuilder
- Returns:
- The version.
-
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;
- Specified by:
getVersionBytes
in interfaceApiOrBuilder
- Returns:
- The bytes for version.
-
setVersion
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;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setVersionBytes
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;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasSourceContext
public boolean hasSourceContext()Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
- Specified by:
hasSourceContext
in interfaceApiOrBuilder
- Returns:
- Whether the sourceContext field is set.
-
getSourceContext
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
- Specified by:
getSourceContext
in interfaceApiOrBuilder
- Returns:
- The sourceContext.
-
setSourceContext
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
setSourceContext
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
mergeSourceContext
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
clearSourceContext
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
getSourceContextBuilder
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
getSourceContextOrBuilder
Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
- Specified by:
getSourceContextOrBuilder
in interfaceApiOrBuilder
-
getSourceContextFieldBuilder
private SingleFieldBuilderV3<SourceContext,SourceContext.Builder, getSourceContextFieldBuilder()SourceContextOrBuilder> Source context for the protocol buffer service represented by this message.
.google.protobuf.SourceContext source_context = 5;
-
ensureMixinsIsMutable
private void ensureMixinsIsMutable() -
getMixinsList
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
- Specified by:
getMixinsList
in interfaceApiOrBuilder
-
getMixinsCount
public int getMixinsCount()Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
- Specified by:
getMixinsCount
in interfaceApiOrBuilder
-
getMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
- Specified by:
getMixins
in interfaceApiOrBuilder
-
setMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
setMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addAllMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
clearMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
removeMixins
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
getMixinsBuilder
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
getMixinsOrBuilder
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
- Specified by:
getMixinsOrBuilder
in interfaceApiOrBuilder
-
getMixinsOrBuilderList
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
- Specified by:
getMixinsOrBuilderList
in interfaceApiOrBuilder
-
addMixinsBuilder
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
addMixinsBuilder
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
getMixinsBuilderList
Included interfaces. See [Mixin][].
repeated .google.protobuf.Mixin mixins = 6;
-
getMixinsFieldBuilder
-
getSyntaxValue
public int getSyntaxValue()The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
- Specified by:
getSyntaxValue
in interfaceApiOrBuilder
- Returns:
- The enum numeric value on the wire for syntax.
-
setSyntaxValue
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
- Parameters:
value
- The enum numeric value on the wire for syntax to set.- Returns:
- This builder for chaining.
-
getSyntax
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
- Specified by:
getSyntax
in interfaceApiOrBuilder
- Returns:
- The syntax.
-
setSyntax
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
- Parameters:
value
- The syntax to set.- Returns:
- This builder for chaining.
-
clearSyntax
The source syntax of the service.
.google.protobuf.Syntax syntax = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
Description copied from interface:Message.Builder
Set theUnknownFieldSet
for this message.- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<Api.Builder>
-
mergeUnknownFields
Description copied from interface:Message.Builder
Merge some unknown fields into theUnknownFieldSet
for this message.- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<Api.Builder>
-