public static enum JobInfo.SchemaUpdateOption extends Enum<JobInfo.SchemaUpdateOption>
Enum Constant and Description |
---|
ALLOW_FIELD_ADDITION
Allow adding a nullable field to the schema.
|
ALLOW_FIELD_RELAXATION
Allow relaxing a required field in the original schema to nullable.
|
Modifier and Type | Method and Description |
---|---|
static JobInfo.SchemaUpdateOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobInfo.SchemaUpdateOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobInfo.SchemaUpdateOption ALLOW_FIELD_ADDITION
public static final JobInfo.SchemaUpdateOption ALLOW_FIELD_RELAXATION
public static JobInfo.SchemaUpdateOption[] values()
for (JobInfo.SchemaUpdateOption c : JobInfo.SchemaUpdateOption.values()) System.out.println(c);
public static JobInfo.SchemaUpdateOption 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 © 2019 Google LLC. All rights reserved.