Package com.google.cloud.dataproc.v1
Class Batch
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.Batch
-
- All Implemented Interfaces:
BatchOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Batch extends com.google.protobuf.GeneratedMessageV3 implements BatchOrBuilder
A representation of a batch workload in the service.
Protobuf typegoogle.cloud.dataproc.v1.Batch- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatch.BatchConfigCasestatic classBatch.BuilderA representation of a batch workload in the service.static classBatch.StateThe batch state.static classBatch.StateHistoryHistorical state information.static interfaceBatch.StateHistoryOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intCREATOR_FIELD_NUMBERstatic intENVIRONMENT_CONFIG_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOPERATION_FIELD_NUMBERstatic intPYSPARK_BATCH_FIELD_NUMBERstatic intRUNTIME_CONFIG_FIELD_NUMBERstatic intRUNTIME_INFO_FIELD_NUMBERstatic intSPARK_BATCH_FIELD_NUMBERstatic intSPARK_R_BATCH_FIELD_NUMBERstatic intSPARK_SQL_BATCH_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATE_HISTORY_FIELD_NUMBERstatic intSTATE_MESSAGE_FIELD_NUMBERstatic intSTATE_TIME_FIELD_NUMBERstatic intUUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)Batch.BatchConfigCasegetBatchConfigCase()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCreator()Output only.com.google.protobuf.ByteStringgetCreatorBytes()Output only.static BatchgetDefaultInstance()BatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EnvironmentConfiggetEnvironmentConfig()Optional.EnvironmentConfigOrBuildergetEnvironmentConfigOrBuilder()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetOperation()Output only.com.google.protobuf.ByteStringgetOperationBytes()Output only.com.google.protobuf.Parser<Batch>getParserForType()PySparkBatchgetPysparkBatch()Optional.PySparkBatchOrBuildergetPysparkBatchOrBuilder()Optional.RuntimeConfiggetRuntimeConfig()Optional.RuntimeConfigOrBuildergetRuntimeConfigOrBuilder()Optional.RuntimeInfogetRuntimeInfo()Output only.RuntimeInfoOrBuildergetRuntimeInfoOrBuilder()Output only.intgetSerializedSize()SparkBatchgetSparkBatch()Optional.SparkBatchOrBuildergetSparkBatchOrBuilder()Optional.SparkRBatchgetSparkRBatch()Optional.SparkRBatchOrBuildergetSparkRBatchOrBuilder()Optional.SparkSqlBatchgetSparkSqlBatch()Optional.SparkSqlBatchOrBuildergetSparkSqlBatchOrBuilder()Optional.Batch.StategetState()Output only.Batch.StateHistorygetStateHistory(int index)Output only.intgetStateHistoryCount()Output only.List<Batch.StateHistory>getStateHistoryList()Output only.Batch.StateHistoryOrBuildergetStateHistoryOrBuilder(int index)Output only.List<? extends Batch.StateHistoryOrBuilder>getStateHistoryOrBuilderList()Output only.StringgetStateMessage()Output only.com.google.protobuf.ByteStringgetStateMessageBytes()Output only.com.google.protobuf.TimestampgetStateTime()Output only.com.google.protobuf.TimestampOrBuildergetStateTimeOrBuilder()Output only.intgetStateValue()Output only.StringgetUuid()Output only.com.google.protobuf.ByteStringgetUuidBytes()Output only.booleanhasCreateTime()Output only.booleanhasEnvironmentConfig()Optional.inthashCode()booleanhasPysparkBatch()Optional.booleanhasRuntimeConfig()Optional.booleanhasRuntimeInfo()Output only.booleanhasSparkBatch()Optional.booleanhasSparkRBatch()Optional.booleanhasSparkSqlBatch()Optional.booleanhasStateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Batch.BuildernewBuilder()static Batch.BuildernewBuilder(Batch prototype)Batch.BuildernewBuilderForType()protected Batch.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BatchparseDelimitedFrom(InputStream input)static BatchparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchparseFrom(byte[] data)static BatchparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchparseFrom(com.google.protobuf.ByteString data)static BatchparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchparseFrom(com.google.protobuf.CodedInputStream input)static BatchparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchparseFrom(InputStream input)static BatchparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchparseFrom(ByteBuffer data)static BatchparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Batch>parser()Batch.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PYSPARK_BATCH_FIELD_NUMBER
public static final int PYSPARK_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_BATCH_FIELD_NUMBER
public static final int SPARK_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_R_BATCH_FIELD_NUMBER
public static final int SPARK_R_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_SQL_BATCH_FIELD_NUMBER
public static final int SPARK_SQL_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_INFO_FIELD_NUMBER
public static final int RUNTIME_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_CONFIG_FIELD_NUMBER
public static final int RUNTIME_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_CONFIG_FIELD_NUMBER
public static final int ENVIRONMENT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_HISTORY_FIELD_NUMBER
public static final int STATE_HISTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getBatchConfigCase
public Batch.BatchConfigCase getBatchConfigCase()
- Specified by:
getBatchConfigCasein interfaceBatchOrBuilder
-
getName
public String getName()
Output only. The resource name of the batch.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein 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:
getNameBytesin interfaceBatchOrBuilder- Returns:
- The bytes for name.
-
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:
getUuidin 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:
getUuidBytesin interfaceBatchOrBuilder- Returns:
- 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];- Specified by:
hasCreateTimein 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:
getCreateTimein interfaceBatchOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceBatchOrBuilder
-
hasPysparkBatch
public boolean hasPysparkBatch()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPysparkBatchin 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:
getPysparkBatchin interfaceBatchOrBuilder- Returns:
- The pysparkBatch.
-
getPysparkBatchOrBuilder
public PySparkBatchOrBuilder getPysparkBatchOrBuilder()
Optional. PySpark batch config.
.google.cloud.dataproc.v1.PySparkBatch pyspark_batch = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPysparkBatchOrBuilderin interfaceBatchOrBuilder
-
hasSparkBatch
public boolean hasSparkBatch()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSparkBatchin 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:
getSparkBatchin interfaceBatchOrBuilder- Returns:
- The sparkBatch.
-
getSparkBatchOrBuilder
public SparkBatchOrBuilder getSparkBatchOrBuilder()
Optional. Spark batch config.
.google.cloud.dataproc.v1.SparkBatch spark_batch = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSparkBatchOrBuilderin 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:
hasSparkRBatchin 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:
getSparkRBatchin interfaceBatchOrBuilder- Returns:
- The sparkRBatch.
-
getSparkRBatchOrBuilder
public SparkRBatchOrBuilder getSparkRBatchOrBuilder()
Optional. SparkR batch config.
.google.cloud.dataproc.v1.SparkRBatch spark_r_batch = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSparkRBatchOrBuilderin 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:
hasSparkSqlBatchin 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:
getSparkSqlBatchin interfaceBatchOrBuilder- Returns:
- The sparkSqlBatch.
-
getSparkSqlBatchOrBuilder
public SparkSqlBatchOrBuilder getSparkSqlBatchOrBuilder()
Optional. SparkSql batch config.
.google.cloud.dataproc.v1.SparkSqlBatch spark_sql_batch = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSparkSqlBatchOrBuilderin 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:
hasRuntimeInfoin 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:
getRuntimeInfoin interfaceBatchOrBuilder- Returns:
- The runtimeInfo.
-
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:
getRuntimeInfoOrBuilderin 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:
getStateValuein interfaceBatchOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
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:
getStatein interfaceBatchOrBuilder- Returns:
- The state.
-
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:
getStateMessagein 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:
getStateMessageBytesin interfaceBatchOrBuilder- Returns:
- The bytes for stateMessage.
-
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:
hasStateTimein 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:
getStateTimein interfaceBatchOrBuilder- Returns:
- The stateTime.
-
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:
getStateTimeOrBuilderin 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:
getCreatorin 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:
getCreatorBytesin interfaceBatchOrBuilder- Returns:
- The bytes for creator.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:BatchOrBuilderOptional. 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:
getLabelsCountin 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:
containsLabelsin interfaceBatchOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin interfaceBatchOrBuilder
-
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:
hasRuntimeConfigin 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:
getRuntimeConfigin interfaceBatchOrBuilder- Returns:
- The runtimeConfig.
-
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:
getRuntimeConfigOrBuilderin 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:
hasEnvironmentConfigin 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:
getEnvironmentConfigin interfaceBatchOrBuilder- Returns:
- The environmentConfig.
-
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:
getEnvironmentConfigOrBuilderin 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:
getOperationin 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:
getOperationBytesin interfaceBatchOrBuilder- Returns:
- The bytes for operation.
-
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:
getStateHistoryListin 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:
getStateHistoryOrBuilderListin 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:
getStateHistoryCountin 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:
getStateHistoryin interfaceBatchOrBuilder
-
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:
getStateHistoryOrBuilderin interfaceBatchOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Batch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batch parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Batch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Batch parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Batch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Batch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Batch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Batch.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Batch.Builder newBuilder()
-
newBuilder
public static Batch.Builder newBuilder(Batch prototype)
-
toBuilder
public Batch.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Batch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Batch getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Batch> parser()
-
getParserForType
public com.google.protobuf.Parser<Batch> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Batch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-