- 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.Builder extends GeneratedMessageV3.Builder<OperationProgress.Builder> implements OperationProgressOrBuilder
Information about operation (or operation stage) progress.
Protobuf type google.container.v1.OperationProgress
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperationProgress.BuilderImplements
OperationProgressOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMetrics(Iterable<? extends OperationProgress.Metric> values)
public OperationProgress.Builder addAllMetrics(Iterable<? extends OperationProgress.Metric> values)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1.OperationProgress.Metric> |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addAllStages(Iterable<? extends OperationProgress> values)
public OperationProgress.Builder addAllStages(Iterable<? extends OperationProgress> values)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1.OperationProgress> |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addMetrics(OperationProgress.Metric value)
public OperationProgress.Builder addMetrics(OperationProgress.Metric value)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
value | OperationProgress.Metric |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addMetrics(OperationProgress.Metric.Builder builderForValue)
public OperationProgress.Builder addMetrics(OperationProgress.Metric.Builder builderForValue)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | OperationProgress.Metric.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addMetrics(int index, OperationProgress.Metric value)
public OperationProgress.Builder addMetrics(int index, OperationProgress.Metric value)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | OperationProgress.Metric |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addMetrics(int index, OperationProgress.Metric.Builder builderForValue)
public OperationProgress.Builder addMetrics(int index, OperationProgress.Metric.Builder builderForValue)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OperationProgress.Metric.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addMetricsBuilder()
public OperationProgress.Metric.Builder addMetricsBuilder()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Returns | |
---|---|
Type | Description |
OperationProgress.Metric.Builder |
addMetricsBuilder(int index)
public OperationProgress.Metric.Builder addMetricsBuilder(int index)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Metric.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStages(OperationProgress value)
public OperationProgress.Builder addStages(OperationProgress value)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
value | OperationProgress |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStages(OperationProgress.Builder builderForValue)
public OperationProgress.Builder addStages(OperationProgress.Builder builderForValue)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | OperationProgress.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStages(int index, OperationProgress value)
public OperationProgress.Builder addStages(int index, OperationProgress value)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | OperationProgress |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStages(int index, OperationProgress.Builder builderForValue)
public OperationProgress.Builder addStages(int index, OperationProgress.Builder builderForValue)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OperationProgress.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStagesBuilder()
public OperationProgress.Builder addStagesBuilder()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
addStagesBuilder(int index)
public OperationProgress.Builder addStagesBuilder(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
build()
public OperationProgress build()
Returns | |
---|---|
Type | Description |
OperationProgress |
buildPartial()
public OperationProgress buildPartial()
Returns | |
---|---|
Type | Description |
OperationProgress |
clear()
public OperationProgress.Builder clear()
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
clearField(Descriptors.FieldDescriptor field)
public OperationProgress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
clearMetrics()
public OperationProgress.Builder clearMetrics()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
clearName()
public OperationProgress.Builder clearName()
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationProgress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
clearStages()
public OperationProgress.Builder clearStages()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
clearStatus()
public OperationProgress.Builder clearStatus()
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
clone()
public OperationProgress.Builder clone()
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
getDefaultInstanceForType()
public OperationProgress getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OperationProgress |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetrics(int index)
public OperationProgress.Metric getMetrics(int index)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Metric |
getMetricsBuilder(int index)
public OperationProgress.Metric.Builder getMetricsBuilder(int index)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Metric.Builder |
getMetricsBuilderList()
public List<OperationProgress.Metric.Builder> getMetricsBuilderList()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
getMetricsCount()
public int getMetricsCount()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Returns | |
---|---|
Type | Description |
int |
getMetricsList()
public List<OperationProgress.Metric> getMetricsList()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
getMetricsOrBuilder(int index)
public OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.MetricOrBuilder |
getMetricsOrBuilderList()
public List<? extends OperationProgress.MetricOrBuilder> getMetricsOrBuilderList()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.container.v1.OperationProgress.MetricOrBuilder> |
getName()
public String getName()
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getStages(int index)
public OperationProgress getStages(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress |
getStagesBuilder(int index)
public OperationProgress.Builder getStagesBuilder(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
getStagesBuilderList()
public List<OperationProgress.Builder> getStagesBuilderList()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
getStagesCount()
public int getStagesCount()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Returns | |
---|---|
Type | Description |
int |
getStagesList()
public List<OperationProgress> getStagesList()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Returns | |
---|---|
Type | Description |
List<OperationProgress> |
getStagesOrBuilder(int index)
public OperationProgressOrBuilder getStagesOrBuilder(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgressOrBuilder |
getStagesOrBuilderList()
public List<? extends OperationProgressOrBuilder> getStagesOrBuilderList()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.container.v1.OperationProgressOrBuilder> |
getStatus()
public Operation.Status getStatus()
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;
Returns | |
---|---|
Type | Description |
Operation.Status | The status. |
getStatusValue()
public int getStatusValue()
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for status. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OperationProgress other)
public OperationProgress.Builder mergeFrom(OperationProgress other)
Parameter | |
---|---|
Name | Description |
other | OperationProgress |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperationProgress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OperationProgress.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
removeMetrics(int index)
public OperationProgress.Builder removeMetrics(int index)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
removeStages(int index)
public OperationProgress.Builder removeStages(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setMetrics(int index, OperationProgress.Metric value)
public OperationProgress.Builder setMetrics(int index, OperationProgress.Metric value)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | OperationProgress.Metric |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setMetrics(int index, OperationProgress.Metric.Builder builderForValue)
public OperationProgress.Builder setMetrics(int index, OperationProgress.Metric.Builder builderForValue)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
repeated .google.container.v1.OperationProgress.Metric metrics = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OperationProgress.Metric.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setName(String value)
public OperationProgress.Builder setName(String value)
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OperationProgress.Builder setNameBytes(ByteString value)
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationProgress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setStages(int index, OperationProgress value)
public OperationProgress.Builder setStages(int index, OperationProgress value)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | OperationProgress |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setStages(int index, OperationProgress.Builder builderForValue)
public OperationProgress.Builder setStages(int index, OperationProgress.Builder builderForValue)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OperationProgress.Builder |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |
setStatus(Operation.Status value)
public OperationProgress.Builder setStatus(Operation.Status value)
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;
Parameter | |
---|---|
Name | Description |
value | Operation.Status The status to set. |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
setStatusValue(int value)
public OperationProgress.Builder setStatusValue(int value)
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OperationProgress.Builder |