Interface MetricValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetricValue, MetricValue.Builder

@Generated public interface MetricValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLabelsCount

      int getLabelsCount()
       The labels describing the metric value.
       See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
       the overriding relationship.
       Note that this map must not contain monitored resource labels.
       
      map<string, string> labels = 1;
    • containsLabels

      boolean containsLabels(String key)
       The labels describing the metric value.
       See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
       the overriding relationship.
       Note that this map must not contain monitored resource labels.
       
      map<string, string> labels = 1;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       The labels describing the metric value.
       See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
       the overriding relationship.
       Note that this map must not contain monitored resource labels.
       
      map<string, string> labels = 1;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       The labels describing the metric value.
       See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
       the overriding relationship.
       Note that this map must not contain monitored resource labels.
       
      map<string, string> labels = 1;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       The labels describing the metric value.
       See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
       the overriding relationship.
       Note that this map must not contain monitored resource labels.
       
      map<string, string> labels = 1;
    • hasStartTime

      boolean hasStartTime()
       The start of the time period over which this metric value's measurement
       applies. The time period has different semantics for different metric
       types (cumulative, delta, and gauge). See the metric definition
       documentation in the service configuration for details. If not specified,
       [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       The start of the time period over which this metric value's measurement
       applies. The time period has different semantics for different metric
       types (cumulative, delta, and gauge). See the metric definition
       documentation in the service configuration for details. If not specified,
       [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The start of the time period over which this metric value's measurement
       applies. The time period has different semantics for different metric
       types (cumulative, delta, and gauge). See the metric definition
       documentation in the service configuration for details. If not specified,
       [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
       
      .google.protobuf.Timestamp start_time = 2;
    • hasEndTime

      boolean hasEndTime()
       The end of the time period over which this metric value's measurement
       applies.  If not specified,
       [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
       
      .google.protobuf.Timestamp end_time = 3;
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.Timestamp getEndTime()
       The end of the time period over which this metric value's measurement
       applies.  If not specified,
       [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
       
      .google.protobuf.Timestamp end_time = 3;
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The end of the time period over which this metric value's measurement
       applies.  If not specified,
       [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
       
      .google.protobuf.Timestamp end_time = 3;
    • hasBoolValue

      boolean hasBoolValue()
       A boolean value.
       
      bool bool_value = 4;
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      boolean getBoolValue()
       A boolean value.
       
      bool bool_value = 4;
      Returns:
      The boolValue.
    • hasInt64Value

      boolean hasInt64Value()
       A signed 64-bit integer value.
       
      int64 int64_value = 5;
      Returns:
      Whether the int64Value field is set.
    • getInt64Value

      long getInt64Value()
       A signed 64-bit integer value.
       
      int64 int64_value = 5;
      Returns:
      The int64Value.
    • hasDoubleValue

      boolean hasDoubleValue()
       A double precision floating point value.
       
      double double_value = 6;
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      double getDoubleValue()
       A double precision floating point value.
       
      double double_value = 6;
      Returns:
      The doubleValue.
    • hasStringValue

      boolean hasStringValue()
       A text string value.
       
      string string_value = 7;
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      String getStringValue()
       A text string value.
       
      string string_value = 7;
      Returns:
      The stringValue.
    • getStringValueBytes

      com.google.protobuf.ByteString getStringValueBytes()
       A text string value.
       
      string string_value = 7;
      Returns:
      The bytes for stringValue.
    • hasDistributionValue

      boolean hasDistributionValue()
       A distribution value.
       
      .google.api.servicecontrol.v1.Distribution distribution_value = 8;
      Returns:
      Whether the distributionValue field is set.
    • getDistributionValue

      Distribution getDistributionValue()
       A distribution value.
       
      .google.api.servicecontrol.v1.Distribution distribution_value = 8;
      Returns:
      The distributionValue.
    • getDistributionValueOrBuilder

      DistributionOrBuilder getDistributionValueOrBuilder()
       A distribution value.
       
      .google.api.servicecontrol.v1.Distribution distribution_value = 8;
    • getValueCase

      MetricValue.ValueCase getValueCase()