public static enum WriteStream.WriteMode extends Enum<WriteStream.WriteMode> implements com.google.protobuf.ProtocolMessageEnum
Mode enum of the stream.Protobuf enum
google.cloud.bigquery.storage.v1.WriteStream.WriteMode| Enum Constant and Description |
|---|
INSERT
Insert new records into the table.
|
UNRECOGNIZED |
WRITE_MODE_UNSPECIFIED
Unknown type.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
INSERT_VALUE
Insert new records into the table.
|
static int |
WRITE_MODE_UNSPECIFIED_VALUE
Unknown type.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteStream.WriteMode |
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<WriteStream.WriteMode> |
internalGetValueMap() |
static WriteStream.WriteMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WriteStream.WriteMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WriteStream.WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteStream.WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteStream.WriteMode WRITE_MODE_UNSPECIFIED
Unknown type.
WRITE_MODE_UNSPECIFIED = 0;public static final WriteStream.WriteMode INSERT
Insert new records into the table. It is the default value if customers do not specify it.
INSERT = 1;public static final WriteStream.WriteMode UNRECOGNIZED
public static final int WRITE_MODE_UNSPECIFIED_VALUE
Unknown type.
WRITE_MODE_UNSPECIFIED = 0;public static final int INSERT_VALUE
Insert new records into the table. It is the default value if customers do not specify it.
INSERT = 1;public static WriteStream.WriteMode[] values()
for (WriteStream.WriteMode c : WriteStream.WriteMode.values()) System.out.println(c);
public static WriteStream.WriteMode 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 WriteStream.WriteMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static WriteStream.WriteMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WriteStream.WriteMode> 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 WriteStream.WriteMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.