Enum PgProto.Op
- java.lang.Object
-
- java.lang.Enum<PgProto.Op>
-
- io.debezium.connector.postgresql.proto.PgProto.Op
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PgProto.Op>
- Enclosing class:
- PgProto
public static enum PgProto.Op extends Enum<PgProto.Op> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumdecoderbufs.Op
-
-
Field Summary
Fields Modifier and Type Field Description static intBEGIN_VALUEBEGIN = 3;static intCOMMIT_VALUECOMMIT = 4;static intDELETE_VALUEDELETE = 2;static intINSERT_VALUEINSERT = 0;private static com.google.protobuf.Internal.EnumLiteMap<PgProto.Op>internalValueMapstatic intUNKNOWN_VALUEUNKNOWN = -1;static intUPDATE_VALUEUPDATE = 1;private intvalueprivate static PgProto.Op[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateOp(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PgProto.OpforNumber(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<PgProto.Op>internalGetValueMap()static PgProto.OpvalueOf(int value)Deprecated.static PgProto.OpvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PgProto.OpvalueOf(String name)Returns the enum constant of this type with the specified name.static PgProto.Op[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PgProto.Op UNKNOWN
UNKNOWN = -1;
-
INSERT
public static final PgProto.Op INSERT
INSERT = 0;
-
UPDATE
public static final PgProto.Op UPDATE
UPDATE = 1;
-
DELETE
public static final PgProto.Op DELETE
DELETE = 2;
-
BEGIN
public static final PgProto.Op BEGIN
BEGIN = 3;
-
COMMIT
public static final PgProto.Op COMMIT
COMMIT = 4;
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = -1;- See Also:
- Constant Field Values
-
INSERT_VALUE
public static final int INSERT_VALUE
INSERT = 0;- See Also:
- Constant Field Values
-
UPDATE_VALUE
public static final int UPDATE_VALUE
UPDATE = 1;- See Also:
- Constant Field Values
-
DELETE_VALUE
public static final int DELETE_VALUE
DELETE = 2;- See Also:
- Constant Field Values
-
BEGIN_VALUE
public static final int BEGIN_VALUE
BEGIN = 3;- See Also:
- Constant Field Values
-
COMMIT_VALUE
public static final int COMMIT_VALUE
COMMIT = 4;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<PgProto.Op> internalValueMap
-
VALUES
private static final PgProto.Op[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static PgProto.Op[] 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 (PgProto.Op c : PgProto.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PgProto.Op 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 PgProto.Op 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 PgProto.Op forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PgProto.Op> 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 PgProto.Op 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
-
-