Package com.google.cloud.dataproc.v1
Interface BatchOperationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchOperationMetadata
,BatchOperationMetadata.Builder
public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels associated with the operation.String
getBatch()
Name of the batch for the operation.com.google.protobuf.ByteString
getBatchBytes()
Name of the batch for the operation.String
getBatchUuid()
Batch UUID for the operation.com.google.protobuf.ByteString
getBatchUuidBytes()
Batch UUID for the operation.com.google.protobuf.Timestamp
getCreateTime()
The time when the operation was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time when the operation was created.String
getDescription()
Short description of the operation.com.google.protobuf.ByteString
getDescriptionBytes()
Short description of the operation.com.google.protobuf.Timestamp
getDoneTime()
The time when the operation finished.com.google.protobuf.TimestampOrBuilder
getDoneTimeOrBuilder()
The time when the operation finished.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels associated with the operation.Map<String,String>
getLabelsMap()
Labels associated with the operation.String
getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.String
getLabelsOrThrow(String key)
Labels associated with the operation.BatchOperationMetadata.BatchOperationType
getOperationType()
The operation type.int
getOperationTypeValue()
The operation type.String
getWarnings(int index)
Warnings encountered during operation execution.com.google.protobuf.ByteString
getWarningsBytes(int index)
Warnings encountered during operation execution.int
getWarningsCount()
Warnings encountered during operation execution.List<String>
getWarningsList()
Warnings encountered during operation execution.boolean
hasCreateTime()
The time when the operation was created.boolean
hasDoneTime()
The time when the operation finished.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBatch
String getBatch()
Name of the batch for the operation.
string batch = 1;
- Returns:
- The batch.
-
getBatchBytes
com.google.protobuf.ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;
- Returns:
- The bytes for batch.
-
getBatchUuid
String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
- Returns:
- The batchUuid.
-
getBatchUuidBytes
com.google.protobuf.ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
- Returns:
- The bytes for batchUuid.
-
hasCreateTime
boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
hasDoneTime
boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
- Returns:
- Whether the doneTime field is set.
-
getDoneTime
com.google.protobuf.Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
- Returns:
- The doneTime.
-
getDoneTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
getOperationTypeValue
int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Returns:
- The operationType.
-
getDescription
String getDescription()
Short description of the operation.
string description = 7;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
- Returns:
- The bytes for description.
-
getLabelsCount
int getLabelsCount()
Labels associated with the operation.
map<string, string> labels = 8;
-
containsLabels
boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
-
getWarningsList
List<String> getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
- Returns:
- A list containing the warnings.
-
getWarningsCount
int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;
- Returns:
- The count of warnings.
-
getWarnings
String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
index
- The index of the element to return.- Returns:
- The warnings at the given index.
-
getWarningsBytes
com.google.protobuf.ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
-