Enum SyncEventProtos.State
java.lang.Object
java.lang.Enum<SyncEventProtos.State>
io.debezium.connector.spanner.kafka.event.proto.SyncEventProtos.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SyncEventProtos.State>
- Enclosing class:
- SyncEventProtos
public static enum SyncEventProtos.State
extends Enum<SyncEventProtos.State>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
io.debezium.connector.spanner.scale.proto.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCREATED = 0;FINISHED = 4;READY_FOR_STREAMING = 1;REMOVED = 5;RUNNING = 3;SCHEDULED = 2; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCREATED = 0;static final intFINISHED = 4;private static final com.google.protobuf.Internal.EnumLiteMap<SyncEventProtos.State>static final intREADY_FOR_STREAMING = 1;static final intREMOVED = 5;static final intRUNNING = 3;static final intSCHEDULED = 2;private final intprivate static final SyncEventProtos.State[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncEventProtos.StateforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SyncEventProtos.State>static SyncEventProtos.StatevalueOf(int value) Deprecated.static SyncEventProtos.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SyncEventProtos.StateReturns the enum constant of this type with the specified name.static SyncEventProtos.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATED
CREATED = 0; -
READY_FOR_STREAMING
READY_FOR_STREAMING = 1; -
SCHEDULED
SCHEDULED = 2; -
RUNNING
RUNNING = 3; -
FINISHED
FINISHED = 4; -
REMOVED
REMOVED = 5; -
UNRECOGNIZED
-
-
Field Details
-
CREATED_VALUE
public static final int CREATED_VALUECREATED = 0;- See Also:
-
READY_FOR_STREAMING_VALUE
public static final int READY_FOR_STREAMING_VALUEREADY_FOR_STREAMING = 1;- See Also:
-
SCHEDULED_VALUE
public static final int SCHEDULED_VALUESCHEDULED = 2;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUERUNNING = 3;- See Also:
-
FINISHED_VALUE
public static final int FINISHED_VALUEFINISHED = 4;- See Also:
-
REMOVED_VALUE
public static final int REMOVED_VALUEREMOVED = 5;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<SyncEventProtos.State> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
State
private State(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 SyncEventProtos.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
-