Enum PgProto.DatumMessage.DatumCase
- java.lang.Object
-
- java.lang.Enum<PgProto.DatumMessage.DatumCase>
-
- io.debezium.connector.postgresql.proto.PgProto.DatumMessage.DatumCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<PgProto.DatumMessage.DatumCase>
- Enclosing class:
- PgProto.DatumMessage
public static enum PgProto.DatumMessage.DatumCase extends Enum<PgProto.DatumMessage.DatumCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATUM_BOOLDATUM_BYTESDATUM_DOUBLEDATUM_FLOATDATUM_INT32DATUM_INT64DATUM_MISSINGDATUM_NOT_SETDATUM_POINTDATUM_STRING
-
Field Summary
Fields Modifier and Type Field Description private intvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateDatumCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PgProto.DatumMessage.DatumCaseforNumber(int value)intgetNumber()static PgProto.DatumMessage.DatumCasevalueOf(int value)Deprecated.static PgProto.DatumMessage.DatumCasevalueOf(String name)Returns the enum constant of this type with the specified name.static PgProto.DatumMessage.DatumCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATUM_INT32
public static final PgProto.DatumMessage.DatumCase DATUM_INT32
-
DATUM_INT64
public static final PgProto.DatumMessage.DatumCase DATUM_INT64
-
DATUM_FLOAT
public static final PgProto.DatumMessage.DatumCase DATUM_FLOAT
-
DATUM_DOUBLE
public static final PgProto.DatumMessage.DatumCase DATUM_DOUBLE
-
DATUM_BOOL
public static final PgProto.DatumMessage.DatumCase DATUM_BOOL
-
DATUM_STRING
public static final PgProto.DatumMessage.DatumCase DATUM_STRING
-
DATUM_BYTES
public static final PgProto.DatumMessage.DatumCase DATUM_BYTES
-
DATUM_POINT
public static final PgProto.DatumMessage.DatumCase DATUM_POINT
-
DATUM_MISSING
public static final PgProto.DatumMessage.DatumCase DATUM_MISSING
-
DATUM_NOT_SET
public static final PgProto.DatumMessage.DatumCase DATUM_NOT_SET
-
-
Method Detail
-
values
public static PgProto.DatumMessage.DatumCase[] 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.DatumMessage.DatumCase c : PgProto.DatumMessage.DatumCase.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.DatumMessage.DatumCase 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
-
valueOf
@Deprecated public static PgProto.DatumMessage.DatumCase 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.DatumMessage.DatumCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-