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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Api() |
Modifier and Type | Method and Description |
---|---|
Api |
clone() |
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Api clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.