public interface ServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUserLabels(String key)
Labels which have been used to annotate the service.
|
Service.AppEngine |
getAppEngine()
Type used for App Engine services.
|
Service.AppEngineOrBuilder |
getAppEngineOrBuilder()
Type used for App Engine services.
|
Service.BasicService |
getBasicService()
Message that contains the service type and service labels of this service
if it is a basic service.
|
Service.BasicServiceOrBuilder |
getBasicServiceOrBuilder()
Message that contains the service type and service labels of this service
if it is a basic service.
|
Service.CloudEndpoints |
getCloudEndpoints()
Type used for Cloud Endpoints services.
|
Service.CloudEndpointsOrBuilder |
getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
|
Service.CloudRun |
getCloudRun()
Type used for Cloud Run services.
|
Service.CloudRunOrBuilder |
getCloudRunOrBuilder()
Type used for Cloud Run services.
|
Service.ClusterIstio |
getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
Service.ClusterIstioOrBuilder |
getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
|
Service.Custom |
getCustom()
Custom service type.
|
Service.CustomOrBuilder |
getCustomOrBuilder()
Custom service type.
|
String |
getDisplayName()
Name used for UI elements listing this Service.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Name used for UI elements listing this Service.
|
Service.GkeNamespace |
getGkeNamespace()
Type used for GKE Namespaces.
|
Service.GkeNamespaceOrBuilder |
getGkeNamespaceOrBuilder()
Type used for GKE Namespaces.
|
Service.GkeService |
getGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
|
Service.GkeServiceOrBuilder |
getGkeServiceOrBuilder()
Type used for GKE Services (the Kubernetes concept of a service).
|
Service.GkeWorkload |
getGkeWorkload()
Type used for GKE Workloads.
|
Service.GkeWorkloadOrBuilder |
getGkeWorkloadOrBuilder()
Type used for GKE Workloads.
|
Service.IdentifierCase |
getIdentifierCase() |
Service.IstioCanonicalService |
getIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh.
|
Service.IstioCanonicalServiceOrBuilder |
getIstioCanonicalServiceOrBuilder()
Type used for canonical services scoped to an Istio mesh.
|
Service.MeshIstio |
getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
|
Service.MeshIstioOrBuilder |
getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
Service.Telemetry |
getTelemetry()
Configuration for how to query telemetry on a Service.
|
Service.TelemetryOrBuilder |
getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
Labels which have been used to annotate the service.
|
Map<String,String> |
getUserLabelsMap()
Labels which have been used to annotate the service.
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
Labels which have been used to annotate the service.
|
String |
getUserLabelsOrThrow(String key)
Labels which have been used to annotate the service.
|
boolean |
hasAppEngine()
Type used for App Engine services.
|
boolean |
hasBasicService()
Message that contains the service type and service labels of this service
if it is a basic service.
|
boolean |
hasCloudEndpoints()
Type used for Cloud Endpoints services.
|
boolean |
hasCloudRun()
Type used for Cloud Run services.
|
boolean |
hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
boolean |
hasCustom()
Custom service type.
|
boolean |
hasGkeNamespace()
Type used for GKE Namespaces.
|
boolean |
hasGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
|
boolean |
hasGkeWorkload()
Type used for GKE Workloads.
|
boolean |
hasIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh.
|
boolean |
hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
|
boolean |
hasTelemetry()
Configuration for how to query telemetry on a Service.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];String getDisplayName()
Name used for UI elements listing this Service.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
Name used for UI elements listing this Service.
string display_name = 2;boolean hasCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;Service.Custom getCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;Service.CustomOrBuilder getCustomOrBuilder()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;boolean hasAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;Service.AppEngine getAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;Service.AppEngineOrBuilder getAppEngineOrBuilder()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;boolean hasCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;Service.CloudEndpoints getCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;boolean hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;Service.ClusterIstio getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;Service.ClusterIstioOrBuilder getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;boolean hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;Service.MeshIstio getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;Service.MeshIstioOrBuilder getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;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;Service.IstioCanonicalService 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;Service.IstioCanonicalServiceOrBuilder 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;boolean hasCloudRun()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;Service.CloudRun getCloudRun()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;Service.CloudRunOrBuilder getCloudRunOrBuilder()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;boolean hasGkeNamespace()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;Service.GkeNamespace getGkeNamespace()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;Service.GkeNamespaceOrBuilder getGkeNamespaceOrBuilder()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;boolean hasGkeWorkload()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;Service.GkeWorkload getGkeWorkload()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;Service.GkeWorkloadOrBuilder getGkeWorkloadOrBuilder()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;boolean hasGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;Service.GkeService getGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;Service.GkeServiceOrBuilder getGkeServiceOrBuilder()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;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;Service.BasicService 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;Service.BasicServiceOrBuilder 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;boolean hasTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;Service.Telemetry getTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;Service.TelemetryOrBuilder getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;int getUserLabelsCount()
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;boolean containsUserLabels(String key)
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;@Deprecated Map<String,String> getUserLabels()
getUserLabelsMap() instead.Map<String,String> 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;String getUserLabelsOrDefault(String key, String defaultValue)
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;String getUserLabelsOrThrow(String key)
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;Service.IdentifierCase getIdentifierCase()
Copyright © 2025 Google LLC. All rights reserved.