public static enum JobInfo.CreateDisposition extends Enum<JobInfo.CreateDisposition>
Enum Constant and Description |
---|
CREATE_IF_NEEDED
Configures the job to create the table if it does not exist.
|
CREATE_NEVER
Configures the job to fail with a not-found error if the table does not exist.
|
Modifier and Type | Method and Description |
---|---|
static JobInfo.CreateDisposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobInfo.CreateDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobInfo.CreateDisposition CREATE_IF_NEEDED
public static final JobInfo.CreateDisposition CREATE_NEVER
public static JobInfo.CreateDisposition[] values()
for (JobInfo.CreateDisposition c : JobInfo.CreateDisposition.values()) System.out.println(c);
public static JobInfo.CreateDisposition 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 nullCopyright © 2023 Google LLC. All rights reserved.