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 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 |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
Service |
clone() |
List<Api> |
getApis()
A list of API interfaces exported by this service.
|
List<Aspect> |
getAspects()
Configuration aspects.
|
Authentication |
getAuthentication()
Auth configuration.
|
Backend |
getBackend()
API backend configuration.
|
Billing |
getBilling()
Billing configuration.
|
Long |
getConfigVersion()
Obsolete.
|
Context |
getContext()
Context configuration.
|
Control |
getControl()
Configuration for the service control plane.
|
CustomError |
getCustomError()
Custom error configuration.
|
Documentation |
getDocumentation()
Additional API documentation.
|
List<Endpoint> |
getEndpoints()
Configuration for network endpoints.
|
List<ServiceNetworkingEnum> |
getEnums()
A list of all enum types included in this API service.
|
Http |
getHttp()
HTTP configuration.
|
String |
getId()
A unique ID for a specific instance of this message, typically assigned by the client for
tracking purpose.
|
Logging |
getLogging()
Logging configuration.
|
List<LogDescriptor> |
getLogs()
Defines the logs used by this service.
|
List<MetricDescriptor> |
getMetrics()
Defines the metrics used by this service.
|
List<MonitoredResourceDescriptor> |
getMonitoredResources()
Defines the monitored resources used by this service.
|
Monitoring |
getMonitoring()
Monitoring configuration.
|
String |
getName()
The service name, which is a DNS-like logical identifier for the service, such as
`calendar.googleapis.com`.
|
String |
getProducerProjectId()
The Google project that owns this service.
|
Publishing |
getPublishing()
Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-
libraries) generated from APIs defined as protocol buffers.
|
Quota |
getQuota()
Quota configuration.
|
SourceInfo |
getSourceInfo()
Output only.
|
SystemParameters |
getSystemParameters()
System parameter configuration.
|
List<Type> |
getSystemTypes()
A list of all proto message types included in this API service.
|
String |
getTitle()
The product title for this service, it is the name displayed in Google Cloud Console.
|
List<Type> |
getTypes()
A list of all proto message types included in this API service.
|
Usage |
getUsage()
Configuration controlling usage of this service.
|
Service |
set(String fieldName,
Object value) |
Service |
setApis(List<Api> apis)
A list of API interfaces exported by this service.
|
Service |
setAspects(List<Aspect> aspects)
Configuration aspects.
|
Service |
setAuthentication(Authentication authentication)
Auth configuration.
|
Service |
setBackend(Backend backend)
API backend configuration.
|
Service |
setBilling(Billing billing)
Billing configuration.
|
Service |
setConfigVersion(Long configVersion)
Obsolete.
|
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(List<Endpoint> endpoints)
Configuration for network endpoints.
|
Service |
setEnums(List<ServiceNetworkingEnum> enums)
A list of all enum types included in this API service.
|
Service |
setHttp(Http http)
HTTP configuration.
|
Service |
setId(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(List<LogDescriptor> logs)
Defines the logs used by this service.
|
Service |
setMetrics(List<MetricDescriptor> metrics)
Defines the metrics used by this service.
|
Service |
setMonitoredResources(List<MonitoredResourceDescriptor> monitoredResources)
Defines the monitored resources used by this service.
|
Service |
setMonitoring(Monitoring monitoring)
Monitoring configuration.
|
Service |
setName(String name)
The service name, which is a DNS-like logical identifier for the service, such as
`calendar.googleapis.com`.
|
Service |
setProducerProjectId(String producerProjectId)
The Google project that owns this service.
|
Service |
setPublishing(Publishing publishing)
Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-
libraries) generated from APIs defined as protocol buffers.
|
Service |
setQuota(Quota quota)
Quota configuration.
|
Service |
setSourceInfo(SourceInfo sourceInfo)
Output only.
|
Service |
setSystemParameters(SystemParameters systemParameters)
System parameter configuration.
|
Service |
setSystemTypes(List<Type> systemTypes)
A list of all proto message types included in this API service.
|
Service |
setTitle(String title)
The product title for this service, it is the name displayed in Google Cloud Console.
|
Service |
setTypes(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.
|
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 List<Api> getApis()
null for nonepublic Service setApis(List<Api> apis)
apis - apis or null for nonepublic List<Aspect> getAspects()
null for nonepublic Service setAspects(List<Aspect> aspects)
aspects - aspects 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 Billing getBilling()
null for nonepublic Service setBilling(Billing billing)
billing - billing or null for nonepublic Long getConfigVersion()
null for nonepublic Service setConfigVersion(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 List<Endpoint> getEndpoints()
null for nonepublic Service setEndpoints(List<Endpoint> endpoints)
endpoints - endpoints or null for nonepublic List<ServiceNetworkingEnum> getEnums()
null for nonepublic Service setEnums(List<ServiceNetworkingEnum> enums)
enums - enums or null for nonepublic Http getHttp()
null for nonepublic Service setHttp(Http http)
http - http or null for nonepublic String getId()
null for nonepublic Service setId(String id)
id - id or null for nonepublic Logging getLogging()
null for nonepublic Service setLogging(Logging logging)
logging - logging or null for nonepublic List<LogDescriptor> getLogs()
null for nonepublic Service setLogs(List<LogDescriptor> logs)
logs - logs or null for nonepublic List<MetricDescriptor> getMetrics()
null for nonepublic Service setMetrics(List<MetricDescriptor> metrics)
metrics - metrics or null for nonepublic List<MonitoredResourceDescriptor> getMonitoredResources()
null for nonepublic Service setMonitoredResources(List<MonitoredResourceDescriptor> monitoredResources)
monitoredResources - monitoredResources or null for nonepublic Monitoring getMonitoring()
null for nonepublic Service setMonitoring(Monitoring monitoring)
monitoring - monitoring or null for nonepublic String getName()
null for nonepublic Service setName(String name)
name - name or null for nonepublic String getProducerProjectId()
null for nonepublic Service setProducerProjectId(String producerProjectId)
producerProjectId - producerProjectId or null for nonepublic Publishing getPublishing()
null for nonepublic Service setPublishing(Publishing publishing)
publishing - publishing or null for nonepublic Quota getQuota()
null for nonepublic Service setQuota(Quota quota)
quota - quota or null for nonepublic SourceInfo getSourceInfo()
null for nonepublic Service setSourceInfo(SourceInfo sourceInfo)
sourceInfo - sourceInfo or null for nonepublic SystemParameters getSystemParameters()
null for nonepublic Service setSystemParameters(SystemParameters systemParameters)
systemParameters - systemParameters or null for nonepublic List<Type> getSystemTypes()
null for nonepublic Service setSystemTypes(List<Type> systemTypes)
systemTypes - systemTypes or null for nonepublic String getTitle()
null for nonepublic Service setTitle(String title)
title - title or null for nonepublic List<Type> getTypes()
null for nonepublic Service setTypes(List<Type> types)
types - types or null for nonepublic Usage getUsage()
null for nonepublic Service setUsage(Usage usage)
usage - usage or null for nonepublic Service set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Service clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.