public static enum Cdcpb.ChangeDataRequest.RequestCase extends Enum<Cdcpb.ChangeDataRequest.RequestCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
NOTIFY_TXN_STATUS |
REGISTER |
REQUEST_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Cdcpb.ChangeDataRequest.RequestCase |
forNumber(int value) |
int |
getNumber() |
static Cdcpb.ChangeDataRequest.RequestCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cdcpb.ChangeDataRequest.RequestCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cdcpb.ChangeDataRequest.RequestCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cdcpb.ChangeDataRequest.RequestCase REGISTER
public static final Cdcpb.ChangeDataRequest.RequestCase NOTIFY_TXN_STATUS
public static final Cdcpb.ChangeDataRequest.RequestCase REQUEST_NOT_SET
public static Cdcpb.ChangeDataRequest.RequestCase[] values()
for (Cdcpb.ChangeDataRequest.RequestCase c : Cdcpb.ChangeDataRequest.RequestCase.values()) System.out.println(c);
public static Cdcpb.ChangeDataRequest.RequestCase 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.ChangeDataRequest.RequestCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Cdcpb.ChangeDataRequest.RequestCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2024 PingCAP. All rights reserved.