Interface NodeGroupOperationMetadataOrBuilder (4.27.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. Short description of operation.

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

Returns
TypeDescription
ByteString

The bytes for description.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nodeGroupId.

getOperationType()

public abstract NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()

The operation type.

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

Returns
TypeDescription
NodeGroupOperationMetadata.NodeGroupOperationType

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

The operation type.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.