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 class
Batch.BatchConfigCase
static class
Batch.Builder
A representation of a batch workload in the service.static class
Batch.State
The batch state.static class
Batch.StateHistory
Historical state information.static interface
Batch.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 int
CREATE_TIME_FIELD_NUMBER
static int
CREATOR_FIELD_NUMBER
static int
ENVIRONMENT_CONFIG_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OPERATION_FIELD_NUMBER
static int
PYSPARK_BATCH_FIELD_NUMBER
static int
RUNTIME_CONFIG_FIELD_NUMBER
static int
RUNTIME_INFO_FIELD_NUMBER
static int
SPARK_BATCH_FIELD_NUMBER
static int
SPARK_R_BATCH_FIELD_NUMBER
static int
SPARK_SQL_BATCH_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATE_HISTORY_FIELD_NUMBER
static int
STATE_MESSAGE_FIELD_NUMBER
static int
STATE_TIME_FIELD_NUMBER
static int
UUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
Batch.BatchConfigCase
getBatchConfigCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
Output only.static Batch
getDefaultInstance()
Batch
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
EnvironmentConfig
getEnvironmentConfig()
Optional.EnvironmentConfigOrBuilder
getEnvironmentConfigOrBuilder()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getOperation()
Output only.com.google.protobuf.ByteString
getOperationBytes()
Output only.com.google.protobuf.Parser<Batch>
getParserForType()
PySparkBatch
getPysparkBatch()
Optional.PySparkBatchOrBuilder
getPysparkBatchOrBuilder()
Optional.RuntimeConfig
getRuntimeConfig()
Optional.RuntimeConfigOrBuilder
getRuntimeConfigOrBuilder()
Optional.RuntimeInfo
getRuntimeInfo()
Output only.RuntimeInfoOrBuilder
getRuntimeInfoOrBuilder()
Output only.int
getSerializedSize()
SparkBatch
getSparkBatch()
Optional.SparkBatchOrBuilder
getSparkBatchOrBuilder()
Optional.SparkRBatch
getSparkRBatch()
Optional.SparkRBatchOrBuilder
getSparkRBatchOrBuilder()
Optional.SparkSqlBatch
getSparkSqlBatch()
Optional.SparkSqlBatchOrBuilder
getSparkSqlBatchOrBuilder()
Optional.Batch.State
getState()
Output only.Batch.StateHistory
getStateHistory(int index)
Output only.int
getStateHistoryCount()
Output only.List<Batch.StateHistory>
getStateHistoryList()
Output only.Batch.StateHistoryOrBuilder
getStateHistoryOrBuilder(int index)
Output only.List<? extends Batch.StateHistoryOrBuilder>
getStateHistoryOrBuilderList()
Output only.String
getStateMessage()
Output only.com.google.protobuf.ByteString
getStateMessageBytes()
Output only.com.google.protobuf.Timestamp
getStateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStateTimeOrBuilder()
Output only.int
getStateValue()
Output only.String
getUuid()
Output only.com.google.protobuf.ByteString
getUuidBytes()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEnvironmentConfig()
Optional.int
hashCode()
boolean
hasPysparkBatch()
Optional.boolean
hasRuntimeConfig()
Optional.boolean
hasRuntimeInfo()
Output only.boolean
hasSparkBatch()
Optional.boolean
hasSparkRBatch()
Optional.boolean
hasSparkSqlBatch()
Optional.boolean
hasStateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Batch.Builder
newBuilder()
static Batch.Builder
newBuilder(Batch prototype)
Batch.Builder
newBuilderForType()
protected Batch.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Batch
parseDelimitedFrom(InputStream input)
static Batch
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Batch
parseFrom(byte[] data)
static Batch
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Batch
parseFrom(com.google.protobuf.ByteString data)
static Batch
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Batch
parseFrom(com.google.protobuf.CodedInputStream input)
static Batch
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Batch
parseFrom(InputStream input)
static Batch
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Batch
parseFrom(ByteBuffer data)
static Batch
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Batch>
parser()
Batch.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBatchConfigCase
public Batch.BatchConfigCase getBatchConfigCase()
- Specified by:
getBatchConfigCase
in interfaceBatchOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Batch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Batch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-