Package com.google.cloud.datastream.v1
Enum BackfillJob.Trigger
- java.lang.Object
-
- java.lang.Enum<BackfillJob.Trigger>
-
- com.google.cloud.datastream.v1.BackfillJob.Trigger
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BackfillJob.Trigger>
- Enclosing class:
- BackfillJob
public static enum BackfillJob.Trigger extends Enum<BackfillJob.Trigger> implements com.google.protobuf.ProtocolMessageEnum
Triggering reason for a backfill job.
Protobuf enumgoogle.cloud.datastream.v1.BackfillJob.Trigger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATICObject backfill job was triggered automatically according to the stream's backfill strategy.MANUALObject backfill job was triggered manually using the dedicated API.TRIGGER_UNSPECIFIEDDefault value.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intAUTOMATIC_VALUEObject backfill job was triggered automatically according to the stream's backfill strategy.static intMANUAL_VALUEObject backfill job was triggered manually using the dedicated API.static intTRIGGER_UNSPECIFIED_VALUEDefault value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BackfillJob.TriggerforNumber(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.Trigger>internalGetValueMap()static BackfillJob.TriggervalueOf(int value)Deprecated.static BackfillJob.TriggervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BackfillJob.TriggervalueOf(String name)Returns the enum constant of this type with the specified name.static BackfillJob.Trigger[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRIGGER_UNSPECIFIED
public static final BackfillJob.Trigger TRIGGER_UNSPECIFIED
Default value.
TRIGGER_UNSPECIFIED = 0;
-
AUTOMATIC
public static final BackfillJob.Trigger AUTOMATIC
Object backfill job was triggered automatically according to the stream's backfill strategy.
AUTOMATIC = 1;
-
MANUAL
public static final BackfillJob.Trigger MANUAL
Object backfill job was triggered manually using the dedicated API.
MANUAL = 2;
-
UNRECOGNIZED
public static final BackfillJob.Trigger UNRECOGNIZED
-
-
Field Detail
-
TRIGGER_UNSPECIFIED_VALUE
public static final int TRIGGER_UNSPECIFIED_VALUE
Default value.
TRIGGER_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
AUTOMATIC_VALUE
public static final int AUTOMATIC_VALUE
Object backfill job was triggered automatically according to the stream's backfill strategy.
AUTOMATIC = 1;- See Also:
- Constant Field Values
-
MANUAL_VALUE
public static final int MANUAL_VALUE
Object backfill job was triggered manually using the dedicated API.
MANUAL = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BackfillJob.Trigger[] 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.Trigger c : BackfillJob.Trigger.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.Trigger 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.Trigger 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.Trigger 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.Trigger> 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.Trigger 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
-
-