Package com.google.cloud.dataproc.v1
Interface ClusterOperationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterOperationMetadata,ClusterOperationMetadata.Builder
public interface ClusterOperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Output only.StringgetChildOperationIds(int index)Output only.com.google.protobuf.ByteStringgetChildOperationIdsBytes(int index)Output only.intgetChildOperationIdsCount()Output only.List<String>getChildOperationIdsList()Output only.StringgetClusterName()Output only.com.google.protobuf.ByteStringgetClusterNameBytes()Output only.StringgetClusterUuid()Output only.com.google.protobuf.ByteStringgetClusterUuidBytes()Output only.StringgetDescription()Output only.com.google.protobuf.ByteStringgetDescriptionBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Output only.Map<String,String>getLabelsMap()Output only.StringgetLabelsOrDefault(String key, String defaultValue)Output only.StringgetLabelsOrThrow(String key)Output only.StringgetOperationType()Output only.com.google.protobuf.ByteStringgetOperationTypeBytes()Output only.ClusterOperationStatusgetStatus()Output only.ClusterOperationStatusgetStatusHistory(int index)Output only.intgetStatusHistoryCount()Output only.List<ClusterOperationStatus>getStatusHistoryList()Output only.ClusterOperationStatusOrBuildergetStatusHistoryOrBuilder(int index)Output only.List<? extends ClusterOperationStatusOrBuilder>getStatusHistoryOrBuilderList()Output only.ClusterOperationStatusOrBuildergetStatusOrBuilder()Output only.StringgetWarnings(int index)Output only.com.google.protobuf.ByteStringgetWarningsBytes(int index)Output only.intgetWarningsCount()Output only.List<String>getWarningsList()Output only.booleanhasStatus()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClusterName
String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for clusterName.
-
getClusterUuid
String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clusterUuid.
-
getClusterUuidBytes
com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for clusterUuid.
-
hasStatus
boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the status field is set.
-
getStatus
ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusOrBuilder
ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistoryList
List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistory
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];
-
getStatusHistoryCount
int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistoryOrBuilderList
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];
-
getStatusHistoryOrBuilder
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];
-
getOperationType
String getOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The operationType.
-
getOperationTypeBytes
com.google.protobuf.ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for operationType.
-
getDescription
String getDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for description.
-
getLabelsCount
int getLabelsCount()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
containsLabels
boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getWarningsList
List<String> getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the warnings.
-
getWarningsCount
int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of warnings.
-
getWarnings
String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The warnings at the given index.
-
getWarningsBytes
com.google.protobuf.ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
getChildOperationIdsList
List<String> getChildOperationIdsList()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the childOperationIds.
-
getChildOperationIdsCount
int getChildOperationIdsCount()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of childOperationIds.
-
getChildOperationIds
String getChildOperationIds(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The childOperationIds at the given index.
-
getChildOperationIdsBytes
com.google.protobuf.ByteString getChildOperationIdsBytes(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the childOperationIds at the given index.
-
-