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 | Class and Description |
|---|---|
| public static class | Api.Builder
Api is a light-weight descriptor for an API Interface. |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final Api | |
| private byte | |
| private List | |
| public static final int | |
| private List | |
| public static final int | |
| private volatile Object | |
| public static final int | |
| private List | |
| public static final int | |
| private static final Parser | |
| private static final long | |
| public static final int | |
| private SourceContext | |
| private int | |
| public static final int | |
| private volatile Object | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
object to be compared for equality with this message obj)Overrides com. Implements com. |
| public static Api | |
| public Api | getDefaultInstanceForType()
Implements com. |
| public static final Descriptors. | |
| public Method | getMethods(int index)
Implements com. The methods of this interface, in unspecified order. |
| public int | getMethodsCount()
Implements com. The methods of this interface, in unspecified order. |
| public List | getMethodsList()
Implements com. The methods of this interface, in unspecified order. |
| public MethodOrBuilder | getMethodsOrBuilder(int index)
Implements com. The methods of this interface, in unspecified order. |
| public List | getMethodsOrBuilderList()
Implements com. The methods of this interface, in unspecified order. |
| public Mixin | |
| public int | |
| public List | |
| public MixinOrBuilder | getMixinsOrBuilder(int index)
Implements com. Included interfaces. |
| public List | getMixinsOrBuilderList()
Implements com. Included interfaces. |
| public String | getName()
Implements com. The fully qualified name of this interface, including package name followed by the interface's simple name. |
| public ByteString | getNameBytes()
Implements com. The fully qualified name of this interface, including package name followed by the interface's simple name. |
| public Option | getOptions(int index)
Implements com. Any metadata attached to the interface. |
| public int | getOptionsCount()
Implements com. Any metadata attached to the interface. |
| public List | getOptionsList()
Implements com. Any metadata attached to the interface. |
| public OptionOrBuilder | getOptionsOrBuilder(int index)
Implements com. Any metadata attached to the interface. |
| public List | getOptionsOrBuilderList()
Implements com. Any metadata attached to the interface. |
| public Parser | getParserForType()
Overrides com. Implements com. |
| public int | getSerializedSize()
Overrides com. Implements com. |
| public SourceContext | getSourceContext()
Implements com. Source context for the protocol buffer service represented by this message. |
| public SourceContextOrBuilder | getSourceContextOrBuilder()
Implements com. Source context for the protocol buffer service represented by this message. |
| public Syntax | |
| public int | getSyntaxValue()
Implements com. The source syntax of the service. |
| public final UnknownFieldSet | getUnknownFields()
Overrides com. Implements com. UnknownFieldSet for this message.
|
| public String | getVersion()
Implements com. A version string for this interface. |
| public ByteString | getVersionBytes()
Implements com. A version string for this interface. |
| public int | hashCode()
Overrides com. Implements com. |
| public boolean | hasSourceContext()
Implements com. Source context for the protocol buffer service represented by this message. |
| protected GeneratedMessageV3. | internalGetFieldAccessorTable()
Implements abstract com. |
| public final boolean | isInitialized()
Overrides com. Implements com. |
| public static Api. | |
| public static Api. | |
| public Api. | newBuilderForType()
Implements com. |
| protected Api. | newBuilderForType(GeneratedMessageV3.
Implements abstract com. |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Api | |
| public static Parser | |
| public Api. | toBuilder()
Implements com. |
| public void | writeTo(CodedOutputStream output)
Overrides com. Implements com. output.
|