Interface OperationProgress.MetricOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OperationProgress.Metric, OperationProgress.Metric.Builder
Enclosing class:
OperationProgress

public static interface OperationProgress.MetricOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    For metrics with floating point value.
    long
    For metrics with integer value.
    Required.
    com.google.protobuf.ByteString
    Required.
    For metrics with custom values (ratios, visual progress, etc.).
    com.google.protobuf.ByteString
    For metrics with custom values (ratios, visual progress, etc.).
     
    boolean
    For metrics with floating point value.
    boolean
    For metrics with integer value.
    boolean
    For metrics with custom values (ratios, visual progress, etc.).

    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

    • getName

      String getName()
       Required. Metric name, e.g., "nodes total", "percent done".
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Metric name, e.g., "nodes total", "percent done".
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • hasIntValue

      boolean hasIntValue()
       For metrics with integer value.
       
      int64 int_value = 2;
      Returns:
      Whether the intValue field is set.
    • getIntValue

      long getIntValue()
       For metrics with integer value.
       
      int64 int_value = 2;
      Returns:
      The intValue.
    • hasDoubleValue

      boolean hasDoubleValue()
       For metrics with floating point value.
       
      double double_value = 3;
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      double getDoubleValue()
       For metrics with floating point value.
       
      double double_value = 3;
      Returns:
      The doubleValue.
    • hasStringValue

      boolean hasStringValue()
       For metrics with custom values (ratios, visual progress, etc.).
       
      string string_value = 4;
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      String getStringValue()
       For metrics with custom values (ratios, visual progress, etc.).
       
      string string_value = 4;
      Returns:
      The stringValue.
    • getStringValueBytes

      com.google.protobuf.ByteString getStringValueBytes()
       For metrics with custom values (ratios, visual progress, etc.).
       
      string string_value = 4;
      Returns:
      The bytes for stringValue.
    • getValueCase