Interface OperationProgress.MetricOrBuilder (2.58.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
Type Description
double

The doubleValue.

getIntValue()

public abstract long getIntValue()

For metrics with integer value.

int64 int_value = 2;

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

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

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

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

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

string string_value = 4;

Returns
Type Description
ByteString

The bytes for stringValue.

getValueCase()

public abstract OperationProgress.Metric.ValueCase getValueCase()
Returns
Type Description
OperationProgress.Metric.ValueCase

hasDoubleValue()

public abstract boolean hasDoubleValue()

For metrics with floating point value.

double double_value = 3;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasIntValue()

public abstract boolean hasIntValue()

For metrics with integer value.

int64 int_value = 2;

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

Returns
Type Description
boolean

Whether the stringValue field is set.