public static enum Type.PrimitiveType extends Enum<Type.PrimitiveType> implements com.google.protobuf.ProtocolMessageEnum
CEL primitive types.Protobuf enum
google.api.expr.v1alpha1.Type.PrimitiveType| Enum Constant and Description |
|---|
BOOL
Boolean type.
|
BYTES
Bytes type.
|
DOUBLE
Double type.
|
INT64
Int64 type.
|
PRIMITIVE_TYPE_UNSPECIFIED
Unspecified type.
|
STRING
String type.
|
UINT64
Uint64 type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE
Boolean type.
|
static int |
BYTES_VALUE
Bytes type.
|
static int |
DOUBLE_VALUE
Double type.
|
static int |
INT64_VALUE
Int64 type.
|
static int |
PRIMITIVE_TYPE_UNSPECIFIED_VALUE
Unspecified type.
|
static int |
STRING_VALUE
String type.
|
static int |
UINT64_VALUE
Uint64 type.
|
| Modifier and Type | Method and Description |
|---|---|
static Type.PrimitiveType |
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<Type.PrimitiveType> |
internalGetValueMap() |
static Type.PrimitiveType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Type.PrimitiveType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type.PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.PrimitiveType PRIMITIVE_TYPE_UNSPECIFIED
Unspecified type.
PRIMITIVE_TYPE_UNSPECIFIED = 0;public static final Type.PrimitiveType BOOL
Boolean type.
BOOL = 1;public static final Type.PrimitiveType INT64
Int64 type. Proto-based integer values are widened to int64.
INT64 = 2;public static final Type.PrimitiveType UINT64
Uint64 type. Proto-based unsigned integer values are widened to uint64.
UINT64 = 3;public static final Type.PrimitiveType DOUBLE
Double type. Proto-based float values are widened to double values.
DOUBLE = 4;public static final Type.PrimitiveType STRING
String type.
STRING = 5;public static final Type.PrimitiveType BYTES
Bytes type.
BYTES = 6;public static final Type.PrimitiveType UNRECOGNIZED
public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE
Unspecified type.
PRIMITIVE_TYPE_UNSPECIFIED = 0;public static final int BOOL_VALUE
Boolean type.
BOOL = 1;public static final int INT64_VALUE
Int64 type. Proto-based integer values are widened to int64.
INT64 = 2;public static final int UINT64_VALUE
Uint64 type. Proto-based unsigned integer values are widened to uint64.
UINT64 = 3;public static final int DOUBLE_VALUE
Double type. Proto-based float values are widened to double values.
DOUBLE = 4;public static final int STRING_VALUE
String type.
STRING = 5;public static final int BYTES_VALUE
Bytes type.
BYTES = 6;public static Type.PrimitiveType[] values()
for (Type.PrimitiveType c : Type.PrimitiveType.values()) System.out.println(c);
public static Type.PrimitiveType 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 Type.PrimitiveType valueOf(int value)
forNumber(int) instead.public static Type.PrimitiveType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Type.PrimitiveType> 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 Type.PrimitiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.