Reference documentation and code samples for the Google Cloud Dataproc V1 Client class Batch.
A representation of a batch workload in the service.
Generated from protobuf message google.cloud.dataproc.v1.Batch
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the batch.
↳ uuid
string
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
↳ create_time
Google\Protobuf\Timestamp
Output only. The time when the batch was created.
↳ pyspark_batch
↳ spark_batch
↳ spark_r_batch
↳ spark_sql_batch
↳ runtime_info
↳ state
int
Output only. The state of the batch.
↳ state_message
string
Output only. Batch state details, such as a failure description if the state is FAILED
.
↳ state_time
Google\Protobuf\Timestamp
Output only. The time when the batch entered a current state.
↳ creator
string
Output only. The email address of the user who created the batch.
↳ labels
array|Google\Protobuf\Internal\MapField
Optional. The labels to associate with this batch. Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
↳ runtime_config
↳ environment_config
Google\Cloud\Dataproc\V1\EnvironmentConfig
Optional. Environment configuration for the batch execution.
↳ operation
string
Output only. The resource name of the operation associated with this batch.
↳ state_history
array< Google\Cloud\Dataproc\V1\Batch\StateHistory
>
Output only. Historical state information for the batch.
getName
Output only. The resource name of the batch.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setName
Output only. The resource name of the batch.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getUuid
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
Generated from protobuf field string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setUuid
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
Generated from protobuf field string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getCreateTime
Output only. The time when the batch was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the batch was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getPysparkBatch
Optional. PySpark batch config.
Generated from protobuf field .google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPysparkBatch
setPysparkBatch
Optional. PySpark batch config.
Generated from protobuf field .google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
$this
getSparkBatch
Optional. Spark batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
hasSparkBatch
setSparkBatch
Optional. Spark batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
$this
getSparkRBatch
Optional. SparkR batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
hasSparkRBatch
setSparkRBatch
Optional. SparkR batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
$this
getSparkSqlBatch
Optional. SparkSql batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
hasSparkSqlBatch
setSparkSqlBatch
Optional. SparkSql batch config.
Generated from protobuf field .google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
$this
getRuntimeInfo
Output only. Runtime information about batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRuntimeInfo
clearRuntimeInfo
setRuntimeInfo
Output only. Runtime information about batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
$this
getState
Output only. The state of the batch.
Generated from protobuf field .google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setState
Output only. The state of the batch.
Generated from protobuf field .google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this
getStateMessage
Output only. Batch state details, such as a failure
description if the state is FAILED
.
Generated from protobuf field string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setStateMessage
Output only. Batch state details, such as a failure
description if the state is FAILED
.
Generated from protobuf field string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getStateTime
Output only. The time when the batch entered a current state.
Generated from protobuf field .google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasStateTime
clearStateTime
setStateTime
Output only. The time when the batch entered a current state.
Generated from protobuf field .google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getCreator
Output only. The email address of the user who created the batch.
Generated from protobuf field string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setCreator
Output only. The email address of the user who created the batch.
Generated from protobuf field string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getLabels
Optional. The labels to associate with this batch.
Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
Generated from protobuf field map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\MapField
setLabels
Optional. The labels to associate with this batch.
Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
Generated from protobuf field map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
var
array|Google\Protobuf\Internal\MapField
$this
getRuntimeConfig
Optional. Runtime configuration for the batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
hasRuntimeConfig
clearRuntimeConfig
setRuntimeConfig
Optional. Runtime configuration for the batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
$this
getEnvironmentConfig
Optional. Environment configuration for the batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
hasEnvironmentConfig
clearEnvironmentConfig
setEnvironmentConfig
Optional. Environment configuration for the batch execution.
Generated from protobuf field .google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
$this
getOperation
Output only. The resource name of the operation associated with this batch.
Generated from protobuf field string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setOperation
Output only. The resource name of the operation associated with this batch.
Generated from protobuf field string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getStateHistory
Output only. Historical state information for the batch.
Generated from protobuf field repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Internal\RepeatedField
setStateHistory
Output only. Historical state information for the batch.
Generated from protobuf field repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
$this
getBatchConfig
string

