public static enum Stream.State extends Enum<Stream.State> implements com.google.protobuf.ProtocolMessageEnum
Stream state.Protobuf enum
google.cloud.datastream.v1.Stream.State| Enum Constant and Description |
|---|
DRAINING
The Stream is no longer reading new events, but still writing events in
the buffer.
|
FAILED
The stream is experiencing an error that is preventing data from being
streamed.
|
FAILED_PERMANENTLY
The stream has experienced a terminal failure.
|
MAINTENANCE
The stream is in maintenance mode.
|
NOT_STARTED
The stream has been created but has not yet started streaming data.
|
PAUSED
The stream is paused.
|
RUNNING
The stream is running.
|
STARTING
The stream is starting, but not yet running.
|
STATE_UNSPECIFIED
Unspecified stream state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
The Stream is no longer reading new events, but still writing events in
the buffer.
|
static int |
FAILED_PERMANENTLY_VALUE
The stream has experienced a terminal failure.
|
static int |
FAILED_VALUE
The stream is experiencing an error that is preventing data from being
streamed.
|
static int |
MAINTENANCE_VALUE
The stream is in maintenance mode.
|
static int |
NOT_STARTED_VALUE
The stream has been created but has not yet started streaming data.
|
static int |
PAUSED_VALUE
The stream is paused.
|
static int |
RUNNING_VALUE
The stream is running.
|
static int |
STARTING_VALUE
The stream is starting, but not yet running.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified stream state.
|
| Modifier and Type | Method and Description |
|---|---|
static Stream.State |
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<Stream.State> |
internalGetValueMap() |
static Stream.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Stream.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Stream.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stream.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stream.State STATE_UNSPECIFIED
Unspecified stream state.
STATE_UNSPECIFIED = 0;public static final Stream.State NOT_STARTED
The stream has been created but has not yet started streaming data.
NOT_STARTED = 1;public static final Stream.State RUNNING
The stream is running.
RUNNING = 2;public static final Stream.State PAUSED
The stream is paused.
PAUSED = 3;public static final Stream.State MAINTENANCE
The stream is in maintenance mode. Updates are rejected on the resource in this state.
MAINTENANCE = 4;public static final Stream.State FAILED
The stream is experiencing an error that is preventing data from being streamed.
FAILED = 5;public static final Stream.State FAILED_PERMANENTLY
The stream has experienced a terminal failure.
FAILED_PERMANENTLY = 6;public static final Stream.State STARTING
The stream is starting, but not yet running.
STARTING = 7;public static final Stream.State DRAINING
The Stream is no longer reading new events, but still writing events in the buffer.
DRAINING = 8;public static final Stream.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified stream state.
STATE_UNSPECIFIED = 0;public static final int NOT_STARTED_VALUE
The stream has been created but has not yet started streaming data.
NOT_STARTED = 1;public static final int RUNNING_VALUE
The stream is running.
RUNNING = 2;public static final int PAUSED_VALUE
The stream is paused.
PAUSED = 3;public static final int MAINTENANCE_VALUE
The stream is in maintenance mode. Updates are rejected on the resource in this state.
MAINTENANCE = 4;public static final int FAILED_VALUE
The stream is experiencing an error that is preventing data from being streamed.
FAILED = 5;public static final int FAILED_PERMANENTLY_VALUE
The stream has experienced a terminal failure.
FAILED_PERMANENTLY = 6;public static final int STARTING_VALUE
The stream is starting, but not yet running.
STARTING = 7;public static final int DRAINING_VALUE
The Stream is no longer reading new events, but still writing events in the buffer.
DRAINING = 8;public static Stream.State[] values()
for (Stream.State c : Stream.State.values()) System.out.println(c);
public static Stream.State 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 Stream.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Stream.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Stream.State> 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 Stream.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.