public static enum Property.PropertyType extends Enum<Property.PropertyType> implements com.google.protobuf.ProtocolMessageEnum
Supported data type of the property valuesProtobuf enum
google.api.Property.PropertyType
Enum Constant and Description |
---|
BOOL
The type is `bool`.
|
DOUBLE
The type is 'double'.
|
INT64
The type is `int64`.
|
STRING
The type is `string`.
|
UNRECOGNIZED |
UNSPECIFIED
The type is unspecified, and will result in an error.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOOL_VALUE
The type is `bool`.
|
static int |
DOUBLE_VALUE
The type is 'double'.
|
static int |
INT64_VALUE
The type is `int64`.
|
static int |
STRING_VALUE
The type is `string`.
|
static int |
UNSPECIFIED_VALUE
The type is unspecified, and will result in an error.
|
Modifier and Type | Method and Description |
---|---|
static Property.PropertyType |
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<Property.PropertyType> |
internalGetValueMap() |
static Property.PropertyType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Property.PropertyType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Property.PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Property.PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.PropertyType UNSPECIFIED
The type is unspecified, and will result in an error.
UNSPECIFIED = 0;
public static final Property.PropertyType INT64
The type is `int64`.
INT64 = 1;
public static final Property.PropertyType BOOL
The type is `bool`.
BOOL = 2;
public static final Property.PropertyType STRING
The type is `string`.
STRING = 3;
public static final Property.PropertyType DOUBLE
The type is 'double'.
DOUBLE = 4;
public static final Property.PropertyType UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
The type is unspecified, and will result in an error.
UNSPECIFIED = 0;
public static final int INT64_VALUE
The type is `int64`.
INT64 = 1;
public static final int BOOL_VALUE
The type is `bool`.
BOOL = 2;
public static final int STRING_VALUE
The type is `string`.
STRING = 3;
public static final int DOUBLE_VALUE
The type is 'double'.
DOUBLE = 4;
public static Property.PropertyType[] values()
for (Property.PropertyType c : Property.PropertyType.values()) System.out.println(c);
public static Property.PropertyType 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 Property.PropertyType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Property.PropertyType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Property.PropertyType> 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 Property.PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.