public final class Api
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Networking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Api() |
| Modifier and Type | Method and Description |
|---|---|
Api |
clone() |
String |
getEdition()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
List<Method> |
getMethods()
The methods of this interface, in unspecified order.
|
List<Mixin> |
getMixins()
Included interfaces.
|
String |
getName()
The fully qualified name of this interface, including package name followed by the interface's
simple name.
|
List<Option> |
getOptions()
Any metadata attached to the interface.
|
SourceContext |
getSourceContext()
Source context for the protocol buffer service represented by this message.
|
String |
getSyntax()
The source syntax of the service.
|
String |
getVersion()
A version string for this interface.
|
Api |
set(String fieldName,
Object value) |
Api |
setEdition(String edition)
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
Api |
setMethods(List<Method> methods)
The methods of this interface, in unspecified order.
|
Api |
setMixins(List<Mixin> mixins)
Included interfaces.
|
Api |
setName(String name)
The fully qualified name of this interface, including package name followed by the interface's
simple name.
|
Api |
setOptions(List<Option> options)
Any metadata attached to the interface.
|
Api |
setSourceContext(SourceContext sourceContext)
Source context for the protocol buffer service represented by this message.
|
Api |
setSyntax(String syntax)
The source syntax of the service.
|
Api |
setVersion(String version)
A version string for this interface.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getEdition()
null for nonepublic Api setEdition(String edition)
edition - edition or null for nonepublic List<Method> getMethods()
null for nonepublic Api setMethods(List<Method> methods)
methods - methods or null for nonepublic List<Mixin> getMixins()
null for nonepublic Api setMixins(List<Mixin> mixins)
mixins - mixins or null for nonepublic String getName()
null for nonepublic Api setName(String name)
name - name or null for nonepublic List<Option> getOptions()
null for nonepublic Api setOptions(List<Option> options)
options - options or null for nonepublic SourceContext getSourceContext()
null for nonepublic Api setSourceContext(SourceContext sourceContext)
sourceContext - sourceContext or null for nonepublic String getSyntax()
null for nonepublic Api setSyntax(String syntax)
syntax - syntax or null for nonepublic String getVersion()
null for nonepublic Api setVersion(String version)
version - version or null for nonepublic Api set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Api clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.