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 class
NodeGroupOperationMetadata.Builder
Metadata describing the node group operation.static class
NodeGroupOperationMetadata.NodeGroupOperationType
Operation 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 int
CLUSTER_UUID_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NODE_GROUP_ID_FIELD_NUMBER
static int
OPERATION_TYPE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
STATUS_HISTORY_FIELD_NUMBER
static int
WARNINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Output only.boolean
equals(Object obj)
String
getClusterUuid()
Output only.com.google.protobuf.ByteString
getClusterUuidBytes()
Output only.static NodeGroupOperationMetadata
getDefaultInstance()
NodeGroupOperationMetadata
getDefaultInstanceForType()
String
getDescription()
Output only.com.google.protobuf.ByteString
getDescriptionBytes()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Output only.Map<String,String>
getLabelsMap()
Output only.String
getLabelsOrDefault(String key, String defaultValue)
Output only.String
getLabelsOrThrow(String key)
Output only.String
getNodeGroupId()
Output only.com.google.protobuf.ByteString
getNodeGroupIdBytes()
Output only.NodeGroupOperationMetadata.NodeGroupOperationType
getOperationType()
The operation type.int
getOperationTypeValue()
The operation type.com.google.protobuf.Parser<NodeGroupOperationMetadata>
getParserForType()
int
getSerializedSize()
ClusterOperationStatus
getStatus()
Output only.ClusterOperationStatus
getStatusHistory(int index)
Output only.int
getStatusHistoryCount()
Output only.List<ClusterOperationStatus>
getStatusHistoryList()
Output only.ClusterOperationStatusOrBuilder
getStatusHistoryOrBuilder(int index)
Output only.List<? extends ClusterOperationStatusOrBuilder>
getStatusHistoryOrBuilderList()
Output only.ClusterOperationStatusOrBuilder
getStatusOrBuilder()
Output only.String
getWarnings(int index)
Output only.com.google.protobuf.ByteString
getWarningsBytes(int index)
Output only.int
getWarningsCount()
Output only.com.google.protobuf.ProtocolStringList
getWarningsList()
Output only.int
hashCode()
boolean
hasStatus()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static NodeGroupOperationMetadata.Builder
newBuilder()
static NodeGroupOperationMetadata.Builder
newBuilder(NodeGroupOperationMetadata prototype)
NodeGroupOperationMetadata.Builder
newBuilderForType()
protected NodeGroupOperationMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NodeGroupOperationMetadata
parseDelimitedFrom(InputStream input)
static NodeGroupOperationMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroupOperationMetadata
parseFrom(byte[] data)
static NodeGroupOperationMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroupOperationMetadata
parseFrom(com.google.protobuf.ByteString data)
static NodeGroupOperationMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroupOperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static NodeGroupOperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroupOperationMetadata
parseFrom(InputStream input)
static NodeGroupOperationMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroupOperationMetadata
parseFrom(ByteBuffer data)
static NodeGroupOperationMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NodeGroupOperationMetadata>
parser()
NodeGroupOperationMetadata.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getNodeGroupId
in 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:
getNodeGroupIdBytes
in 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:
getClusterUuid
in 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:
getClusterUuidBytes
in 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:
hasStatus
in 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:
getStatus
in 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:
getStatusOrBuilder
in 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:
getStatusHistoryList
in 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:
getStatusHistoryOrBuilderList
in 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:
getStatusHistoryCount
in 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:
getStatusHistory
in 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:
getStatusHistoryOrBuilder
in interfaceNodeGroupOperationMetadataOrBuilder
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Specified by:
getOperationTypeValue
in 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:
getOperationType
in 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:
getDescription
in 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:
getDescriptionBytes
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NodeGroupOperationMetadataOrBuilder
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceNodeGroupOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
getWarningsList
in 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:
getWarningsCount
in 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:
getWarnings
in 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:
getWarningsBytes
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeGroupOperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeGroupOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-