public final class Service
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 Google Service Management 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| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
Service |
clone() |
java.util.List<Api> |
getApis()
A list of API interfaces exported by this service.
|
Authentication |
getAuthentication()
Auth configuration.
|
Backend |
getBackend()
API backend configuration.
|
java.lang.Long |
getConfigVersion()
The version of the service configuration.
|
Context |
getContext()
Context configuration.
|
Control |
getControl()
Configuration for the service control plane.
|
CustomError |
getCustomError()
Custom error configuration.
|
Documentation |
getDocumentation()
Additional API documentation.
|
java.util.List<Endpoint> |
getEndpoints()
Configuration for network endpoints.
|
java.util.List<ServiceManagementEnum> |
getEnums()
A list of all enum types included in this API service.
|
Http |
getHttp()
HTTP configuration.
|
java.lang.String |
getId()
A unique ID for a specific instance of this message, typically assigned by the client for
tracking purpose.
|
Logging |
getLogging()
Logging configuration.
|
java.util.List<LogDescriptor> |
getLogs()
Defines the logs used by this service.
|
java.util.List<MetricDescriptor> |
getMetrics()
Defines the metrics used by this service.
|
java.util.List<MonitoredResourceDescriptor> |
getMonitoredResources()
Defines the monitored resources used by this service.
|
Monitoring |
getMonitoring()
Monitoring configuration.
|
java.lang.String |
getName()
The DNS address at which this service is available, e.g.
|
java.lang.String |
getProducerProjectId()
The id of the Google developer project that owns the service.
|
SystemParameters |
getSystemParameters()
System parameter configuration.
|
java.util.List<Type> |
getSystemTypes()
A list of all proto message types included in this API service.
|
java.lang.String |
getTitle()
The product title associated with this service.
|
java.util.List<Type> |
getTypes()
A list of all proto message types included in this API service.
|
Usage |
getUsage()
Configuration controlling usage of this service.
|
Visibility |
getVisibility()
API visibility configuration.
|
Service |
set(java.lang.String fieldName,
java.lang.Object value) |
Service |
setApis(java.util.List<Api> apis)
A list of API interfaces exported by this service.
|
Service |
setAuthentication(Authentication authentication)
Auth configuration.
|
Service |
setBackend(Backend backend)
API backend configuration.
|
Service |
setConfigVersion(java.lang.Long configVersion)
The version of the service configuration.
|
Service |
setContext(Context context)
Context configuration.
|
Service |
setControl(Control control)
Configuration for the service control plane.
|
Service |
setCustomError(CustomError customError)
Custom error configuration.
|
Service |
setDocumentation(Documentation documentation)
Additional API documentation.
|
Service |
setEndpoints(java.util.List<Endpoint> endpoints)
Configuration for network endpoints.
|
Service |
setEnums(java.util.List<ServiceManagementEnum> enums)
A list of all enum types included in this API service.
|
Service |
setHttp(Http http)
HTTP configuration.
|
Service |
setId(java.lang.String id)
A unique ID for a specific instance of this message, typically assigned by the client for
tracking purpose.
|
Service |
setLogging(Logging logging)
Logging configuration.
|
Service |
setLogs(java.util.List<LogDescriptor> logs)
Defines the logs used by this service.
|
Service |
setMetrics(java.util.List<MetricDescriptor> metrics)
Defines the metrics used by this service.
|
Service |
setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources)
Defines the monitored resources used by this service.
|
Service |
setMonitoring(Monitoring monitoring)
Monitoring configuration.
|
Service |
setName(java.lang.String name)
The DNS address at which this service is available, e.g.
|
Service |
setProducerProjectId(java.lang.String producerProjectId)
The id of the Google developer project that owns the service.
|
Service |
setSystemParameters(SystemParameters systemParameters)
System parameter configuration.
|
Service |
setSystemTypes(java.util.List<Type> systemTypes)
A list of all proto message types included in this API service.
|
Service |
setTitle(java.lang.String title)
The product title associated with this service.
|
Service |
setTypes(java.util.List<Type> types)
A list of all proto message types included in this API service.
|
Service |
setUsage(Usage usage)
Configuration controlling usage of this service.
|
Service |
setVisibility(Visibility visibility)
API visibility configuration.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<Api> getApis()
null for nonepublic Service setApis(java.util.List<Api> apis)
apis - apis or null for nonepublic Authentication getAuthentication()
null for nonepublic Service setAuthentication(Authentication authentication)
authentication - authentication or null for nonepublic Backend getBackend()
null for nonepublic Service setBackend(Backend backend)
backend - backend or null for nonepublic java.lang.Long getConfigVersion()
null for nonepublic Service setConfigVersion(java.lang.Long configVersion)
configVersion - configVersion or null for nonepublic Context getContext()
null for nonepublic Service setContext(Context context)
context - context or null for nonepublic Control getControl()
null for nonepublic Service setControl(Control control)
control - control or null for nonepublic CustomError getCustomError()
null for nonepublic Service setCustomError(CustomError customError)
customError - customError or null for nonepublic Documentation getDocumentation()
null for nonepublic Service setDocumentation(Documentation documentation)
documentation - documentation or null for nonepublic java.util.List<Endpoint> getEndpoints()
null for nonepublic Service setEndpoints(java.util.List<Endpoint> endpoints)
endpoints - endpoints or null for nonepublic java.util.List<ServiceManagementEnum> getEnums()
null for nonepublic Service setEnums(java.util.List<ServiceManagementEnum> enums)
enums - enums or null for nonepublic Http getHttp()
null for nonepublic Service setHttp(Http http)
http - http or null for nonepublic java.lang.String getId()
null for nonepublic Service setId(java.lang.String id)
id - id or null for nonepublic Logging getLogging()
null for nonepublic Service setLogging(Logging logging)
logging - logging or null for nonepublic java.util.List<LogDescriptor> getLogs()
null for nonepublic Service setLogs(java.util.List<LogDescriptor> logs)
logs - logs or null for nonepublic java.util.List<MetricDescriptor> getMetrics()
null for nonepublic Service setMetrics(java.util.List<MetricDescriptor> metrics)
metrics - metrics or null for nonepublic java.util.List<MonitoredResourceDescriptor> getMonitoredResources()
null for nonepublic Service setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources)
monitoredResources - monitoredResources or null for nonepublic Monitoring getMonitoring()
null for nonepublic Service setMonitoring(Monitoring monitoring)
monitoring - monitoring or null for nonepublic java.lang.String getName()
null for nonepublic Service setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getProducerProjectId()
null for nonepublic Service setProducerProjectId(java.lang.String producerProjectId)
producerProjectId - producerProjectId or null for nonepublic SystemParameters getSystemParameters()
null for nonepublic Service setSystemParameters(SystemParameters systemParameters)
systemParameters - systemParameters or null for nonepublic java.util.List<Type> getSystemTypes()
null for nonepublic Service setSystemTypes(java.util.List<Type> systemTypes)
systemTypes - systemTypes or null for nonepublic java.lang.String getTitle()
null for nonepublic Service setTitle(java.lang.String title)
title - title or null for nonepublic java.util.List<Type> getTypes()
null for nonepublic Service setTypes(java.util.List<Type> types)
types - types or null for nonepublic Usage getUsage()
null for nonepublic Service setUsage(Usage usage)
usage - usage or null for nonepublic Visibility getVisibility()
null for nonepublic Service setVisibility(Visibility visibility)
visibility - visibility or null for nonepublic Service set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Service clone()
clone in class com.google.api.client.json.GenericJson