public static enum Str.ActionType extends Enum<Str.ActionType> implements com.google.protobuf.ProtocolMessageEnum
io.apicurio.registry.streams.proto.ActionType
Enum Constant and Description |
---|
CREATE
crud
|
DELETE
DELETE = 4; |
READ
READ = 2; |
UNDEFINED
UNDEFINED = 0; |
UNRECOGNIZED |
UPDATE
UPDATE = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_VALUE
crud
|
static int |
DELETE_VALUE
DELETE = 4; |
static int |
READ_VALUE
READ = 2; |
static int |
UNDEFINED_VALUE
UNDEFINED = 0; |
static int |
UPDATE_VALUE
UPDATE = 3; |
Modifier and Type | Method and Description |
---|---|
static Str.ActionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Str.ActionType> |
internalGetValueMap() |
static Str.ActionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Str.ActionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Str.ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Str.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Str.ActionType UNDEFINED
UNDEFINED = 0;
public static final Str.ActionType CREATE
crud
CREATE = 1;
public static final Str.ActionType READ
READ = 2;
public static final Str.ActionType UPDATE
UPDATE = 3;
public static final Str.ActionType DELETE
DELETE = 4;
public static final Str.ActionType UNRECOGNIZED
public static final int UNDEFINED_VALUE
UNDEFINED = 0;
public static final int CREATE_VALUE
crud
CREATE = 1;
public static final int READ_VALUE
READ = 2;
public static final int UPDATE_VALUE
UPDATE = 3;
public static final int DELETE_VALUE
DELETE = 4;
public static Str.ActionType[] values()
for (Str.ActionType c : Str.ActionType.values()) System.out.println(c);
public static Str.ActionType 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Str.ActionType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Str.ActionType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Str.ActionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Str.ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Red Hat. All rights reserved.