Interface ClusterOperationMetadataOrBuilder (4.44.0)

public interface ClusterOperationMetadataOrBuilder 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getChildOperationIds(int index)

public abstract String getChildOperationIds(int index)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The childOperationIds at the given index.

getChildOperationIdsBytes(int index)

public abstract ByteString getChildOperationIdsBytes(int index)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.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 childOperationIds at the given index.

getChildOperationIdsCount()

public abstract int getChildOperationIdsCount()

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of childOperationIds.

getChildOperationIdsList()

public abstract List<String> getChildOperationIdsList()

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the childOperationIds.

getClusterName()

public abstract String getClusterName()

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public abstract ByteString getClusterNameBytes()

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterName.

getClusterUuid()

public abstract String getClusterUuid()

Output only. Cluster UUID for the operation.

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

Returns
Type Description
String

The clusterUuid.

getClusterUuidBytes()

public abstract ByteString getClusterUuidBytes()

Output only. Cluster UUID for the operation.

string cluster_uuid = 8 [(.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 = 12 [(.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 = 12 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getOperationType()

public abstract String getOperationType()

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationType.

getOperationTypeBytes()

public abstract ByteString getOperationTypeBytes()

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationType.

getStatus()

public abstract ClusterOperationStatus getStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 9 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.