Package com.google.cloud.dataproc.v1
Class Batch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
- com.google.cloud.dataproc.v1.Batch.Builder
-
- All Implemented Interfaces:
BatchOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Batch
public static final class Batch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder> implements BatchOrBuilder
A representation of a batch workload in the service.
Protobuf typegoogle.cloud.dataproc.v1.Batch
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
clear
public Batch.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
getDefaultInstanceForType
public Batch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Batch build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Batch buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Batch.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
setField
public Batch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
clearField
public Batch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
clearOneof
public Batch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
setRepeatedField
public Batch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
addRepeatedField
public Batch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
mergeFrom
public Batch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Batch.Builder>
-
mergeFrom
public Batch.Builder mergeFrom(Batch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
mergeFrom
public Batch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Batch.Builder>
- Throws:
IOException
-
getBatchConfigCase
public Batch.BatchConfigCase getBatchConfigCase()
- Specified by:
getBatchConfigCase
in interfaceBatchOrBuilder
-
clearBatchConfig
public Batch.Builder clearBatchConfig()
-
getName
public String getName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceBatchOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceBatchOrBuilder
- Returns:
- The bytes for name.
-
setName
public Batch.Builder setName(String value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Batch.Builder clearName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Batch.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getUuid
in interfaceBatchOrBuilder
- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.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];
- Specified by:
getUuidBytes
in interfaceBatchOrBuilder
- Returns:
- The bytes for uuid.
-
setUuid
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];
- Parameters:
value
- The uuid to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setUuidBytes
public Batch.Builder setUuidBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasCreateTime
in interfaceBatchOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceBatchOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Batch.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Batch.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Batch.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceBatchOrBuilder
-
hasPysparkBatch
public boolean hasPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPysparkBatch
in interfaceBatchOrBuilder
- Returns:
- Whether the pysparkBatch field is set.
-
getPysparkBatch
public PySparkBatch getPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkBatch
in interfaceBatchOrBuilder
- Returns:
- The pysparkBatch.
-
setPysparkBatch
public Batch.Builder setPysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setPysparkBatch
public Batch.Builder setPysparkBatch(PySparkBatch.Builder builderForValue)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergePysparkBatch
public Batch.Builder mergePysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearPysparkBatch
public Batch.Builder clearPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkBatchBuilder
public PySparkBatch.Builder getPysparkBatchBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkBatchOrBuilder
public PySparkBatchOrBuilder getPysparkBatchOrBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkBatchOrBuilder
in interfaceBatchOrBuilder
-
hasSparkBatch
public boolean hasSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkBatch
in interfaceBatchOrBuilder
- Returns:
- Whether the sparkBatch field is set.
-
getSparkBatch
public SparkBatch getSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkBatch
in interfaceBatchOrBuilder
- Returns:
- The sparkBatch.
-
setSparkBatch
public Batch.Builder setSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkBatch
public Batch.Builder setSparkBatch(SparkBatch.Builder builderForValue)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSparkBatch
public Batch.Builder mergeSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkBatch
public Batch.Builder clearSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkBatchBuilder
public SparkBatch.Builder getSparkBatchBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkBatchOrBuilder
public SparkBatchOrBuilder getSparkBatchOrBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkBatchOrBuilder
in interfaceBatchOrBuilder
-
hasSparkRBatch
public boolean hasSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkRBatch
in interfaceBatchOrBuilder
- Returns:
- Whether the sparkRBatch field is set.
-
getSparkRBatch
public SparkRBatch getSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRBatch
in interfaceBatchOrBuilder
- Returns:
- The sparkRBatch.
-
setSparkRBatch
public Batch.Builder setSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkRBatch
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];
-
mergeSparkRBatch
public Batch.Builder mergeSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkRBatch
public Batch.Builder clearSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkRBatchBuilder
public SparkRBatch.Builder getSparkRBatchBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkRBatchOrBuilder
public SparkRBatchOrBuilder getSparkRBatchOrBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRBatchOrBuilder
in interfaceBatchOrBuilder
-
hasSparkSqlBatch
public boolean hasSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkSqlBatch
in interfaceBatchOrBuilder
- Returns:
- Whether the sparkSqlBatch field is set.
-
getSparkSqlBatch
public SparkSqlBatch getSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlBatch
in interfaceBatchOrBuilder
- Returns:
- The sparkSqlBatch.
-
setSparkSqlBatch
public Batch.Builder setSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkSqlBatch
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];
-
mergeSparkSqlBatch
public Batch.Builder mergeSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkSqlBatch
public Batch.Builder clearSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkSqlBatchBuilder
public SparkSqlBatch.Builder getSparkSqlBatchBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkSqlBatchOrBuilder
public SparkSqlBatchOrBuilder getSparkSqlBatchOrBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlBatchOrBuilder
in interfaceBatchOrBuilder
-
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];
- Specified by:
hasRuntimeInfo
in interfaceBatchOrBuilder
- Returns:
- Whether the runtimeInfo field is set.
-
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];
- Specified by:
getRuntimeInfo
in interfaceBatchOrBuilder
- Returns:
- The runtimeInfo.
-
setRuntimeInfo
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];
-
setRuntimeInfo
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];
-
mergeRuntimeInfo
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];
-
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];
-
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];
-
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];
- Specified by:
getRuntimeInfoOrBuilder
in interfaceBatchOrBuilder
-
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];
- Specified by:
getStateValue
in interfaceBatchOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceBatchOrBuilder
- Returns:
- The state.
-
setState
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];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
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];
- Specified by:
getStateMessage
in interfaceBatchOrBuilder
- Returns:
- The stateMessage.
-
getStateMessageBytes
public com.google.protobuf.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];
- Specified by:
getStateMessageBytes
in interfaceBatchOrBuilder
- Returns:
- The bytes for stateMessage.
-
setStateMessage
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];
- Parameters:
value
- The stateMessage to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setStateMessageBytes
public Batch.Builder setStateMessageBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for stateMessage to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasStateTime
in interfaceBatchOrBuilder
- Returns:
- Whether the stateTime field is set.
-
getStateTime
public com.google.protobuf.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];
- Specified by:
getStateTime
in interfaceBatchOrBuilder
- Returns:
- The stateTime.
-
setStateTime
public Batch.Builder setStateTime(com.google.protobuf.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];
-
setStateTime
public Batch.Builder setStateTime(com.google.protobuf.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];
-
mergeStateTime
public Batch.Builder mergeStateTime(com.google.protobuf.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];
-
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];
-
getStateTimeBuilder
public com.google.protobuf.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];
-
getStateTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getStateTimeOrBuilder
in interfaceBatchOrBuilder
-
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];
- Specified by:
getCreator
in interfaceBatchOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceBatchOrBuilder
- Returns:
- The bytes for creator.
-
setCreator
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];
- Parameters:
value
- The creator to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setCreatorBytes
public Batch.Builder setCreatorBytes(com.google.protobuf.ByteString value)
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for creator to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:BatchOrBuilder
Optional. The labels to associate with this batch. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceBatchOrBuilder
-
containsLabels
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceBatchOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceBatchOrBuilder
-
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceBatchOrBuilder
-
getLabelsOrDefault
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceBatchOrBuilder
-
getLabelsOrThrow
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceBatchOrBuilder
-
clearLabels
public Batch.Builder clearLabels()
-
removeLabels
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
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](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
-
hasRuntimeConfig
public boolean hasRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasRuntimeConfig
in interfaceBatchOrBuilder
- Returns:
- Whether the runtimeConfig field is set.
-
getRuntimeConfig
public RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRuntimeConfig
in interfaceBatchOrBuilder
- Returns:
- The runtimeConfig.
-
setRuntimeConfig
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];
-
setRuntimeConfig
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];
-
mergeRuntimeConfig
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];
-
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];
-
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];
-
getRuntimeConfigOrBuilder
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRuntimeConfigOrBuilder
in interfaceBatchOrBuilder
-
hasEnvironmentConfig
public boolean hasEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEnvironmentConfig
in interfaceBatchOrBuilder
- Returns:
- Whether the environmentConfig field is set.
-
getEnvironmentConfig
public EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnvironmentConfig
in interfaceBatchOrBuilder
- Returns:
- The environmentConfig.
-
setEnvironmentConfig
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];
-
setEnvironmentConfig
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];
-
mergeEnvironmentConfig
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];
-
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];
-
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];
-
getEnvironmentConfigOrBuilder
public EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnvironmentConfigOrBuilder
in interfaceBatchOrBuilder
-
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];
- Specified by:
getOperation
in interfaceBatchOrBuilder
- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getOperationBytes
in interfaceBatchOrBuilder
- Returns:
- The bytes for operation.
-
setOperation
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];
- Parameters:
value
- The operation to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setOperationBytes
public Batch.Builder setOperationBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for operation to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getStateHistoryList
in interfaceBatchOrBuilder
-
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];
- Specified by:
getStateHistoryCount
in interfaceBatchOrBuilder
-
getStateHistory
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];
- Specified by:
getStateHistory
in interfaceBatchOrBuilder
-
setStateHistory
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];
-
setStateHistory
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];
-
addStateHistory
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];
-
addStateHistory
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];
-
addStateHistory
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];
-
addStateHistory
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];
-
addAllStateHistory
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];
-
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];
-
removeStateHistory
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];
-
getStateHistoryBuilder
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];
-
getStateHistoryOrBuilder
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];
- Specified by:
getStateHistoryOrBuilder
in interfaceBatchOrBuilder
-
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];
- Specified by:
getStateHistoryOrBuilderList
in interfaceBatchOrBuilder
-
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];
-
addStateHistoryBuilder
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];
-
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];
-
setUnknownFields
public final Batch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
mergeUnknownFields
public final Batch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Batch.Builder>
-
-