Package com.google.cloud.dataplex.v1
Enum DataScanEvent.Trigger
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataScanEvent.Trigger>
- Enclosing class:
- DataScanEvent
public static enum DataScanEvent.Trigger
extends Enum<DataScanEvent.Trigger>
implements com.google.protobuf.ProtocolMessageEnum
The trigger type for the data scan.Protobuf enum
google.cloud.dataplex.v1.DataScanEvent.Trigger-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData scan triggers on demand.Data scan is run one time on creation.Data scan triggers as per schedule.An unspecified trigger type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intData scan triggers on demand.static final intData scan is run one time on creation.static final intData scan triggers as per schedule.static final intAn unspecified trigger type. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataScanEvent.TriggerforNumber(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.Trigger>static DataScanEvent.TriggervalueOf(int value) Deprecated.static DataScanEvent.TriggervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DataScanEvent.TriggerReturns the enum constant of this type with the specified name.static DataScanEvent.Trigger[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRIGGER_UNSPECIFIED
An unspecified trigger type.
TRIGGER_UNSPECIFIED = 0; -
ON_DEMAND
Data scan triggers on demand.
ON_DEMAND = 1; -
SCHEDULE
Data scan triggers as per schedule.
SCHEDULE = 2; -
ONE_TIME
Data scan is run one time on creation.
ONE_TIME = 3; -
UNRECOGNIZED
-
-
Field Details
-
TRIGGER_UNSPECIFIED_VALUE
public static final int TRIGGER_UNSPECIFIED_VALUEAn unspecified trigger type.
TRIGGER_UNSPECIFIED = 0;- See Also:
-
ON_DEMAND_VALUE
public static final int ON_DEMAND_VALUEData scan triggers on demand.
ON_DEMAND = 1;- See Also:
-
SCHEDULE_VALUE
public static final int SCHEDULE_VALUEData scan triggers as per schedule.
SCHEDULE = 2;- See Also:
-
ONE_TIME_VALUE
public static final int ONE_TIME_VALUEData scan is run one time on creation.
ONE_TIME = 3;- 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
public static DataScanEvent.Trigger 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
-