public static enum WriteStream.Type extends Enum<WriteStream.Type> implements com.google.protobuf.ProtocolMessageEnum
Type enum of the stream.Protobuf enum
google.cloud.bigquery.storage.v1beta2.WriteStream.Type| Enum Constant and Description |
|---|
BUFFERED
Data is only visible up to the offset to which it was flushed.
|
COMMITTED
Data will commit automatically and appear as soon as the write is
acknowledged.
|
PENDING
Data is invisible until the stream is committed.
|
TYPE_UNSPECIFIED
Unknown type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFERED_VALUE
Data is only visible up to the offset to which it was flushed.
|
static int |
COMMITTED_VALUE
Data will commit automatically and appear as soon as the write is
acknowledged.
|
static int |
PENDING_VALUE
Data is invisible until the stream is committed.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unknown type.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteStream.Type |
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.Type> |
internalGetValueMap() |
static WriteStream.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WriteStream.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WriteStream.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteStream.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteStream.Type TYPE_UNSPECIFIED
Unknown type.
TYPE_UNSPECIFIED = 0;public static final WriteStream.Type COMMITTED
Data will commit automatically and appear as soon as the write is acknowledged.
COMMITTED = 1;public static final WriteStream.Type PENDING
Data is invisible until the stream is committed.
PENDING = 2;public static final WriteStream.Type BUFFERED
Data is only visible up to the offset to which it was flushed.
BUFFERED = 3;public static final WriteStream.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unknown type.
TYPE_UNSPECIFIED = 0;public static final int COMMITTED_VALUE
Data will commit automatically and appear as soon as the write is acknowledged.
COMMITTED = 1;public static final int PENDING_VALUE
Data is invisible until the stream is committed.
PENDING = 2;public static final int BUFFERED_VALUE
Data is only visible up to the offset to which it was flushed.
BUFFERED = 3;public static WriteStream.Type[] values()
for (WriteStream.Type c : WriteStream.Type.values()) System.out.println(c);
public static WriteStream.Type 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.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static WriteStream.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WriteStream.Type> 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.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.