public static interface Service.BasicServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsServiceLabels(String key)
Labels that specify the resource that emits the monitoring data which
is used for SLO reporting of this `Service`.
|
Map<String,String> |
getServiceLabels()
Deprecated.
|
int |
getServiceLabelsCount()
Labels that specify the resource that emits the monitoring data which
is used for SLO reporting of this `Service`.
|
Map<String,String> |
getServiceLabelsMap()
Labels that specify the resource that emits the monitoring data which
is used for SLO reporting of this `Service`.
|
String |
getServiceLabelsOrDefault(String key,
String defaultValue)
Labels that specify the resource that emits the monitoring data which
is used for SLO reporting of this `Service`.
|
String |
getServiceLabelsOrThrow(String key)
Labels that specify the resource that emits the monitoring data which
is used for SLO reporting of this `Service`.
|
String |
getServiceType()
The type of service that this basic service defines, e.g.
|
com.google.protobuf.ByteString |
getServiceTypeBytes()
The type of service that this basic service defines, e.g.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getServiceType()
The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
string service_type = 1;com.google.protobuf.ByteString getServiceTypeBytes()
The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
string service_type = 1;int getServiceLabelsCount()
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`. Documentation and valid values for given service types [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
map<string, string> service_labels = 2;boolean containsServiceLabels(String key)
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`. Documentation and valid values for given service types [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
map<string, string> service_labels = 2;@Deprecated Map<String,String> getServiceLabels()
getServiceLabelsMap() instead.Map<String,String> getServiceLabelsMap()
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`. Documentation and valid values for given service types [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
map<string, string> service_labels = 2;String getServiceLabelsOrDefault(String key, String defaultValue)
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`. Documentation and valid values for given service types [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
map<string, string> service_labels = 2;String getServiceLabelsOrThrow(String key)
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`. Documentation and valid values for given service types [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
map<string, string> service_labels = 2;Copyright © 2025 Google LLC. All rights reserved.