Package com.google.cloud.dataplex.v1
Enum Asset.DiscoveryStatus.State
java.lang.Object
java.lang.Enum<Asset.DiscoveryStatus.State>
com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Asset.DiscoveryStatus.State>
- Enclosing class:
- Asset.DiscoveryStatus
public static enum Asset.DiscoveryStatus.State
extends Enum<Asset.DiscoveryStatus.State>
implements com.google.protobuf.ProtocolMessageEnum
Current state of discovery.Protobuf enum
google.cloud.dataplex.v1.Asset.DiscoveryStatus.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDiscovery for the asset is disabled.Discovery for the asset is running.Discovery for the asset is currently paused (e.g. due to a lack of available resources).Discovery for the asset is scheduled.State is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDiscovery for the asset is disabled.static final intDiscovery for the asset is running.static final intDiscovery for the asset is currently paused (e.g. due to a lack of available resources).static final intDiscovery for the asset is scheduled.static final intState is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Asset.DiscoveryStatus.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Asset.DiscoveryStatus.State>static Asset.DiscoveryStatus.StatevalueOf(int value) Deprecated.static Asset.DiscoveryStatus.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Asset.DiscoveryStatus.StateReturns the enum constant of this type with the specified name.static Asset.DiscoveryStatus.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
State is unspecified.
STATE_UNSPECIFIED = 0; -
SCHEDULED
Discovery for the asset is scheduled.
SCHEDULED = 1; -
IN_PROGRESS
Discovery for the asset is running.
IN_PROGRESS = 2; -
PAUSED
Discovery for the asset is currently paused (e.g. due to a lack of available resources). It will be automatically resumed.
PAUSED = 3; -
DISABLED
Discovery for the asset is disabled.
DISABLED = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState is unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
SCHEDULED_VALUE
public static final int SCHEDULED_VALUEDiscovery for the asset is scheduled.
SCHEDULED = 1;- See Also:
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUEDiscovery for the asset is running.
IN_PROGRESS = 2;- See Also:
-
PAUSED_VALUE
public static final int PAUSED_VALUEDiscovery for the asset is currently paused (e.g. due to a lack of available resources). It will be automatically resumed.
PAUSED = 3;- See Also:
-
DISABLED_VALUE
public static final int DISABLED_VALUEDiscovery for the asset is disabled.
DISABLED = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Asset.DiscoveryStatus.State> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Asset.DiscoveryStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-