public final class NodeGroupOperationMetadata extends GeneratedMessageV3 implements NodeGroupOperationMetadataOrBuilder
Metadata describing the node group operation.
Protobuf type google.cloud.dataproc.v1.NodeGroupOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CLUSTER_UUID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NODE_GROUP_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATUS_HISTORY_FIELD_NUMBER
public static final int STATUS_HISTORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int WARNINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static NodeGroupOperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static NodeGroupOperationMetadata.Builder newBuilder()
public static NodeGroupOperationMetadata.Builder newBuilder(NodeGroupOperationMetadata prototype)
public static NodeGroupOperationMetadata parseDelimitedFrom(InputStream input)
public static NodeGroupOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupOperationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static NodeGroupOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupOperationMetadata parseFrom(ByteString data)
public static NodeGroupOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupOperationMetadata parseFrom(CodedInputStream input)
public static NodeGroupOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupOperationMetadata parseFrom(InputStream input)
public static NodeGroupOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupOperationMetadata parseFrom(ByteBuffer data)
public static NodeGroupOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<NodeGroupOperationMetadata> parser()
Methods
public boolean containsLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
key | String
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public String getClusterUuid()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The clusterUuid.
|
public ByteString getClusterUuidBytes()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for clusterUuid.
|
public NodeGroupOperationMetadata getDefaultInstanceForType()
public String getDescription()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
public Map<String,String> getLabels()
public int getLabelsCount()
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
key | String
|
public String getNodeGroupId()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The nodeGroupId.
|
public ByteString getNodeGroupIdBytes()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for nodeGroupId.
|
public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for operationType.
|
public Parser<NodeGroupOperationMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistory(int index)
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];
Parameter |
---|
Name | Description |
index | int
|
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];
Returns |
---|
Type | Description |
int | |
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];
getStatusHistoryOrBuilder(int index)
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];
Parameter |
---|
Name | Description |
index | int
|
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];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder> | |
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The warnings at the given index.
|
public ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the warnings at the given index.
|
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The count of warnings.
|
public ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the status field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public NodeGroupOperationMetadata.Builder newBuilderForType()
protected NodeGroupOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public NodeGroupOperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides