Package com.google.cloud.datastream.v1
Enum BackfillJob.State
- java.lang.Object
-
- java.lang.Enum<BackfillJob.State>
-
- com.google.cloud.datastream.v1.BackfillJob.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BackfillJob.State>
- Enclosing class:
- BackfillJob
public static enum BackfillJob.State extends Enum<BackfillJob.State> implements com.google.protobuf.ProtocolMessageEnum
State of the stream object's backfill job.
Protobuf enumgoogle.cloud.datastream.v1.BackfillJob.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEBackfill job is running.COMPLETEDBackfill completed successfully.FAILEDBackfill job failed (due to an error).NOT_STARTEDBackfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).PENDINGBackfill job will start pending available resources.STATE_UNSPECIFIEDDefault value.STOPPEDBackfill job stopped (next job run will start from beginning).UNRECOGNIZEDUNSUPPORTEDBackfill job failed since the table structure is currently unsupported for backfill.
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_VALUEBackfill job is running.static intCOMPLETED_VALUEBackfill completed successfully.static intFAILED_VALUEBackfill job failed (due to an error).static intNOT_STARTED_VALUEBackfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).static intPENDING_VALUEBackfill job will start pending available resources.static intSTATE_UNSPECIFIED_VALUEDefault value.static intSTOPPED_VALUEBackfill job stopped (next job run will start from beginning).static intUNSUPPORTED_VALUEBackfill job failed since the table structure is currently unsupported for backfill.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BackfillJob.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BackfillJob.State>internalGetValueMap()static BackfillJob.StatevalueOf(int value)Deprecated.static BackfillJob.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BackfillJob.StatevalueOf(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.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final BackfillJob.State STATE_UNSPECIFIED
Default value.
STATE_UNSPECIFIED = 0;
-
NOT_STARTED
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;
-
PENDING
public static final BackfillJob.State PENDING
Backfill job will start pending available resources.
PENDING = 2;
-
ACTIVE
public static final BackfillJob.State ACTIVE
Backfill job is running.
ACTIVE = 3;
-
STOPPED
public static final BackfillJob.State STOPPED
Backfill job stopped (next job run will start from beginning).
STOPPED = 4;
-
FAILED
public static final BackfillJob.State FAILED
Backfill job failed (due to an error).
FAILED = 5;
-
COMPLETED
public static final BackfillJob.State COMPLETED
Backfill completed successfully.
COMPLETED = 6;
-
UNSUPPORTED
public static final BackfillJob.State UNSUPPORTED
Backfill job failed since the table structure is currently unsupported for backfill.
UNSUPPORTED = 7;
-
UNRECOGNIZED
public static final BackfillJob.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
Default value.
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
NOT_STARTED_VALUE
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;- See Also:
- Constant Field Values
-
PENDING_VALUE
public static final int PENDING_VALUE
Backfill job will start pending available resources.
PENDING = 2;- See Also:
- Constant Field Values
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
Backfill job is running.
ACTIVE = 3;- See Also:
- Constant Field Values
-
STOPPED_VALUE
public static final int STOPPED_VALUE
Backfill job stopped (next job run will start from beginning).
STOPPED = 4;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
Backfill job failed (due to an error).
FAILED = 5;- See Also:
- Constant Field Values
-
COMPLETED_VALUE
public static final int COMPLETED_VALUE
Backfill completed successfully.
COMPLETED = 6;- See Also:
- Constant Field Values
-
UNSUPPORTED_VALUE
public static final int UNSUPPORTED_VALUE
Backfill job failed since the table structure is currently unsupported for backfill.
UNSUPPORTED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BackfillJob.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BackfillJob.State c : BackfillJob.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackfillJob.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BackfillJob.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static BackfillJob.State forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BackfillJob.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BackfillJob.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-