Package com.google.monitoring.v3
Interface Service.BasicServiceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.BasicService,Service.BasicService.Builder
- Enclosing class:
- Service
public static interface Service.BasicServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanLabels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.Deprecated.intLabels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.getServiceLabelsOrDefault(String key, String defaultValue) Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.The type of service that this basic service defines, e.g.com.google.protobuf.ByteStringThe type of service that this basic service defines, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getServiceType
String 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;- Returns:
- The serviceType.
-
getServiceTypeBytes
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;- Returns:
- The bytes for serviceType.
-
getServiceLabelsCount
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; -
containsServiceLabels
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; -
getServiceLabels
Deprecated.UsegetServiceLabelsMap()instead. -
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; -
getServiceLabelsOrDefault
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; -
getServiceLabelsOrThrow
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;
-