- 4.52.0 (latest)
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class Batch.Builder extends GeneratedMessageV3.Builder<Batch.Builder> implements BatchOrBuilder
A representation of a batch workload in the service.
Protobuf type google.cloud.dataproc.v1.Batch
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Batch.BuilderImplements
BatchOrBuilderMethods
addAllStateHistory(Iterable<? extends Batch.StateHistory> values)
public Batch.Builder addAllStateHistory(Iterable<? extends Batch.StateHistory> values)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.Batch.StateHistory> |
Type | Description |
Batch.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Batch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Batch.Builder |
addStateHistory(Batch.StateHistory value)
public Batch.Builder addStateHistory(Batch.StateHistory value)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Batch.StateHistory |
Type | Description |
Batch.Builder |
addStateHistory(Batch.StateHistory.Builder builderForValue)
public Batch.Builder addStateHistory(Batch.StateHistory.Builder builderForValue)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Batch.StateHistory.Builder |
Type | Description |
Batch.Builder |
addStateHistory(int index, Batch.StateHistory value)
public Batch.Builder addStateHistory(int index, Batch.StateHistory value)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | Batch.StateHistory |
Type | Description |
Batch.Builder |
addStateHistory(int index, Batch.StateHistory.Builder builderForValue)
public Batch.Builder addStateHistory(int index, Batch.StateHistory.Builder builderForValue)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | Batch.StateHistory.Builder |
Type | Description |
Batch.Builder |
addStateHistoryBuilder()
public Batch.StateHistory.Builder addStateHistoryBuilder()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.StateHistory.Builder |
addStateHistoryBuilder(int index)
public Batch.StateHistory.Builder addStateHistoryBuilder(int index)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Batch.StateHistory.Builder |
build()
public Batch build()
Type | Description |
Batch |
buildPartial()
public Batch buildPartial()
Type | Description |
Batch |
clear()
public Batch.Builder clear()
Type | Description |
Batch.Builder |
clearBatchConfig()
public Batch.Builder clearBatchConfig()
Type | Description |
Batch.Builder |
clearCreateTime()
public Batch.Builder clearCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder |
clearCreator()
public Batch.Builder clearCreator()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clearEnvironmentConfig()
public Batch.Builder clearEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearField(Descriptors.FieldDescriptor field)
public Batch.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Batch.Builder |
clearLabels()
public Batch.Builder clearLabels()
Type | Description |
Batch.Builder |
clearName()
public Batch.Builder clearName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Batch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Batch.Builder |
clearOperation()
public Batch.Builder clearOperation()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clearPysparkBatch()
public Batch.Builder clearPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearRuntimeConfig()
public Batch.Builder clearRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearRuntimeInfo()
public Batch.Builder clearRuntimeInfo()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder |
clearSparkBatch()
public Batch.Builder clearSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearSparkRBatch()
public Batch.Builder clearSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearSparkSqlBatch()
public Batch.Builder clearSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Batch.Builder |
clearState()
public Batch.Builder clearState()
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clearStateHistory()
public Batch.Builder clearStateHistory()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder |
clearStateMessage()
public Batch.Builder clearStateMessage()
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clearStateTime()
public Batch.Builder clearStateTime()
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder |
clearUuid()
public Batch.Builder clearUuid()
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.Builder | This builder for chaining. |
clone()
public Batch.Builder clone()
Type | Description |
Batch.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getBatchConfigCase()
public Batch.BatchConfigCase getBatchConfigCase()
Type | Description |
Batch.BatchConfigCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getCreator()
public String getCreator()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The creator. |
getCreatorBytes()
public ByteString getCreatorBytes()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for creator. |
getDefaultInstanceForType()
public Batch getDefaultInstanceForType()
Type | Description |
Batch |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnvironmentConfig()
public EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EnvironmentConfig | The environmentConfig. |
getEnvironmentConfigBuilder()
public EnvironmentConfig.Builder getEnvironmentConfigBuilder()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EnvironmentConfig.Builder |
getEnvironmentConfigOrBuilder()
public EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EnvironmentConfigOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getOperation()
public String getOperation()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The operation. |
getOperationBytes()
public ByteString getOperationBytes()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for operation. |
getPysparkBatch()
public PySparkBatch getPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PySparkBatch | The pysparkBatch. |
getPysparkBatchBuilder()
public PySparkBatch.Builder getPysparkBatchBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PySparkBatch.Builder |
getPysparkBatchOrBuilder()
public PySparkBatchOrBuilder getPysparkBatchOrBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PySparkBatchOrBuilder |
getRuntimeConfig()
public RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
RuntimeConfig | The runtimeConfig. |
getRuntimeConfigBuilder()
public RuntimeConfig.Builder getRuntimeConfigBuilder()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
RuntimeConfig.Builder |
getRuntimeConfigOrBuilder()
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
RuntimeConfigOrBuilder |
getRuntimeInfo()
public RuntimeInfo getRuntimeInfo()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RuntimeInfo | The runtimeInfo. |
getRuntimeInfoBuilder()
public RuntimeInfo.Builder getRuntimeInfoBuilder()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RuntimeInfo.Builder |
getRuntimeInfoOrBuilder()
public RuntimeInfoOrBuilder getRuntimeInfoOrBuilder()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RuntimeInfoOrBuilder |
getSparkBatch()
public SparkBatch getSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkBatch | The sparkBatch. |
getSparkBatchBuilder()
public SparkBatch.Builder getSparkBatchBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkBatch.Builder |
getSparkBatchOrBuilder()
public SparkBatchOrBuilder getSparkBatchOrBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkBatchOrBuilder |
getSparkRBatch()
public SparkRBatch getSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkRBatch | The sparkRBatch. |
getSparkRBatchBuilder()
public SparkRBatch.Builder getSparkRBatchBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkRBatch.Builder |
getSparkRBatchOrBuilder()
public SparkRBatchOrBuilder getSparkRBatchOrBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkRBatchOrBuilder |
getSparkSqlBatch()
public SparkSqlBatch getSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkSqlBatch | The sparkSqlBatch. |
getSparkSqlBatchBuilder()
public SparkSqlBatch.Builder getSparkSqlBatchBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkSqlBatch.Builder |
getSparkSqlBatchOrBuilder()
public SparkSqlBatchOrBuilder getSparkSqlBatchOrBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkSqlBatchOrBuilder |
getState()
public Batch.State getState()
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Batch.State | The state. |
getStateHistory(int index)
public Batch.StateHistory getStateHistory(int index)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Batch.StateHistory |
getStateHistoryBuilder(int index)
public Batch.StateHistory.Builder getStateHistoryBuilder(int index)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Batch.StateHistory.Builder |
getStateHistoryBuilderList()
public List<Batch.StateHistory.Builder> getStateHistoryBuilderList()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
getStateHistoryCount()
public int getStateHistoryCount()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getStateHistoryList()
public List<Batch.StateHistory> getStateHistoryList()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<StateHistory> |
getStateHistoryOrBuilder(int index)
public Batch.StateHistoryOrBuilder getStateHistoryOrBuilder(int index)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Batch.StateHistoryOrBuilder |
getStateHistoryOrBuilderList()
public List<? extends Batch.StateHistoryOrBuilder> getStateHistoryOrBuilderList()
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.dataproc.v1.Batch.StateHistoryOrBuilder> |
getStateMessage()
public String getStateMessage()
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The stateMessage. |
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for stateMessage. |
getStateTime()
public Timestamp getStateTime()
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The stateTime. |
getStateTimeBuilder()
public Timestamp.Builder getStateTimeBuilder()
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getStateValue()
public int getStateValue()
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUuid()
public String getUuid()
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uuid. |
getUuidBytes()
public ByteString getUuidBytes()
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uuid. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasEnvironmentConfig()
public boolean hasEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the environmentConfig field is set. |
hasPysparkBatch()
public boolean hasPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the pysparkBatch field is set. |
hasRuntimeConfig()
public boolean hasRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the runtimeConfig field is set. |
hasRuntimeInfo()
public boolean hasRuntimeInfo()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the runtimeInfo field is set. |
hasSparkBatch()
public boolean hasSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the sparkBatch field is set. |
hasSparkRBatch()
public boolean hasSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the sparkRBatch field is set. |
hasSparkSqlBatch()
public boolean hasSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the sparkSqlBatch field is set. |
hasStateTime()
public boolean hasStateTime()
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the stateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Batch.Builder mergeCreateTime(Timestamp value)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Batch.Builder |
mergeEnvironmentConfig(EnvironmentConfig value)
public Batch.Builder mergeEnvironmentConfig(EnvironmentConfig value)
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | EnvironmentConfig |
Type | Description |
Batch.Builder |
mergeFrom(Batch other)
public Batch.Builder mergeFrom(Batch other)
Name | Description |
other | Batch |
Type | Description |
Batch.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Batch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Batch.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Batch.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Batch.Builder |
mergePysparkBatch(PySparkBatch value)
public Batch.Builder mergePysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PySparkBatch |
Type | Description |
Batch.Builder |
mergeRuntimeConfig(RuntimeConfig value)
public Batch.Builder mergeRuntimeConfig(RuntimeConfig value)
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | RuntimeConfig |
Type | Description |
Batch.Builder |
mergeRuntimeInfo(RuntimeInfo value)
public Batch.Builder mergeRuntimeInfo(RuntimeInfo value)
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | RuntimeInfo |
Type | Description |
Batch.Builder |
mergeSparkBatch(SparkBatch value)
public Batch.Builder mergeSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkBatch |
Type | Description |
Batch.Builder |
mergeSparkRBatch(SparkRBatch value)
public Batch.Builder mergeSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkRBatch |
Type | Description |
Batch.Builder |
mergeSparkSqlBatch(SparkSqlBatch value)
public Batch.Builder mergeSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkSqlBatch |
Type | Description |
Batch.Builder |
mergeStateTime(Timestamp value)
public Batch.Builder mergeStateTime(Timestamp value)
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Batch.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Batch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Batch.Builder |
putAllLabels(Map<String,String> values)
public Batch.Builder putAllLabels(Map<String,String> values)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Batch.Builder |
putLabels(String key, String value)
public Batch.Builder putLabels(String key, String value)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Batch.Builder |
removeLabels(String key)
public Batch.Builder removeLabels(String key)
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Batch.Builder |
removeStateHistory(int index)
public Batch.Builder removeStateHistory(int index)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Batch.Builder |
setCreateTime(Timestamp value)
public Batch.Builder setCreateTime(Timestamp value)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Batch.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Batch.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Batch.Builder |
setCreator(String value)
public Batch.Builder setCreator(String value)
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The creator to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setCreatorBytes(ByteString value)
public Batch.Builder setCreatorBytes(ByteString value)
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for creator to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setEnvironmentConfig(EnvironmentConfig value)
public Batch.Builder setEnvironmentConfig(EnvironmentConfig value)
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | EnvironmentConfig |
Type | Description |
Batch.Builder |
setEnvironmentConfig(EnvironmentConfig.Builder builderForValue)
public Batch.Builder setEnvironmentConfig(EnvironmentConfig.Builder builderForValue)
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | EnvironmentConfig.Builder |
Type | Description |
Batch.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Batch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Batch.Builder |
setName(String value)
public Batch.Builder setName(String value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Batch.Builder setNameBytes(ByteString value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setOperation(String value)
public Batch.Builder setOperation(String value)
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The operation to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setOperationBytes(ByteString value)
public Batch.Builder setOperationBytes(ByteString value)
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for operation to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setPysparkBatch(PySparkBatch value)
public Batch.Builder setPysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PySparkBatch |
Type | Description |
Batch.Builder |
setPysparkBatch(PySparkBatch.Builder builderForValue)
public Batch.Builder setPysparkBatch(PySparkBatch.Builder builderForValue)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | PySparkBatch.Builder |
Type | Description |
Batch.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Batch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Batch.Builder |
setRuntimeConfig(RuntimeConfig value)
public Batch.Builder setRuntimeConfig(RuntimeConfig value)
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | RuntimeConfig |
Type | Description |
Batch.Builder |
setRuntimeConfig(RuntimeConfig.Builder builderForValue)
public Batch.Builder setRuntimeConfig(RuntimeConfig.Builder builderForValue)
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | RuntimeConfig.Builder |
Type | Description |
Batch.Builder |
setRuntimeInfo(RuntimeInfo value)
public Batch.Builder setRuntimeInfo(RuntimeInfo value)
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | RuntimeInfo |
Type | Description |
Batch.Builder |
setRuntimeInfo(RuntimeInfo.Builder builderForValue)
public Batch.Builder setRuntimeInfo(RuntimeInfo.Builder builderForValue)
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | RuntimeInfo.Builder |
Type | Description |
Batch.Builder |
setSparkBatch(SparkBatch value)
public Batch.Builder setSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkBatch |
Type | Description |
Batch.Builder |
setSparkBatch(SparkBatch.Builder builderForValue)
public Batch.Builder setSparkBatch(SparkBatch.Builder builderForValue)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | SparkBatch.Builder |
Type | Description |
Batch.Builder |
setSparkRBatch(SparkRBatch value)
public Batch.Builder setSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkRBatch |
Type | Description |
Batch.Builder |
setSparkRBatch(SparkRBatch.Builder builderForValue)
public Batch.Builder setSparkRBatch(SparkRBatch.Builder builderForValue)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | SparkRBatch.Builder |
Type | Description |
Batch.Builder |
setSparkSqlBatch(SparkSqlBatch value)
public Batch.Builder setSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | SparkSqlBatch |
Type | Description |
Batch.Builder |
setSparkSqlBatch(SparkSqlBatch.Builder builderForValue)
public Batch.Builder setSparkSqlBatch(SparkSqlBatch.Builder builderForValue)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | SparkSqlBatch.Builder |
Type | Description |
Batch.Builder |
setState(Batch.State value)
public Batch.Builder setState(Batch.State value)
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Batch.State The state to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setStateHistory(int index, Batch.StateHistory value)
public Batch.Builder setStateHistory(int index, Batch.StateHistory value)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | Batch.StateHistory |
Type | Description |
Batch.Builder |
setStateHistory(int index, Batch.StateHistory.Builder builderForValue)
public Batch.Builder setStateHistory(int index, Batch.StateHistory.Builder builderForValue)
Output only. Historical state information for the batch.
repeated .google.cloud.dataproc.v1.Batch.StateHistory state_history = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | Batch.StateHistory.Builder |
Type | Description |
Batch.Builder |
setStateMessage(String value)
public Batch.Builder setStateMessage(String value)
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The stateMessage to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setStateMessageBytes(ByteString value)
public Batch.Builder setStateMessageBytes(ByteString value)
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for stateMessage to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setStateTime(Timestamp value)
public Batch.Builder setStateTime(Timestamp value)
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Batch.Builder |
setStateTime(Timestamp.Builder builderForValue)
public Batch.Builder setStateTime(Timestamp.Builder builderForValue)
Output only. The time when the batch entered a current state.
.google.protobuf.Timestamp state_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Batch.Builder |
setStateValue(int value)
public Batch.Builder setStateValue(int value)
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Batch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Batch.Builder |
setUuid(String value)
public Batch.Builder setUuid(String value)
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uuid to set. |
Type | Description |
Batch.Builder | This builder for chaining. |
setUuidBytes(ByteString value)
public Batch.Builder setUuidBytes(ByteString value)
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uuid to set. |
Type | Description |
Batch.Builder | This builder for chaining. |