Package com.google.cloud.dataproc.v1
Class NodeGroupOperationMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.NodeGroupOperationMetadata
-
- All Implemented Interfaces:
NodeGroupOperationMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NodeGroupOperationMetadata extends com.google.protobuf.GeneratedMessageV3 implements NodeGroupOperationMetadataOrBuilder
Metadata describing the node group operation.
Protobuf typegoogle.cloud.dataproc.v1.NodeGroupOperationMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeGroupOperationMetadata.BuilderMetadata describing the node group operation.static classNodeGroupOperationMetadata.NodeGroupOperationTypeOperation type for node group resources.-
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 intCLUSTER_UUID_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNODE_GROUP_ID_FIELD_NUMBERstatic intOPERATION_TYPE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTATUS_HISTORY_FIELD_NUMBERstatic intWARNINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Output only.booleanequals(Object obj)StringgetClusterUuid()Output only.com.google.protobuf.ByteStringgetClusterUuidBytes()Output only.static NodeGroupOperationMetadatagetDefaultInstance()NodeGroupOperationMetadatagetDefaultInstanceForType()StringgetDescription()Output only.com.google.protobuf.ByteStringgetDescriptionBytes()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Output only.Map<String,String>getLabelsMap()Output only.StringgetLabelsOrDefault(String key, String defaultValue)Output only.StringgetLabelsOrThrow(String key)Output only.StringgetNodeGroupId()Output only.com.google.protobuf.ByteStringgetNodeGroupIdBytes()Output only.NodeGroupOperationMetadata.NodeGroupOperationTypegetOperationType()The operation type.intgetOperationTypeValue()The operation type.com.google.protobuf.Parser<NodeGroupOperationMetadata>getParserForType()intgetSerializedSize()ClusterOperationStatusgetStatus()Output only.ClusterOperationStatusgetStatusHistory(int index)Output only.intgetStatusHistoryCount()Output only.List<ClusterOperationStatus>getStatusHistoryList()Output only.ClusterOperationStatusOrBuildergetStatusHistoryOrBuilder(int index)Output only.List<? extends ClusterOperationStatusOrBuilder>getStatusHistoryOrBuilderList()Output only.ClusterOperationStatusOrBuildergetStatusOrBuilder()Output only.StringgetWarnings(int index)Output only.com.google.protobuf.ByteStringgetWarningsBytes(int index)Output only.intgetWarningsCount()Output only.com.google.protobuf.ProtocolStringListgetWarningsList()Output only.inthashCode()booleanhasStatus()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static NodeGroupOperationMetadata.BuildernewBuilder()static NodeGroupOperationMetadata.BuildernewBuilder(NodeGroupOperationMetadata prototype)NodeGroupOperationMetadata.BuildernewBuilderForType()protected NodeGroupOperationMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NodeGroupOperationMetadataparseDelimitedFrom(InputStream input)static NodeGroupOperationMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupOperationMetadataparseFrom(byte[] data)static NodeGroupOperationMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupOperationMetadataparseFrom(com.google.protobuf.ByteString data)static NodeGroupOperationMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupOperationMetadataparseFrom(com.google.protobuf.CodedInputStream input)static NodeGroupOperationMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupOperationMetadataparseFrom(InputStream input)static NodeGroupOperationMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupOperationMetadataparseFrom(ByteBuffer data)static NodeGroupOperationMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NodeGroupOperationMetadata>parser()NodeGroupOperationMetadata.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, 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
-
NODE_GROUP_ID_FIELD_NUMBER
public static final int NODE_GROUP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_UUID_FIELD_NUMBER
public static final int CLUSTER_UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_HISTORY_FIELD_NUMBER
public static final int STATUS_HISTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNodeGroupId
public String getNodeGroupId()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNodeGroupIdin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The nodeGroupId.
-
getNodeGroupIdBytes
public com.google.protobuf.ByteString getNodeGroupIdBytes()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNodeGroupIdBytesin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The bytes for nodeGroupId.
-
getClusterUuid
public String getClusterUuid()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterUuidin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The clusterUuid.
-
getClusterUuidBytes
public com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterUuidBytesin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The bytes for clusterUuid.
-
hasStatus
public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistoryList
public List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusHistoryListin interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistoryOrBuilderList
public List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusHistoryOrBuilderListin interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistoryCount
public int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusHistoryCountin interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistory
public ClusterOperationStatus getStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusHistoryin interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistoryOrBuilder
public ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusHistoryOrBuilderin interfaceNodeGroupOperationMetadataOrBuilder
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;- Specified by:
getOperationTypeValuein interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;- Specified by:
getOperationTypein interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The operationType.
-
getDescription
public String getDescription()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NodeGroupOperationMetadataOrBuilderOutput only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsCountin interfaceNodeGroupOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsLabelsin interfaceNodeGroupOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsMapin interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsOrDefaultin interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsOrThrowin interfaceNodeGroupOperationMetadataOrBuilder
-
getWarningsList
public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsListin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsCountin interfaceNodeGroupOperationMetadataOrBuilder- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsin interfaceNodeGroupOperationMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The warnings at the given index.
-
getWarningsBytes
public com.google.protobuf.ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsBytesin interfaceNodeGroupOperationMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
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 NodeGroupOperationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeGroupOperationMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeGroupOperationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroupOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NodeGroupOperationMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodeGroupOperationMetadata.Builder newBuilder()
-
newBuilder
public static NodeGroupOperationMetadata.Builder newBuilder(NodeGroupOperationMetadata prototype)
-
toBuilder
public NodeGroupOperationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeGroupOperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NodeGroupOperationMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NodeGroupOperationMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<NodeGroupOperationMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeGroupOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-