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 Cloud Monitoring 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() |
AppEngine |
getAppEngine()
Type used for App Engine services.
|
BasicService |
getBasicService()
Message that contains the service type and service labels of this service if it is a basic
service.
|
CloudEndpoints |
getCloudEndpoints()
Type used for Cloud Endpoints services.
|
CloudRun |
getCloudRun()
Type used for Cloud Run services.
|
ClusterIstio |
getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
Custom |
getCustom()
Custom service type.
|
String |
getDisplayName()
Name used for UI elements listing this Service.
|
GkeNamespace |
getGkeNamespace()
Type used for GKE Namespaces.
|
GkeService |
getGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
|
GkeWorkload |
getGkeWorkload()
Type used for GKE Workloads.
|
IstioCanonicalService |
getIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh.
|
MeshIstio |
getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
|
String |
getName()
Identifier.
|
Telemetry |
getTelemetry()
Configuration for how to query telemetry on a Service.
|
Map<String,String> |
getUserLabels()
Labels which have been used to annotate the service.
|
Service |
set(String fieldName,
Object value) |
Service |
setAppEngine(AppEngine appEngine)
Type used for App Engine services.
|
Service |
setBasicService(BasicService basicService)
Message that contains the service type and service labels of this service if it is a basic
service.
|
Service |
setCloudEndpoints(CloudEndpoints cloudEndpoints)
Type used for Cloud Endpoints services.
|
Service |
setCloudRun(CloudRun cloudRun)
Type used for Cloud Run services.
|
Service |
setClusterIstio(ClusterIstio clusterIstio)
Type used for Istio services that live in a Kubernetes cluster.
|
Service |
setCustom(Custom custom)
Custom service type.
|
Service |
setDisplayName(String displayName)
Name used for UI elements listing this Service.
|
Service |
setGkeNamespace(GkeNamespace gkeNamespace)
Type used for GKE Namespaces.
|
Service |
setGkeService(GkeService gkeService)
Type used for GKE Services (the Kubernetes concept of a service).
|
Service |
setGkeWorkload(GkeWorkload gkeWorkload)
Type used for GKE Workloads.
|
Service |
setIstioCanonicalService(IstioCanonicalService istioCanonicalService)
Type used for canonical services scoped to an Istio mesh.
|
Service |
setMeshIstio(MeshIstio meshIstio)
Type used for Istio services scoped to an Istio mesh.
|
Service |
setName(String name)
Identifier.
|
Service |
setTelemetry(Telemetry telemetry)
Configuration for how to query telemetry on a Service.
|
Service |
setUserLabels(Map<String,String> userLabels)
Labels which have been used to annotate the 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 AppEngine getAppEngine()
null for nonepublic Service setAppEngine(AppEngine appEngine)
appEngine - appEngine or null for nonepublic BasicService getBasicService()
null for nonepublic Service setBasicService(BasicService basicService)
basicService - basicService or null for nonepublic CloudEndpoints getCloudEndpoints()
null for nonepublic Service setCloudEndpoints(CloudEndpoints cloudEndpoints)
cloudEndpoints - cloudEndpoints or null for nonepublic CloudRun getCloudRun()
null for nonepublic Service setCloudRun(CloudRun cloudRun)
cloudRun - cloudRun or null for nonepublic ClusterIstio getClusterIstio()
null for nonepublic Service setClusterIstio(ClusterIstio clusterIstio)
clusterIstio - clusterIstio or null for nonepublic Custom getCustom()
null for nonepublic Service setCustom(Custom custom)
custom - custom or null for nonepublic String getDisplayName()
null for nonepublic Service setDisplayName(String displayName)
displayName - displayName or null for nonepublic GkeNamespace getGkeNamespace()
null for nonepublic Service setGkeNamespace(GkeNamespace gkeNamespace)
gkeNamespace - gkeNamespace or null for nonepublic GkeService getGkeService()
null for nonepublic Service setGkeService(GkeService gkeService)
gkeService - gkeService or null for nonepublic GkeWorkload getGkeWorkload()
null for nonepublic Service setGkeWorkload(GkeWorkload gkeWorkload)
gkeWorkload - gkeWorkload or null for nonepublic IstioCanonicalService getIstioCanonicalService()
null for nonepublic Service setIstioCanonicalService(IstioCanonicalService istioCanonicalService)
istioCanonicalService - istioCanonicalService or null for nonepublic MeshIstio getMeshIstio()
null for nonepublic Service setMeshIstio(MeshIstio meshIstio)
meshIstio - meshIstio or null for nonepublic String getName()
null for nonepublic Service setName(String name)
name - name or null for nonepublic Telemetry getTelemetry()
null for nonepublic Service setTelemetry(Telemetry telemetry)
telemetry - telemetry or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic Service setUserLabels(Map<String,String> userLabels)
userLabels - userLabels 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.