Interface OperationProgressOrBuilder (2.7.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.v1beta1.OperationProgress.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.OperationProgress.Metric metrics = 3;

Returns
TypeDescription
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.v1beta1.OperationProgress.Metric metrics = 3;

Returns
TypeDescription
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.v1beta1.OperationProgress.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.OperationProgress.Metric metrics = 3;

Returns
TypeDescription
List<? extends com.google.container.v1beta1.OperationProgress.MetricOrBuilder>

getName()

public abstract String getName()

A non-parameterized string describing an operation stage. Unset for single-stage operations.

string name = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getStages(int index)

public abstract OperationProgress getStages(int index)

Substages of an operation or a stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationProgress

getStagesCount()

public abstract int getStagesCount()

Substages of an operation or a stage.

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

Returns
TypeDescription
int

getStagesList()

public abstract List<OperationProgress> getStagesList()

Substages of an operation or a stage.

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

Returns
TypeDescription
List<OperationProgress>

getStagesOrBuilder(int index)

public abstract OperationProgressOrBuilder getStagesOrBuilder(int index)

Substages of an operation or a stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationProgressOrBuilder

getStagesOrBuilderList()

public abstract List<? extends OperationProgressOrBuilder> getStagesOrBuilderList()

Substages of an operation or a stage.

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

Returns
TypeDescription
List<? extends com.google.container.v1beta1.OperationProgressOrBuilder>

getStatus()

public abstract Operation.Status getStatus()

Status of an operation stage. Unset for single-stage operations.

.google.container.v1beta1.Operation.Status status = 2;

Returns
TypeDescription
Operation.Status

The status.

getStatusValue()

public abstract int getStatusValue()

Status of an operation stage. Unset for single-stage operations.

.google.container.v1beta1.Operation.Status status = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for status.