Interface BatchOperationMetadataOrBuilder (4.44.0)

public interface BatchOperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBatch()

public abstract String getBatch()

Name of the batch for the operation.

string batch = 1;

Returns
Type Description
String

The batch.

getBatchBytes()

public abstract ByteString getBatchBytes()

Name of the batch for the operation.

string batch = 1;

Returns
Type Description
ByteString

The bytes for batch.

getBatchUuid()

public abstract String getBatchUuid()

Batch UUID for the operation.

string batch_uuid = 2;

Returns
Type Description
String

The batchUuid.

getBatchUuidBytes()

public abstract ByteString getBatchUuidBytes()

Batch UUID for the operation.

string batch_uuid = 2;

Returns
Type Description
ByteString

The bytes for batchUuid.

getCreateTime()

public abstract Timestamp getCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Short description of the operation.

string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Short description of the operation.

string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDoneTime()

public abstract Timestamp getDoneTime()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
Timestamp

The doneTime.

getDoneTimeOrBuilder()

public abstract TimestampOrBuilder getDoneTimeOrBuilder()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels associated with the operation.

map<string, string> labels = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getOperationType()

public abstract BatchOperationMetadata.BatchOperationType getOperationType()

The operation type.

.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;

Returns
Type Description
BatchOperationMetadata.BatchOperationType

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

The operation type.

.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for operationType.

getWarnings(int index)

public abstract String getWarnings(int index)

Warnings encountered during operation execution.

repeated string warnings = 9;

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)

Warnings encountered during operation execution.

repeated string warnings = 9;

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()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
Type Description
int

The count of warnings.

getWarningsList()

public abstract List<String> getWarningsList()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
Type Description
List<String>

A list containing the warnings.

hasCreateTime()

public abstract boolean hasCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDoneTime()

public abstract boolean hasDoneTime()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
boolean

Whether the doneTime field is set.