Package com.google.cloud.dataplex.v1
Enum DataScanEvent.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataScanEvent.State>
- Enclosing class:
- DataScanEvent
public static enum DataScanEvent.State
extends Enum<DataScanEvent.State>
implements com.google.protobuf.ProtocolMessageEnum
The job state of the data scan.Protobuf enum
google.cloud.dataplex.v1.DataScanEvent.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData scan job was cancelled.Data scan job was created.Data scan job was unsuccessful.Data scan job started.Unspecified job state.Data scan job successfully completed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intData scan job was cancelled.static final intData scan job was created.static final intData scan job was unsuccessful.static final intData scan job started.static final intUnspecified job state.static final intData scan job successfully completed. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataScanEvent.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<DataScanEvent.State>static DataScanEvent.StatevalueOf(int value) Deprecated.static DataScanEvent.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DataScanEvent.StateReturns the enum constant of this type with the specified name.static DataScanEvent.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Unspecified job state.
STATE_UNSPECIFIED = 0; -
STARTED
Data scan job started.
STARTED = 1; -
SUCCEEDED
Data scan job successfully completed.
SUCCEEDED = 2; -
FAILED
Data scan job was unsuccessful.
FAILED = 3; -
CANCELLED
Data scan job was cancelled.
CANCELLED = 4; -
CREATED
Data scan job was created.
CREATED = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified job state.
STATE_UNSPECIFIED = 0;- See Also:
-
STARTED_VALUE
public static final int STARTED_VALUEData scan job started.
STARTED = 1;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEData scan job successfully completed.
SUCCEEDED = 2;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEData scan job was unsuccessful.
FAILED = 3;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEData scan job was cancelled.
CANCELLED = 4;- See Also:
-
CREATED_VALUE
public static final int CREATED_VALUEData scan job was created.
CREATED = 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
-
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
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
-