public static enum Cdcpb.Event.EventCase extends Enum<Cdcpb.Event.EventCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ADMIN |
ENTRIES |
ERROR |
EVENT_NOT_SET |
LONG_TXN |
RESOLVED_TS
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Cdcpb.Event.EventCase |
forNumber(int value) |
int |
getNumber() |
static Cdcpb.Event.EventCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cdcpb.Event.EventCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cdcpb.Event.EventCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cdcpb.Event.EventCase ENTRIES
public static final Cdcpb.Event.EventCase ADMIN
public static final Cdcpb.Event.EventCase ERROR
@Deprecated public static final Cdcpb.Event.EventCase RESOLVED_TS
public static final Cdcpb.Event.EventCase LONG_TXN
public static final Cdcpb.Event.EventCase EVENT_NOT_SET
public static Cdcpb.Event.EventCase[] values()
for (Cdcpb.Event.EventCase c : Cdcpb.Event.EventCase.values()) System.out.println(c);
public static Cdcpb.Event.EventCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static Cdcpb.Event.EventCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Cdcpb.Event.EventCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2024 PingCAP. All rights reserved.