- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class OperationProgress.Metric.Builder extends GeneratedMessageV3.Builder<OperationProgress.Metric.Builder> implements OperationProgress.MetricOrBuilder
Progress metric is (string, int|float|string) pair.
Protobuf type google.container.v1.OperationProgress.Metric
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperationProgress.Metric.BuilderImplements
OperationProgress.MetricOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress.Metric.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OperationProgress.Metric.Builder |
build()
public OperationProgress.Metric build()
Type | Description |
OperationProgress.Metric |
buildPartial()
public OperationProgress.Metric buildPartial()
Type | Description |
OperationProgress.Metric |
clear()
public OperationProgress.Metric.Builder clear()
Type | Description |
OperationProgress.Metric.Builder |
clearDoubleValue()
public OperationProgress.Metric.Builder clearDoubleValue()
For metrics with floating point value.
double double_value = 3;
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OperationProgress.Metric.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OperationProgress.Metric.Builder |
clearIntValue()
public OperationProgress.Metric.Builder clearIntValue()
For metrics with integer value.
int64 int_value = 2;
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
clearName()
public OperationProgress.Metric.Builder clearName()
Required. Metric name, e.g., "nodes total", "percent done".
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationProgress.Metric.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OperationProgress.Metric.Builder |
clearStringValue()
public OperationProgress.Metric.Builder clearStringValue()
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
clearValue()
public OperationProgress.Metric.Builder clearValue()
Type | Description |
OperationProgress.Metric.Builder |
clone()
public OperationProgress.Metric.Builder clone()
Type | Description |
OperationProgress.Metric.Builder |
getDefaultInstanceForType()
public OperationProgress.Metric getDefaultInstanceForType()
Type | Description |
OperationProgress.Metric |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDoubleValue()
public double getDoubleValue()
For metrics with floating point value.
double double_value = 3;
Type | Description |
double | The doubleValue. |
getIntValue()
public long getIntValue()
For metrics with integer value.
int64 int_value = 2;
Type | Description |
long | The intValue. |
getName()
public 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 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 String getStringValue()
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Type | Description |
String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Type | Description |
ByteString | The bytes for stringValue. |
getValueCase()
public OperationProgress.Metric.ValueCase getValueCase()
Type | Description |
OperationProgress.Metric.ValueCase |
hasDoubleValue()
public boolean hasDoubleValue()
For metrics with floating point value.
double double_value = 3;
Type | Description |
boolean | Whether the doubleValue field is set. |
hasIntValue()
public boolean hasIntValue()
For metrics with integer value.
int64 int_value = 2;
Type | Description |
boolean | Whether the intValue field is set. |
hasStringValue()
public boolean hasStringValue()
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Type | Description |
boolean | Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OperationProgress.Metric other)
public OperationProgress.Metric.Builder mergeFrom(OperationProgress.Metric other)
Name | Description |
other | OperationProgress.Metric |
Type | Description |
OperationProgress.Metric.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperationProgress.Metric.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress.Metric.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OperationProgress.Metric.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OperationProgress.Metric.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress.Metric.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OperationProgress.Metric.Builder |
setDoubleValue(double value)
public OperationProgress.Metric.Builder setDoubleValue(double value)
For metrics with floating point value.
double double_value = 3;
Name | Description |
value | double The doubleValue to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress.Metric.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OperationProgress.Metric.Builder |
setIntValue(long value)
public OperationProgress.Metric.Builder setIntValue(long value)
For metrics with integer value.
int64 int_value = 2;
Name | Description |
value | long The intValue to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setName(String value)
public OperationProgress.Metric.Builder setName(String value)
Required. Metric name, e.g., "nodes total", "percent done".
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OperationProgress.Metric.Builder setNameBytes(ByteString value)
Required. Metric name, e.g., "nodes total", "percent done".
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationProgress.Metric.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OperationProgress.Metric.Builder |
setStringValue(String value)
public OperationProgress.Metric.Builder setStringValue(String value)
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Name | Description |
value | String The stringValue to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public OperationProgress.Metric.Builder setStringValueBytes(ByteString value)
For metrics with custom values (ratios, visual progress, etc.).
string string_value = 4;
Name | Description |
value | ByteString The bytes for stringValue to set. |
Type | Description |
OperationProgress.Metric.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress.Metric.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OperationProgress.Metric.Builder |