Interface OperationProgressOrBuilder (2.51.0)

public interface OperationProgressOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetrics(int index)

public abstract 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

getMetricsCount()

public abstract 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 abstract 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;

Returns
Type Description
List<Metric>

getMetricsOrBuilder(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getStagesCount()

public abstract int getStagesCount()

Substages of an operation or a stage.

repeated .google.container.v1.OperationProgress stages = 4;

Returns
Type Description
int

getStagesList()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.