Package com.google.container.v1
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 TypeMethodDescriptiondoubleFor metrics with floating point value.longFor metrics with integer value.getName()Required.com.google.protobuf.ByteStringRequired.For metrics with custom values (ratios, visual progress, etc.).com.google.protobuf.ByteStringFor metrics with custom values (ratios, visual progress, etc.).booleanFor metrics with floating point value.booleanFor metrics with integer value.booleanFor metrics with custom values (ratios, visual progress, etc.).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
OperationProgress.Metric.ValueCase getValueCase()
-