Package com.google.cloud.dataplex.v1
Enum DiscoveryEvent.EventType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DiscoveryEvent.EventType>
- Enclosing class:
- DiscoveryEvent
public static enum DiscoveryEvent.EventType
extends Enum<DiscoveryEvent.EventType>
implements com.google.protobuf.ProtocolMessageEnum
The type of the event.Protobuf enum
google.cloud.dataplex.v1.DiscoveryEvent.EventType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn event representing discovery configuration in effect.An event representing a metadata entity being created.An event representing a metadata entity being deleted.An event representing a metadata entity being updated.An unspecified event type.An event representing a partition being created.An event representing a partition being deleted.An event representing a partition being updated.An event representing a table being deleted.An event representing a table being skipped in publishing.An event representing a table being published.An event representing a table being updated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn event representing discovery configuration in effect.static final intAn event representing a metadata entity being created.static final intAn event representing a metadata entity being deleted.static final intAn event representing a metadata entity being updated.static final intAn unspecified event type.static final intAn event representing a partition being created.static final intAn event representing a partition being deleted.static final intAn event representing a partition being updated.static final intAn event representing a table being deleted.static final intAn event representing a table being skipped in publishing.static final intAn event representing a table being published.static final intAn event representing a table being updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscoveryEvent.EventTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DiscoveryEvent.EventType>static DiscoveryEvent.EventTypevalueOf(int value) Deprecated.static DiscoveryEvent.EventTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DiscoveryEvent.EventTypeReturns the enum constant of this type with the specified name.static DiscoveryEvent.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EVENT_TYPE_UNSPECIFIED
An unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0; -
CONFIG
An event representing discovery configuration in effect.
CONFIG = 1; -
ENTITY_CREATED
An event representing a metadata entity being created.
ENTITY_CREATED = 2; -
ENTITY_UPDATED
An event representing a metadata entity being updated.
ENTITY_UPDATED = 3; -
ENTITY_DELETED
An event representing a metadata entity being deleted.
ENTITY_DELETED = 4; -
PARTITION_CREATED
An event representing a partition being created.
PARTITION_CREATED = 5; -
PARTITION_UPDATED
An event representing a partition being updated.
PARTITION_UPDATED = 6; -
PARTITION_DELETED
An event representing a partition being deleted.
PARTITION_DELETED = 7; -
TABLE_PUBLISHED
An event representing a table being published.
TABLE_PUBLISHED = 10; -
TABLE_UPDATED
An event representing a table being updated.
TABLE_UPDATED = 11; -
TABLE_IGNORED
An event representing a table being skipped in publishing.
TABLE_IGNORED = 12; -
TABLE_DELETED
An event representing a table being deleted.
TABLE_DELETED = 13; -
UNRECOGNIZED
-
-
Field Details
-
EVENT_TYPE_UNSPECIFIED_VALUE
public static final int EVENT_TYPE_UNSPECIFIED_VALUEAn unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0;- See Also:
-
CONFIG_VALUE
public static final int CONFIG_VALUEAn event representing discovery configuration in effect.
CONFIG = 1;- See Also:
-
ENTITY_CREATED_VALUE
public static final int ENTITY_CREATED_VALUEAn event representing a metadata entity being created.
ENTITY_CREATED = 2;- See Also:
-
ENTITY_UPDATED_VALUE
public static final int ENTITY_UPDATED_VALUEAn event representing a metadata entity being updated.
ENTITY_UPDATED = 3;- See Also:
-
ENTITY_DELETED_VALUE
public static final int ENTITY_DELETED_VALUEAn event representing a metadata entity being deleted.
ENTITY_DELETED = 4;- See Also:
-
PARTITION_CREATED_VALUE
public static final int PARTITION_CREATED_VALUEAn event representing a partition being created.
PARTITION_CREATED = 5;- See Also:
-
PARTITION_UPDATED_VALUE
public static final int PARTITION_UPDATED_VALUEAn event representing a partition being updated.
PARTITION_UPDATED = 6;- See Also:
-
PARTITION_DELETED_VALUE
public static final int PARTITION_DELETED_VALUEAn event representing a partition being deleted.
PARTITION_DELETED = 7;- See Also:
-
TABLE_PUBLISHED_VALUE
public static final int TABLE_PUBLISHED_VALUEAn event representing a table being published.
TABLE_PUBLISHED = 10;- See Also:
-
TABLE_UPDATED_VALUE
public static final int TABLE_UPDATED_VALUEAn event representing a table being updated.
TABLE_UPDATED = 11;- See Also:
-
TABLE_IGNORED_VALUE
public static final int TABLE_IGNORED_VALUEAn event representing a table being skipped in publishing.
TABLE_IGNORED = 12;- See Also:
-
TABLE_DELETED_VALUE
public static final int TABLE_DELETED_VALUEAn event representing a table being deleted.
TABLE_DELETED = 13;- 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<DiscoveryEvent.EventType> 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 DiscoveryEvent.EventType 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
-