public static enum BackfillJob.State extends Enum<BackfillJob.State> implements com.google.protobuf.ProtocolMessageEnum
State of the stream object's backfill job.Protobuf enum
google.cloud.datastream.v1.BackfillJob.State| Enum Constant and Description |
|---|
ACTIVE
Backfill job is running.
|
COMPLETED
Backfill completed successfully.
|
FAILED
Backfill job failed (due to an error).
|
NOT_STARTED
Backfill job was never started for the stream object (stream has backfill
strategy defined as manual or object was explicitly excluded from
automatic backfill).
|
PENDING
Backfill job will start pending available resources.
|
STATE_UNSPECIFIED
Default value.
|
STOPPED
Backfill job stopped (next job run will start from beginning).
|
UNRECOGNIZED |
UNSUPPORTED
Backfill job failed since the table structure is currently unsupported
for backfill.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Backfill job is running.
|
static int |
COMPLETED_VALUE
Backfill completed successfully.
|
static int |
FAILED_VALUE
Backfill job failed (due to an error).
|
static int |
NOT_STARTED_VALUE
Backfill job was never started for the stream object (stream has backfill
strategy defined as manual or object was explicitly excluded from
automatic backfill).
|
static int |
PENDING_VALUE
Backfill job will start pending available resources.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
STOPPED_VALUE
Backfill job stopped (next job run will start from beginning).
|
static int |
UNSUPPORTED_VALUE
Backfill job failed since the table structure is currently unsupported
for backfill.
|
| Modifier and Type | Method and Description |
|---|---|
static BackfillJob.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<BackfillJob.State> |
internalGetValueMap() |
static BackfillJob.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackfillJob.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackfillJob.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackfillJob.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackfillJob.State STATE_UNSPECIFIED
Default value.
STATE_UNSPECIFIED = 0;public static final BackfillJob.State NOT_STARTED
Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).
NOT_STARTED = 1;public static final BackfillJob.State PENDING
Backfill job will start pending available resources.
PENDING = 2;public static final BackfillJob.State ACTIVE
Backfill job is running.
ACTIVE = 3;public static final BackfillJob.State STOPPED
Backfill job stopped (next job run will start from beginning).
STOPPED = 4;public static final BackfillJob.State FAILED
Backfill job failed (due to an error).
FAILED = 5;public static final BackfillJob.State COMPLETED
Backfill completed successfully.
COMPLETED = 6;public static final BackfillJob.State UNSUPPORTED
Backfill job failed since the table structure is currently unsupported for backfill.
UNSUPPORTED = 7;public static final BackfillJob.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value.
STATE_UNSPECIFIED = 0;public static final int NOT_STARTED_VALUE
Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).
NOT_STARTED = 1;public static final int PENDING_VALUE
Backfill job will start pending available resources.
PENDING = 2;public static final int ACTIVE_VALUE
Backfill job is running.
ACTIVE = 3;public static final int STOPPED_VALUE
Backfill job stopped (next job run will start from beginning).
STOPPED = 4;public static final int FAILED_VALUE
Backfill job failed (due to an error).
FAILED = 5;public static final int COMPLETED_VALUE
Backfill completed successfully.
COMPLETED = 6;public static final int UNSUPPORTED_VALUE
Backfill job failed since the table structure is currently unsupported for backfill.
UNSUPPORTED = 7;public static BackfillJob.State[] values()
for (BackfillJob.State c : BackfillJob.State.values()) System.out.println(c);
public static BackfillJob.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 BackfillJob.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BackfillJob.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackfillJob.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 BackfillJob.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.