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 Type
    Method
    Description
    boolean
    Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.
    Deprecated.
    int
    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`.
    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.ByteString
    The type of service that this basic service defines, e.g.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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;
    • getServiceLabels

      @Deprecated Map<String,String> getServiceLabels()
      Deprecated.
    • getServiceLabelsMap

      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;
    • getServiceLabelsOrDefault

      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;
    • getServiceLabelsOrThrow

      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;