Interface NodeGroupOperationMetadataOrBuilder (4.49.0)

public interface NodeGroupOperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
Returns
Type Description
boolean

getClusterUuid()

public abstract 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.

getClusterUuidBytes()

public abstract 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.

getDescription()

public abstract String getDescription()

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract 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.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract 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
Returns
Type Description
String

getNodeGroupId()

public abstract 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.

getNodeGroupIdBytes()

public abstract 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.

getOperationType()

public abstract NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Returns
Type Description
NodeGroupOperationMetadata.NodeGroupOperationType

The operationType.

getOperationTypeValue()

public abstract 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.

getStatus()

public abstract ClusterOperationStatus getStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationStatus

The status.

getStatusHistory(int index)

public abstract 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
Returns
Type Description
ClusterOperationStatus

getStatusHistoryCount()

public abstract 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 abstract List<ClusterOperationStatus> getStatusHistoryList()

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<ClusterOperationStatus>

getStatusHistoryOrBuilder(int index)

public abstract 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
Returns
Type Description
ClusterOperationStatusOrBuilder

getStatusHistoryOrBuilderList()

public abstract 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>

getStatusOrBuilder()

public abstract ClusterOperationStatusOrBuilder getStatusOrBuilder()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationStatusOrBuilder

getWarnings(int index)

public abstract 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.

getWarningsBytes(int index)

public abstract 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.

getWarningsCount()

public abstract 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.

getWarningsList()

public abstract List<String> getWarningsList()

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the warnings.

hasStatus()

public abstract 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.