public enum WriteDisposition extends Enum<WriteDisposition> implements com.google.protobuf.ProtocolMessageEnum
Options for writing to the table. The WRITE_EMPTY option is intentionally excluded from the enum and is not supported by the data transfer service.Protobuf enum
google.cloud.bigquery.datatransfer.v1.WriteDisposition| Enum Constant and Description |
|---|
UNRECOGNIZED |
WRITE_APPEND
the data is appended to the table.
|
WRITE_DISPOSITION_UNSPECIFIED
The default writeDispostion
|
WRITE_TRUNCATE
overwrites the table data.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
WRITE_APPEND_VALUE
the data is appended to the table.
|
static int |
WRITE_DISPOSITION_UNSPECIFIED_VALUE
The default writeDispostion
|
static int |
WRITE_TRUNCATE_VALUE
overwrites the table data.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteDisposition |
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<WriteDisposition> |
internalGetValueMap() |
static WriteDisposition |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WriteDisposition |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WriteDisposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteDisposition WRITE_DISPOSITION_UNSPECIFIED
The default writeDispostion
WRITE_DISPOSITION_UNSPECIFIED = 0;public static final WriteDisposition WRITE_TRUNCATE
overwrites the table data.
WRITE_TRUNCATE = 1;public static final WriteDisposition WRITE_APPEND
the data is appended to the table. Note duplication might happen if this mode is used.
WRITE_APPEND = 2;public static final WriteDisposition UNRECOGNIZED
public static final int WRITE_DISPOSITION_UNSPECIFIED_VALUE
The default writeDispostion
WRITE_DISPOSITION_UNSPECIFIED = 0;public static final int WRITE_TRUNCATE_VALUE
overwrites the table data.
WRITE_TRUNCATE = 1;public static final int WRITE_APPEND_VALUE
the data is appended to the table. Note duplication might happen if this mode is used.
WRITE_APPEND = 2;public static WriteDisposition[] values()
for (WriteDisposition c : WriteDisposition.values()) System.out.println(c);
public static WriteDisposition 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 WriteDisposition valueOf(int value)
forNumber(int) instead.public static WriteDisposition forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<WriteDisposition> 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 WriteDisposition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.