Enum OpenLogReplicatorProtocol.ResponseCode
java.lang.Object
java.lang.Enum<OpenLogReplicatorProtocol.ResponseCode>
io.debezium.connector.oracle.proto.OpenLogReplicatorProtocol.ResponseCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenLogReplicatorProtocol.ResponseCode>
- Enclosing class:
- OpenLogReplicatorProtocol
public static enum OpenLogReplicatorProtocol.ResponseCode
extends Enum<OpenLogReplicatorProtocol.ResponseCode>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
OpenLogReplicator.pb.ResponseCode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionALREADY_STARTED = 3;FAILED_START = 1;INVALID_COMMAND = 7;INVALID_DATABASE = 6;PAYLOAD = 5;READY = 0;REPLICATE = 4;STARTING = 2; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intALREADY_STARTED = 3;static final intFAILED_START = 1;private static final com.google.protobuf.Internal.EnumLiteMap<OpenLogReplicatorProtocol.ResponseCode>static final intINVALID_COMMAND = 7;static final intINVALID_DATABASE = 6;static final intPAYLOAD = 5;static final intREADY = 0;static final intREPLICATE = 4;static final intSTARTING = 2;private final intprivate static final OpenLogReplicatorProtocol.ResponseCode[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<OpenLogReplicatorProtocol.ResponseCode>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
READY
READY = 0; -
FAILED_START
FAILED_START = 1; -
STARTING
STARTING = 2; -
ALREADY_STARTED
ALREADY_STARTED = 3; -
REPLICATE
REPLICATE = 4; -
PAYLOAD
PAYLOAD = 5; -
INVALID_DATABASE
INVALID_DATABASE = 6; -
INVALID_COMMAND
INVALID_COMMAND = 7; -
UNRECOGNIZED
-
-
Field Details
-
READY_VALUE
public static final int READY_VALUEREADY = 0;- See Also:
-
FAILED_START_VALUE
public static final int FAILED_START_VALUEFAILED_START = 1;- See Also:
-
STARTING_VALUE
public static final int STARTING_VALUESTARTING = 2;- See Also:
-
ALREADY_STARTED_VALUE
public static final int ALREADY_STARTED_VALUEALREADY_STARTED = 3;- See Also:
-
REPLICATE_VALUE
public static final int REPLICATE_VALUEREPLICATE = 4;- See Also:
-
PAYLOAD_VALUE
public static final int PAYLOAD_VALUEPAYLOAD = 5;- See Also:
-
INVALID_DATABASE_VALUE
public static final int INVALID_DATABASE_VALUEINVALID_DATABASE = 6;- See Also:
-
INVALID_COMMAND_VALUE
public static final int INVALID_COMMAND_VALUEINVALID_COMMAND = 7;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<OpenLogReplicatorProtocol.ResponseCode> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
ResponseCode
private ResponseCode(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
public static com.google.protobuf.Internal.EnumLiteMap<OpenLogReplicatorProtocol.ResponseCode> 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 OpenLogReplicatorProtocol.ResponseCode 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
-