public static enum Cmmn.ArtifactType extends Enum<Cmmn.ArtifactType> implements com.google.protobuf.ProtocolMessageEnum
io.apicurio.registry.common.proto.ArtifactType| Enum Constant and Description |
|---|
ASYNCAPI
ASYNCAPI = 5; |
AVRO
AVRO = 0; |
GRAPHQL
GRAPHQL = 6; |
JSON
JSON = 3; |
OPENAPI
OPENAPI = 4; |
PROTOBUF
PROTOBUF = 1; |
PROTOBUF_FD
PROTOBUF_FD = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNCAPI_VALUE
ASYNCAPI = 5; |
static int |
AVRO_VALUE
AVRO = 0; |
static int |
GRAPHQL_VALUE
GRAPHQL = 6; |
static int |
JSON_VALUE
JSON = 3; |
static int |
OPENAPI_VALUE
OPENAPI = 4; |
static int |
PROTOBUF_FD_VALUE
PROTOBUF_FD = 2; |
static int |
PROTOBUF_VALUE
PROTOBUF = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Cmmn.ArtifactType |
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<Cmmn.ArtifactType> |
internalGetValueMap() |
static Cmmn.ArtifactType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cmmn.ArtifactType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cmmn.ArtifactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cmmn.ArtifactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cmmn.ArtifactType AVRO
AVRO = 0;public static final Cmmn.ArtifactType PROTOBUF
PROTOBUF = 1;public static final Cmmn.ArtifactType PROTOBUF_FD
PROTOBUF_FD = 2;public static final Cmmn.ArtifactType JSON
JSON = 3;public static final Cmmn.ArtifactType OPENAPI
OPENAPI = 4;public static final Cmmn.ArtifactType ASYNCAPI
ASYNCAPI = 5;public static final Cmmn.ArtifactType GRAPHQL
GRAPHQL = 6;public static final int AVRO_VALUE
AVRO = 0;public static final int PROTOBUF_VALUE
PROTOBUF = 1;public static final int PROTOBUF_FD_VALUE
PROTOBUF_FD = 2;public static final int JSON_VALUE
JSON = 3;public static final int OPENAPI_VALUE
OPENAPI = 4;public static final int ASYNCAPI_VALUE
ASYNCAPI = 5;public static final int GRAPHQL_VALUE
GRAPHQL = 6;public static Cmmn.ArtifactType[] values()
for (Cmmn.ArtifactType c : Cmmn.ArtifactType.values()) System.out.println(c);
public static Cmmn.ArtifactType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Cmmn.ArtifactType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Cmmn.ArtifactType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Cmmn.ArtifactType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cmmn.ArtifactType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Red Hat. All rights reserved.