Package com.google.monitoring.v3
Interface ServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service
,Service.Builder
public interface ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Name used for UI elements listing this Service.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Name used for UI elements listing this Service.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
hasCustom
boolean hasCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
- Returns:
- Whether the custom field is set.
-
getCustom
Service.Custom getCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
- Returns:
- The custom.
-
getCustomOrBuilder
Service.CustomOrBuilder getCustomOrBuilder()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
-
hasAppEngine
boolean hasAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
- Returns:
- Whether the appEngine field is set.
-
getAppEngine
Service.AppEngine getAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
- Returns:
- The appEngine.
-
getAppEngineOrBuilder
Service.AppEngineOrBuilder getAppEngineOrBuilder()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
-
hasCloudEndpoints
boolean hasCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
- Returns:
- Whether the cloudEndpoints field is set.
-
getCloudEndpoints
Service.CloudEndpoints getCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
- Returns:
- The cloudEndpoints.
-
getCloudEndpointsOrBuilder
Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
-
hasClusterIstio
boolean hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
- Returns:
- Whether the clusterIstio field is set.
-
getClusterIstio
Service.ClusterIstio getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
- Returns:
- The clusterIstio.
-
getClusterIstioOrBuilder
Service.ClusterIstioOrBuilder getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
-
hasMeshIstio
boolean hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
- Returns:
- Whether the meshIstio field is set.
-
getMeshIstio
Service.MeshIstio getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
- Returns:
- The meshIstio.
-
getMeshIstioOrBuilder
Service.MeshIstioOrBuilder getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
-
hasIstioCanonicalService
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;
- Returns:
- Whether the istioCanonicalService field is set.
-
getIstioCanonicalService
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;
- Returns:
- The istioCanonicalService.
-
getIstioCanonicalServiceOrBuilder
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;
-
hasTelemetry
boolean hasTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
- Returns:
- Whether the telemetry field is set.
-
getTelemetry
Service.Telemetry getTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
- Returns:
- The telemetry.
-
getTelemetryOrBuilder
Service.TelemetryOrBuilder getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
-
getUserLabelsCount
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;
-
containsUserLabels
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;
-
getUserLabels
@Deprecated Map<String,String> getUserLabels()
Deprecated.UsegetUserLabelsMap()
instead.
-
getUserLabelsMap
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;
-
getUserLabelsOrDefault
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;
-
getUserLabelsOrThrow
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;
-
getIdentifierCase
Service.IdentifierCase getIdentifierCase()
-
-