Interface OperationProgress.MetricOrBuilder (2.22.0)

public static interface OperationProgress.MetricOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDoubleValue()

public abstract double getDoubleValue()

For metrics with floating point value.

double double_value = 3;

Returns
TypeDescription
double

The doubleValue.

getIntValue()

public abstract long getIntValue()

For metrics with integer value.

int64 int_value = 2;

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
ByteString

The bytes for name.

getStringValue()

public abstract String getStringValue()

For metrics with custom values (ratios, visual progress, etc.).

string string_value = 4;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

For metrics with custom values (ratios, visual progress, etc.).

string string_value = 4;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getValueCase()

public abstract OperationProgress.Metric.ValueCase getValueCase()
Returns
TypeDescription
OperationProgress.Metric.ValueCase

hasDoubleValue()

public abstract boolean hasDoubleValue()

For metrics with floating point value.

double double_value = 3;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasIntValue()

public abstract boolean hasIntValue()

For metrics with integer value.

int64 int_value = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the stringValue field is set.