public static enum Assignment.JobType extends Enum<Assignment.JobType> implements com.google.protobuf.ProtocolMessageEnum
Types of job, which could be specified when using the reservation.Protobuf enum
google.cloud.bigquery.reservation.v1.Assignment.JobType| Enum Constant and Description |
|---|
BACKGROUND
Background jobs that BigQuery runs for the customers in the background.
|
JOB_TYPE_UNSPECIFIED
Invalid type.
|
ML_EXTERNAL
BigQuery ML jobs that use services external to BigQuery for model
training.
|
PIPELINE
Pipeline (load/export) jobs from the project will use the reservation.
|
QUERY
Query jobs from the project will use the reservation.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKGROUND_VALUE
Background jobs that BigQuery runs for the customers in the background.
|
static int |
JOB_TYPE_UNSPECIFIED_VALUE
Invalid type.
|
static int |
ML_EXTERNAL_VALUE
BigQuery ML jobs that use services external to BigQuery for model
training.
|
static int |
PIPELINE_VALUE
Pipeline (load/export) jobs from the project will use the reservation.
|
static int |
QUERY_VALUE
Query jobs from the project will use the reservation.
|
| Modifier and Type | Method and Description |
|---|---|
static Assignment.JobType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Assignment.JobType> |
internalGetValueMap() |
static Assignment.JobType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Assignment.JobType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Assignment.JobType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Assignment.JobType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Assignment.JobType JOB_TYPE_UNSPECIFIED
Invalid type. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
JOB_TYPE_UNSPECIFIED = 0;public static final Assignment.JobType PIPELINE
Pipeline (load/export) jobs from the project will use the reservation.
PIPELINE = 1;public static final Assignment.JobType QUERY
Query jobs from the project will use the reservation.
QUERY = 2;public static final Assignment.JobType ML_EXTERNAL
BigQuery ML jobs that use services external to BigQuery for model training. These jobs will not utilize idle slots from other reservations.
ML_EXTERNAL = 3;public static final Assignment.JobType BACKGROUND
Background jobs that BigQuery runs for the customers in the background.
BACKGROUND = 4;public static final Assignment.JobType UNRECOGNIZED
public static final int JOB_TYPE_UNSPECIFIED_VALUE
Invalid type. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
JOB_TYPE_UNSPECIFIED = 0;public static final int PIPELINE_VALUE
Pipeline (load/export) jobs from the project will use the reservation.
PIPELINE = 1;public static final int QUERY_VALUE
Query jobs from the project will use the reservation.
QUERY = 2;public static final int ML_EXTERNAL_VALUE
BigQuery ML jobs that use services external to BigQuery for model training. These jobs will not utilize idle slots from other reservations.
ML_EXTERNAL = 3;public static final int BACKGROUND_VALUE
Background jobs that BigQuery runs for the customers in the background.
BACKGROUND = 4;public static Assignment.JobType[] values()
for (Assignment.JobType c : Assignment.JobType.values()) System.out.println(c);
public static Assignment.JobType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Assignment.JobType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Assignment.JobType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Assignment.JobType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Assignment.JobType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.