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(Descriptors.FieldDescriptor field,
java.lang.Object value)
Like
setRepeatedField, but appends the value as a new element. |
Api |
build()
Constructs the message based on the state of the Builder.
|