Package com.google.monitoring.v3
Class Service.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Service.Builder>
com.google.monitoring.v3.Service.Builder
- All Implemented Interfaces:
ServiceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Service
public static final class Service.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Service.Builder>
implements ServiceOrBuilder
A `Service` is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern ([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)). In Cloud Monitoring, a `Service` acts as the root resource under which operational aspects of the service are accessible.Protobuf type
google.monitoring.v3.Service-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Type used for App Engine services.Message that contains the service type and service labels of this service if it is a basic service.Type used for Cloud Endpoints services.Type used for Cloud Run services.Type used for Istio services that live in a Kubernetes cluster.Custom service type.Name used for UI elements listing this Service.Type used for GKE Namespaces.Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Workloads.Type used for canonical services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.Identifier.Configuration for how to query telemetry on a Service.booleancontainsUserLabels(String key) Labels which have been used to annotate the service.Type used for App Engine services.Type used for App Engine services.Type used for App Engine services.Message that contains the service type and service labels of this service if it is a basic service.Message that contains the service type and service labels of this service if it is a basic service.Message that contains the service type and service labels of this service if it is a basic service.Type used for Cloud Endpoints services.Type used for Cloud Endpoints services.Type used for Cloud Endpoints services.Type used for Cloud Run services.Type used for Cloud Run services.Type used for Cloud Run services.Type used for Istio services that live in a Kubernetes cluster.Type used for Istio services that live in a Kubernetes cluster.Type used for Istio services that live in a Kubernetes cluster.Custom service type.Custom service type.Custom service type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName used for UI elements listing this Service.com.google.protobuf.ByteStringName used for UI elements listing this Service.Type used for GKE Namespaces.Type used for GKE Namespaces.Type used for GKE Namespaces.Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Workloads.Type used for GKE Workloads.Type used for GKE Workloads.Type used for canonical services scoped to an Istio mesh.Type used for canonical services scoped to an Istio mesh.Type used for canonical services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Configuration for how to query telemetry on a Service.Configuration for how to query telemetry on a Service.Configuration for how to query telemetry on a Service.Deprecated.intLabels which have been used to annotate the service.Labels which have been used to annotate the service.getUserLabelsOrDefault(String key, String defaultValue) Labels which have been used to annotate the service.Labels which have been used to annotate the service.booleanType used for App Engine services.booleanMessage that contains the service type and service labels of this service if it is a basic service.booleanType used for Cloud Endpoints services.booleanType used for Cloud Run services.booleanType used for Istio services that live in a Kubernetes cluster.booleanCustom service type.booleanType used for GKE Namespaces.booleanType used for GKE Services (the Kubernetes concept of a service).booleanType used for GKE Workloads.booleanType used for canonical services scoped to an Istio mesh.booleanType used for Istio services scoped to an Istio mesh.booleanConfiguration for how to query telemetry on a Service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeAppEngine(Service.AppEngine value) Type used for App Engine services.Message that contains the service type and service labels of this service if it is a basic service.Type used for Cloud Endpoints services.mergeCloudRun(Service.CloudRun value) Type used for Cloud Run services.Type used for Istio services that live in a Kubernetes cluster.mergeCustom(Service.Custom value) Custom service type.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Type used for GKE Namespaces.Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Workloads.Type used for canonical services scoped to an Istio mesh.mergeMeshIstio(Service.MeshIstio value) Type used for Istio services scoped to an Istio mesh.mergeTelemetry(Service.Telemetry value) Configuration for how to query telemetry on a Service.putAllUserLabels(Map<String, String> values) Labels which have been used to annotate the service.putUserLabels(String key, String value) Labels which have been used to annotate the service.removeUserLabels(String key) Labels which have been used to annotate the service.setAppEngine(Service.AppEngine value) Type used for App Engine services.setAppEngine(Service.AppEngine.Builder builderForValue) Type used for App Engine services.Message that contains the service type and service labels of this service if it is a basic service.setBasicService(Service.BasicService.Builder builderForValue) Message that contains the service type and service labels of this service if it is a basic service.Type used for Cloud Endpoints services.setCloudEndpoints(Service.CloudEndpoints.Builder builderForValue) Type used for Cloud Endpoints services.setCloudRun(Service.CloudRun value) Type used for Cloud Run services.setCloudRun(Service.CloudRun.Builder builderForValue) Type used for Cloud Run services.Type used for Istio services that live in a Kubernetes cluster.setClusterIstio(Service.ClusterIstio.Builder builderForValue) Type used for Istio services that live in a Kubernetes cluster.setCustom(Service.Custom value) Custom service type.setCustom(Service.Custom.Builder builderForValue) Custom service type.setDisplayName(String value) Name used for UI elements listing this Service.setDisplayNameBytes(com.google.protobuf.ByteString value) Name used for UI elements listing this Service.Type used for GKE Namespaces.setGkeNamespace(Service.GkeNamespace.Builder builderForValue) Type used for GKE Namespaces.setGkeService(Service.GkeService value) Type used for GKE Services (the Kubernetes concept of a service).setGkeService(Service.GkeService.Builder builderForValue) Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Workloads.setGkeWorkload(Service.GkeWorkload.Builder builderForValue) Type used for GKE Workloads.Type used for canonical services scoped to an Istio mesh.setIstioCanonicalService(Service.IstioCanonicalService.Builder builderForValue) Type used for canonical services scoped to an Istio mesh.setMeshIstio(Service.MeshIstio value) Type used for Istio services scoped to an Istio mesh.setMeshIstio(Service.MeshIstio.Builder builderForValue) Type used for Istio services scoped to an Istio mesh.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setTelemetry(Service.Telemetry value) Configuration for how to query telemetry on a Service.setTelemetry(Service.Telemetry.Builder builderForValue) Configuration for how to query telemetry on a Service.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Service.Builder>
-
mergeFrom
public Service.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.Builder>- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCasein interfaceServiceOrBuilder
-
clearIdentifier
-
getName
Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceServiceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceServiceOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Name used for UI elements listing this Service.
string display_name = 2;- Specified by:
getDisplayNamein interfaceServiceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name used for UI elements listing this Service.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceServiceOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name used for UI elements listing this Service.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name used for UI elements listing this Service.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name used for UI elements listing this Service.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCustom
public boolean hasCustom()Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
hasCustomin interfaceServiceOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
getCustomin interfaceServiceOrBuilder- Returns:
- The custom.
-
setCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6; -
setCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6; -
mergeCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6; -
clearCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6; -
getCustomBuilder
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6; -
getCustomOrBuilder
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
getCustomOrBuilderin interfaceServiceOrBuilder
-
hasAppEngine
public boolean hasAppEngine()Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
hasAppEnginein interfaceServiceOrBuilder- Returns:
- Whether the appEngine field is set.
-
getAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
getAppEnginein interfaceServiceOrBuilder- Returns:
- The appEngine.
-
setAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7; -
setAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7; -
mergeAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7; -
clearAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7; -
getAppEngineBuilder
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7; -
getAppEngineOrBuilder
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
getAppEngineOrBuilderin interfaceServiceOrBuilder
-
hasCloudEndpoints
public boolean hasCloudEndpoints()Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
hasCloudEndpointsin interfaceServiceOrBuilder- Returns:
- Whether the cloudEndpoints field is set.
-
getCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
getCloudEndpointsin interfaceServiceOrBuilder- Returns:
- The cloudEndpoints.
-
setCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; -
setCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; -
mergeCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; -
clearCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; -
getCloudEndpointsBuilder
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; -
getCloudEndpointsOrBuilder
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
getCloudEndpointsOrBuilderin interfaceServiceOrBuilder
-
hasClusterIstio
public boolean hasClusterIstio()Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
hasClusterIstioin interfaceServiceOrBuilder- Returns:
- Whether the clusterIstio field is set.
-
getClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
getClusterIstioin interfaceServiceOrBuilder- Returns:
- The clusterIstio.
-
setClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; -
setClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; -
mergeClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; -
clearClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; -
getClusterIstioBuilder
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; -
getClusterIstioOrBuilder
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
getClusterIstioOrBuilderin interfaceServiceOrBuilder
-
hasMeshIstio
public boolean hasMeshIstio()Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
hasMeshIstioin interfaceServiceOrBuilder- Returns:
- Whether the meshIstio field is set.
-
getMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
getMeshIstioin interfaceServiceOrBuilder- Returns:
- The meshIstio.
-
setMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10; -
setMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10; -
mergeMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10; -
clearMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10; -
getMeshIstioBuilder
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10; -
getMeshIstioOrBuilder
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
getMeshIstioOrBuilderin interfaceServiceOrBuilder
-
hasIstioCanonicalService
public boolean hasIstioCanonicalService()Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;- Specified by:
hasIstioCanonicalServicein interfaceServiceOrBuilder- Returns:
- Whether the istioCanonicalService field is set.
-
getIstioCanonicalService
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;- Specified by:
getIstioCanonicalServicein interfaceServiceOrBuilder- Returns:
- The istioCanonicalService.
-
setIstioCanonicalService
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; -
setIstioCanonicalService
public Service.Builder setIstioCanonicalService(Service.IstioCanonicalService.Builder builderForValue) Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; -
mergeIstioCanonicalService
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; -
clearIstioCanonicalService
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; -
getIstioCanonicalServiceBuilder
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; -
getIstioCanonicalServiceOrBuilder
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;- Specified by:
getIstioCanonicalServiceOrBuilderin interfaceServiceOrBuilder
-
hasCloudRun
public boolean hasCloudRun()Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
hasCloudRunin interfaceServiceOrBuilder- Returns:
- Whether the cloudRun field is set.
-
getCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
getCloudRunin interfaceServiceOrBuilder- Returns:
- The cloudRun.
-
setCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12; -
setCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12; -
mergeCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12; -
clearCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12; -
getCloudRunBuilder
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12; -
getCloudRunOrBuilder
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
getCloudRunOrBuilderin interfaceServiceOrBuilder
-
hasGkeNamespace
public boolean hasGkeNamespace()Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
hasGkeNamespacein interfaceServiceOrBuilder- Returns:
- Whether the gkeNamespace field is set.
-
getGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
getGkeNamespacein interfaceServiceOrBuilder- Returns:
- The gkeNamespace.
-
setGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15; -
setGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15; -
mergeGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15; -
clearGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15; -
getGkeNamespaceBuilder
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15; -
getGkeNamespaceOrBuilder
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
getGkeNamespaceOrBuilderin interfaceServiceOrBuilder
-
hasGkeWorkload
public boolean hasGkeWorkload()Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
hasGkeWorkloadin interfaceServiceOrBuilder- Returns:
- Whether the gkeWorkload field is set.
-
getGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
getGkeWorkloadin interfaceServiceOrBuilder- Returns:
- The gkeWorkload.
-
setGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16; -
setGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16; -
mergeGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16; -
clearGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16; -
getGkeWorkloadBuilder
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16; -
getGkeWorkloadOrBuilder
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
getGkeWorkloadOrBuilderin interfaceServiceOrBuilder
-
hasGkeService
public boolean hasGkeService()Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
hasGkeServicein interfaceServiceOrBuilder- Returns:
- Whether the gkeService field is set.
-
getGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
getGkeServicein interfaceServiceOrBuilder- Returns:
- The gkeService.
-
setGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17; -
setGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17; -
mergeGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17; -
clearGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17; -
getGkeServiceBuilder
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17; -
getGkeServiceOrBuilder
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
getGkeServiceOrBuilderin interfaceServiceOrBuilder
-
hasBasicService
public boolean hasBasicService()Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;- Specified by:
hasBasicServicein interfaceServiceOrBuilder- Returns:
- Whether the basicService field is set.
-
getBasicService
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;- Specified by:
getBasicServicein interfaceServiceOrBuilder- Returns:
- The basicService.
-
setBasicService
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19; -
setBasicService
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19; -
mergeBasicService
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19; -
clearBasicService
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19; -
getBasicServiceBuilder
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19; -
getBasicServiceOrBuilder
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;- Specified by:
getBasicServiceOrBuilderin interfaceServiceOrBuilder
-
hasTelemetry
public boolean hasTelemetry()Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
hasTelemetryin interfaceServiceOrBuilder- Returns:
- Whether the telemetry field is set.
-
getTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
getTelemetryin interfaceServiceOrBuilder- Returns:
- The telemetry.
-
setTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13; -
setTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13; -
mergeTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13; -
clearTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13; -
getTelemetryBuilder
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13; -
getTelemetryOrBuilder
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
getTelemetryOrBuilderin interfaceServiceOrBuilder
-
getUserLabelsCount
public int getUserLabelsCount()Description copied from interface:ServiceOrBuilderLabels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;- Specified by:
getUserLabelsCountin interfaceServiceOrBuilder
-
containsUserLabels
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;- Specified by:
containsUserLabelsin interfaceServiceOrBuilder
-
getUserLabels
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceServiceOrBuilder
-
getUserLabelsMap
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;- Specified by:
getUserLabelsMapin interfaceServiceOrBuilder
-
getUserLabelsOrDefault
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;- Specified by:
getUserLabelsOrDefaultin interfaceServiceOrBuilder
-
getUserLabelsOrThrow
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;- Specified by:
getUserLabelsOrThrowin interfaceServiceOrBuilder
-
clearUserLabels
-
removeUserLabels
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14; -
getMutableUserLabels
Deprecated.Use alternate mutation accessors instead. -
putUserLabels
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14; -
putAllUserLabels
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;
-