Package com.google.container.v1
Class OperationProgress
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1.OperationProgress
-
- All Implemented Interfaces:
OperationProgressOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3 implements OperationProgressOrBuilder
Information about operation (or operation stage) progress.
Protobuf typegoogle.container.v1.OperationProgress- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationProgress.BuilderInformation about operation (or operation stage) progress.static classOperationProgress.MetricProgress metric is (string, int|float|string) pair.static interfaceOperationProgress.MetricOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMETRICS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSTAGES_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OperationProgressgetDefaultInstance()OperationProgressgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OperationProgress.MetricgetMetrics(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}]intgetMetricsCount()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}]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}]OperationProgress.MetricOrBuildergetMetricsOrBuilder(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}]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}]StringgetName()A non-parameterized string describing an operation stage.com.google.protobuf.ByteStringgetNameBytes()A non-parameterized string describing an operation stage.com.google.protobuf.Parser<OperationProgress>getParserForType()intgetSerializedSize()OperationProgressgetStages(int index)Substages of an operation or a stage.intgetStagesCount()Substages of an operation or a stage.List<OperationProgress>getStagesList()Substages of an operation or a stage.OperationProgressOrBuildergetStagesOrBuilder(int index)Substages of an operation or a stage.List<? extends OperationProgressOrBuilder>getStagesOrBuilderList()Substages of an operation or a stage.Operation.StatusgetStatus()Status of an operation stage.intgetStatusValue()Status of an operation stage.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OperationProgress.BuildernewBuilder()static OperationProgress.BuildernewBuilder(OperationProgress prototype)OperationProgress.BuildernewBuilderForType()protected OperationProgress.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OperationProgressparseDelimitedFrom(InputStream input)static OperationProgressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationProgressparseFrom(byte[] data)static OperationProgressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationProgressparseFrom(com.google.protobuf.ByteString data)static OperationProgressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationProgressparseFrom(com.google.protobuf.CodedInputStream input)static OperationProgressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationProgressparseFrom(InputStream input)static OperationProgressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationProgressparseFrom(ByteBuffer data)static OperationProgressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OperationProgress>parser()OperationProgress.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STAGES_FIELD_NUMBER
public static final int STAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;- Specified by:
getNamein interfaceOperationProgressOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A non-parameterized string describing an operation stage. Unset for single-stage operations.
string name = 1;- Specified by:
getNameBytesin interfaceOperationProgressOrBuilder- Returns:
- The bytes for name.
-
getStatusValue
public int getStatusValue()
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;- Specified by:
getStatusValuein interfaceOperationProgressOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public Operation.Status getStatus()
Status of an operation stage. Unset for single-stage operations.
.google.container.v1.Operation.Status status = 2;- Specified by:
getStatusin interfaceOperationProgressOrBuilder- Returns:
- The status.
-
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;- Specified by:
getMetricsListin interfaceOperationProgressOrBuilder
-
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;- Specified by:
getMetricsOrBuilderListin interfaceOperationProgressOrBuilder
-
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;- Specified by:
getMetricsCountin interfaceOperationProgressOrBuilder
-
getMetrics
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;- Specified by:
getMetricsin interfaceOperationProgressOrBuilder
-
getMetricsOrBuilder
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;- Specified by:
getMetricsOrBuilderin interfaceOperationProgressOrBuilder
-
getStagesList
public List<OperationProgress> getStagesList()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;- Specified by:
getStagesListin interfaceOperationProgressOrBuilder
-
getStagesOrBuilderList
public List<? extends OperationProgressOrBuilder> getStagesOrBuilderList()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;- Specified by:
getStagesOrBuilderListin interfaceOperationProgressOrBuilder
-
getStagesCount
public int getStagesCount()
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;- Specified by:
getStagesCountin interfaceOperationProgressOrBuilder
-
getStages
public OperationProgress getStages(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;- Specified by:
getStagesin interfaceOperationProgressOrBuilder
-
getStagesOrBuilder
public OperationProgressOrBuilder getStagesOrBuilder(int index)
Substages of an operation or a stage.
repeated .google.container.v1.OperationProgress stages = 4;- Specified by:
getStagesOrBuilderin interfaceOperationProgressOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OperationProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationProgress parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OperationProgress parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OperationProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationProgress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationProgress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OperationProgress.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OperationProgress.Builder newBuilder()
-
newBuilder
public static OperationProgress.Builder newBuilder(OperationProgress prototype)
-
toBuilder
public OperationProgress.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationProgress.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OperationProgress getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OperationProgress> parser()
-
getParserForType
public com.google.protobuf.Parser<OperationProgress> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OperationProgress getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-