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.CloudEndpoints |
getCloudEndpoints()
Type used for Cloud Endpoints services.
|
Service.CloudEndpointsOrBuilder |
getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints 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.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()
Resource name for this Service.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name for this Service.
|
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 |
hasCloudEndpoints()
Type used for Cloud Endpoints services.
|
boolean |
hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
boolean |
hasCustom()
Custom service type.
|
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()
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;com.google.protobuf.ByteString getNameBytes()
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;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 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 © 2023 Google LLC. All rights reserved.