Google Cloud Dataproc V1 Client - Class BatchOperationMetadata (3.2.2)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class BatchOperationMetadata.

Metadata describing the Batch operation.

Generated from protobuf message google.cloud.dataproc.v1.BatchOperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ batch string

Name of the batch for the operation.

↳ batch_uuid string

Batch UUID for the operation.

↳ create_time Google\Protobuf\Timestamp

The time when the operation was created.

↳ done_time Google\Protobuf\Timestamp

The time when the operation finished.

↳ operation_type int

The operation type.

↳ description string

Short description of the operation.

↳ labels array|Google\Protobuf\Internal\MapField

Labels associated with the operation.

↳ warnings array

Warnings encountered during operation execution.

getBatch

Name of the batch for the operation.

Generated from protobuf field string batch = 1;

Returns
TypeDescription
string

setBatch

Name of the batch for the operation.

Generated from protobuf field string batch = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBatchUuid

Batch UUID for the operation.

Generated from protobuf field string batch_uuid = 2;

Returns
TypeDescription
string

setBatchUuid

Batch UUID for the operation.

Generated from protobuf field string batch_uuid = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

The time when the operation was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time when the operation was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDoneTime

The time when the operation finished.

Generated from protobuf field .google.protobuf.Timestamp done_time = 4;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasDoneTime

clearDoneTime

setDoneTime

The time when the operation finished.

Generated from protobuf field .google.protobuf.Timestamp done_time = 4;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getOperationType

The operation type.

Generated from protobuf field .google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;

Returns
TypeDescription
int

setOperationType

The operation type.

Generated from protobuf field .google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDescription

Short description of the operation.

Generated from protobuf field string description = 7;

Returns
TypeDescription
string

setDescription

Short description of the operation.

Generated from protobuf field string description = 7;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Labels associated with the operation.

Generated from protobuf field map<string, string> labels = 8;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels associated with the operation.

Generated from protobuf field map<string, string> labels = 8;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getWarnings

Warnings encountered during operation execution.

Generated from protobuf field repeated string warnings = 9;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWarnings

Warnings encountered during operation execution.

Generated from protobuf field repeated string warnings = 9;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this