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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<Batch.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<Batch.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Batch.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Batch build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Batch buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Batch.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Batch.Builder>
public Batch.Builder mergeFrom(Batch other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Batch.Builder>
public Batch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Batch.Builder>
IOException
public Batch.BatchConfigCase getBatchConfigCase()
getBatchConfigCase
in interface BatchOrBuilder
public Batch.Builder clearBatchConfig()
public String getName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName
in interface BatchOrBuilder
public ByteString getNameBytes()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNameBytes
in interface BatchOrBuilder
public Batch.Builder setName(String value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The name to set.public Batch.Builder clearName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Batch.Builder setNameBytes(ByteString value)
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for name to set.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];
getUuid
in interface BatchOrBuilder
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];
getUuidBytes
in interface BatchOrBuilder
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];
value
- The uuid to set.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];
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];
value
- The bytes for uuid to set.public boolean hasCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface BatchOrBuilder
public Timestamp getCreateTime()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface BatchOrBuilder
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];
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];
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];
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];
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];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the batch was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface BatchOrBuilder
public boolean hasPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPysparkBatch
in interface BatchOrBuilder
public PySparkBatch getPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
getPysparkBatch
in interface BatchOrBuilder
public Batch.Builder setPysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder setPysparkBatch(PySparkBatch.Builder builderForValue)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder mergePysparkBatch(PySparkBatch value)
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder clearPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
public PySparkBatch.Builder getPysparkBatchBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
public PySparkBatchOrBuilder getPysparkBatchOrBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];
getPysparkBatchOrBuilder
in interface BatchOrBuilder
public boolean hasSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
hasSparkBatch
in interface BatchOrBuilder
public SparkBatch getSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
getSparkBatch
in interface BatchOrBuilder
public Batch.Builder setSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder setSparkBatch(SparkBatch.Builder builderForValue)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder mergeSparkBatch(SparkBatch value)
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder clearSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
public SparkBatch.Builder getSparkBatchBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
public SparkBatchOrBuilder getSparkBatchOrBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];
getSparkBatchOrBuilder
in interface BatchOrBuilder
public boolean hasSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
hasSparkRBatch
in interface BatchOrBuilder
public SparkRBatch getSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
getSparkRBatch
in interface BatchOrBuilder
public Batch.Builder setSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
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];
public Batch.Builder mergeSparkRBatch(SparkRBatch value)
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder clearSparkRBatch()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
public SparkRBatch.Builder getSparkRBatchBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
public SparkRBatchOrBuilder getSparkRBatchOrBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];
getSparkRBatchOrBuilder
in interface BatchOrBuilder
public boolean hasSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
hasSparkSqlBatch
in interface BatchOrBuilder
public SparkSqlBatch getSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
getSparkSqlBatch
in interface BatchOrBuilder
public Batch.Builder setSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
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];
public Batch.Builder mergeSparkSqlBatch(SparkSqlBatch value)
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
public Batch.Builder clearSparkSqlBatch()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
public SparkSqlBatch.Builder getSparkSqlBatchBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
public SparkSqlBatchOrBuilder getSparkSqlBatchOrBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];
getSparkSqlBatchOrBuilder
in interface BatchOrBuilder
public boolean hasRuntimeInfo()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRuntimeInfo
in interface BatchOrBuilder
public RuntimeInfo getRuntimeInfo()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRuntimeInfo
in interface BatchOrBuilder
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];
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];
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];
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];
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];
public RuntimeInfoOrBuilder getRuntimeInfoOrBuilder()
Output only. Runtime information about batch execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRuntimeInfoOrBuilder
in interface BatchOrBuilder
public int getStateValue()
Output only. The state of the batch.
.google.cloud.dataproc.v1.Batch.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface BatchOrBuilder
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];
value
- The enum numeric value on the wire for state to set.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];
getState
in interface BatchOrBuilder
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];
value
- The state to set.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];
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];
getStateMessage
in interface BatchOrBuilder
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];
getStateMessageBytes
in interface BatchOrBuilder
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];
value
- The stateMessage to set.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];
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];
value
- The bytes for stateMessage to set.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];
hasStateTime
in interface BatchOrBuilder
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];
getStateTime
in interface BatchOrBuilder
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];
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];
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];
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];
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];
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];
getStateTimeOrBuilder
in interface BatchOrBuilder
public String getCreator()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreator
in interface BatchOrBuilder
public ByteString getCreatorBytes()
Output only. The email address of the user who created the batch.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreatorBytes
in interface BatchOrBuilder
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];
value
- The creator to set.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];
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];
value
- The bytes for creator to set.public int getLabelsCount()
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];
getLabelsCount
in interface BatchOrBuilder
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];
containsLabels
in interface BatchOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface BatchOrBuilder
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];
getLabelsMap
in interface BatchOrBuilder
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];
getLabelsOrDefault
in interface BatchOrBuilder
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];
getLabelsOrThrow
in interface BatchOrBuilder
public Batch.Builder clearLabels()
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];
@Deprecated public Map<String,String> getMutableLabels()
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];
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];
public boolean hasRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
hasRuntimeConfig
in interface BatchOrBuilder
public RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfig
in interface BatchOrBuilder
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];
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];
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];
public Batch.Builder clearRuntimeConfig()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfig.Builder getRuntimeConfigBuilder()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for the batch execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 14 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfigOrBuilder
in interface BatchOrBuilder
public boolean hasEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
hasEnvironmentConfig
in interface BatchOrBuilder
public EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfig
in interface BatchOrBuilder
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];
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];
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];
public Batch.Builder clearEnvironmentConfig()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public EnvironmentConfig.Builder getEnvironmentConfigBuilder()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for the batch execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 15 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfigOrBuilder
in interface BatchOrBuilder
public String getOperation()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperation
in interface BatchOrBuilder
public ByteString getOperationBytes()
Output only. The resource name of the operation associated with this batch.
string operation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationBytes
in interface BatchOrBuilder
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];
value
- The operation to set.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];
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];
value
- The bytes for operation to set.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];
getStateHistoryList
in interface BatchOrBuilder
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];
getStateHistoryCount
in interface BatchOrBuilder
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];
getStateHistory
in interface BatchOrBuilder
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getStateHistoryOrBuilder
in interface BatchOrBuilder
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];
getStateHistoryOrBuilderList
in interface BatchOrBuilder
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];
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];
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];
public final Batch.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Batch.Builder>
public final Batch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Batch.Builder>
Copyright © 2022 Google LLC. All rights reserved.