Package com.google.container.v1beta1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetDoubleValue()For metrics with floating point value.longgetIntValue()For metrics with integer value.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.StringgetStringValue()For metrics with custom values (ratios, visual progress, etc.).com.google.protobuf.ByteStringgetStringValueBytes()For metrics with custom values (ratios, visual progress, etc.).OperationProgress.Metric.ValueCasegetValueCase()booleanhasDoubleValue()For metrics with floating point value.booleanhasIntValue()For metrics with integer value.booleanhasStringValue()For metrics with custom values (ratios, visual progress, etc.).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-