public static interface OperationProgress.MetricOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDoubleValue()
public abstract double getDoubleValue()For metrics with floating point value.
double double_value = 3;
| Type | Description |
| double | The doubleValue. |
getIntValue()
public abstract long getIntValue()For metrics with integer value.
int64 int_value = 2;
| Type | Description |
| long | The intValue. |
getName()
public abstract String getName()Required. Metric name, e.g., "nodes total", "percent done".
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. Metric name, e.g., "nodes total", "percent done".
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for name. |
getStringValue()
public abstract String getStringValue()For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
| Type | Description |
| String | The stringValue. |
getStringValueBytes()
public abstract ByteString getStringValueBytes()For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
| Type | Description |
| ByteString | The bytes for stringValue. |
getValueCase()
public abstract OperationProgress.Metric.ValueCase getValueCase()| Type | Description |
| OperationProgress.Metric.ValueCase |
hasDoubleValue()
public abstract boolean hasDoubleValue()For metrics with floating point value.
double double_value = 3;
| Type | Description |
| boolean | Whether the doubleValue field is set. |
hasIntValue()
public abstract boolean hasIntValue()For metrics with integer value.
int64 int_value = 2;
| Type | Description |
| boolean | Whether the intValue field is set. |
hasStringValue()
public abstract boolean hasStringValue()For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
| Type | Description |
| boolean | Whether the stringValue field is set. |