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 enum decoderbufs.Op
  • Enum Constant Details

    • 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 Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = -1;
      See Also:
    • INSERT_VALUE

      public static final int INSERT_VALUE
      INSERT = 0;
      See Also:
    • UPDATE_VALUE

      public static final int UPDATE_VALUE
      UPDATE = 1;
      See Also:
    • DELETE_VALUE

      public static final int DELETE_VALUE
      DELETE = 2;
      See Also:
    • BEGIN_VALUE

      public static final int BEGIN_VALUE
      BEGIN = 3;
      See Also:
    • COMMIT_VALUE

      public static final int COMMIT_VALUE
      COMMIT = 4;
      See Also:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<PgProto.Op> internalValueMap
    • VALUES

      private static final PgProto.Op[] VALUES
    • value

      private final int value
  • Constructor Details

    • Op

      private Op(int value)
  • Method Details

    • values

      public static PgProto.Op[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - if the argument is null
    • forNumber

      public static PgProto.Op 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<PgProto.Op> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null