public static enum TemporalAsset.PriorAssetState extends Enum<TemporalAsset.PriorAssetState> implements ProtocolMessageEnum
State of prior asset.Protobuf enum
google.cloud.asset.v1.TemporalAsset.PriorAssetState
Enum Constant and Description |
---|
DELETED
prior_asset is a deletion.
|
DOES_NOT_EXIST
Current asset is the first known state.
|
INVALID
Failed to set prior_asset.
|
PRESENT
prior_asset is populated correctly.
|
PRIOR_ASSET_STATE_UNSPECIFIED
prior_asset is not applicable for the current asset.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DELETED_VALUE
prior_asset is a deletion.
|
static int |
DOES_NOT_EXIST_VALUE
Current asset is the first known state.
|
static int |
INVALID_VALUE
Failed to set prior_asset.
|
static int |
PRESENT_VALUE
prior_asset is populated correctly.
|
static int |
PRIOR_ASSET_STATE_UNSPECIFIED_VALUE
prior_asset is not applicable for the current asset.
|
Modifier and Type | Method and Description |
---|---|
static TemporalAsset.PriorAssetState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TemporalAsset.PriorAssetState> |
internalGetValueMap() |
static TemporalAsset.PriorAssetState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TemporalAsset.PriorAssetState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TemporalAsset.PriorAssetState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalAsset.PriorAssetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemporalAsset.PriorAssetState PRIOR_ASSET_STATE_UNSPECIFIED
prior_asset is not applicable for the current asset.
PRIOR_ASSET_STATE_UNSPECIFIED = 0;
public static final TemporalAsset.PriorAssetState PRESENT
prior_asset is populated correctly.
PRESENT = 1;
public static final TemporalAsset.PriorAssetState INVALID
Failed to set prior_asset.
INVALID = 2;
public static final TemporalAsset.PriorAssetState DOES_NOT_EXIST
Current asset is the first known state.
DOES_NOT_EXIST = 3;
public static final TemporalAsset.PriorAssetState DELETED
prior_asset is a deletion.
DELETED = 4;
public static final TemporalAsset.PriorAssetState UNRECOGNIZED
public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE
prior_asset is not applicable for the current asset.
PRIOR_ASSET_STATE_UNSPECIFIED = 0;
public static final int PRESENT_VALUE
prior_asset is populated correctly.
PRESENT = 1;
public static final int INVALID_VALUE
Failed to set prior_asset.
INVALID = 2;
public static final int DOES_NOT_EXIST_VALUE
Current asset is the first known state.
DOES_NOT_EXIST = 3;
public static final int DELETED_VALUE
prior_asset is a deletion.
DELETED = 4;
public static TemporalAsset.PriorAssetState[] values()
for (TemporalAsset.PriorAssetState c : TemporalAsset.PriorAssetState.values()) System.out.println(c);
public static TemporalAsset.PriorAssetState 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TemporalAsset.PriorAssetState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static TemporalAsset.PriorAssetState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<TemporalAsset.PriorAssetState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static TemporalAsset.PriorAssetState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.