Package com.google.cloud.dataplex.v1
Enum DiscoveryEvent.EventType
- java.lang.Object
-
- java.lang.Enum<DiscoveryEvent.EventType>
-
- com.google.cloud.dataplex.v1.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 enumgoogle.cloud.dataplex.v1.DiscoveryEvent.EventType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGAn event representing discovery configuration in effect.ENTITY_CREATEDAn event representing a metadata entity being created.ENTITY_DELETEDAn event representing a metadata entity being deleted.ENTITY_UPDATEDAn event representing a metadata entity being updated.EVENT_TYPE_UNSPECIFIEDAn unspecified event type.PARTITION_CREATEDAn event representing a partition being created.PARTITION_DELETEDAn event representing a partition being deleted.PARTITION_UPDATEDAn event representing a partition being updated.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCONFIG_VALUEAn event representing discovery configuration in effect.static intENTITY_CREATED_VALUEAn event representing a metadata entity being created.static intENTITY_DELETED_VALUEAn event representing a metadata entity being deleted.static intENTITY_UPDATED_VALUEAn event representing a metadata entity being updated.static intEVENT_TYPE_UNSPECIFIED_VALUEAn unspecified event type.static intPARTITION_CREATED_VALUEAn event representing a partition being created.static intPARTITION_DELETED_VALUEAn event representing a partition being deleted.static intPARTITION_UPDATED_VALUEAn event representing a partition being updated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DiscoveryEvent.EventTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<DiscoveryEvent.EventType>internalGetValueMap()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.EventTypevalueOf(String name)Returns 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 Detail
-
EVENT_TYPE_UNSPECIFIED
public static final DiscoveryEvent.EventType EVENT_TYPE_UNSPECIFIED
An unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0;
-
CONFIG
public static final DiscoveryEvent.EventType CONFIG
An event representing discovery configuration in effect.
CONFIG = 1;
-
ENTITY_CREATED
public static final DiscoveryEvent.EventType ENTITY_CREATED
An event representing a metadata entity being created.
ENTITY_CREATED = 2;
-
ENTITY_UPDATED
public static final DiscoveryEvent.EventType ENTITY_UPDATED
An event representing a metadata entity being updated.
ENTITY_UPDATED = 3;
-
ENTITY_DELETED
public static final DiscoveryEvent.EventType ENTITY_DELETED
An event representing a metadata entity being deleted.
ENTITY_DELETED = 4;
-
PARTITION_CREATED
public static final DiscoveryEvent.EventType PARTITION_CREATED
An event representing a partition being created.
PARTITION_CREATED = 5;
-
PARTITION_UPDATED
public static final DiscoveryEvent.EventType PARTITION_UPDATED
An event representing a partition being updated.
PARTITION_UPDATED = 6;
-
PARTITION_DELETED
public static final DiscoveryEvent.EventType PARTITION_DELETED
An event representing a partition being deleted.
PARTITION_DELETED = 7;
-
UNRECOGNIZED
public static final DiscoveryEvent.EventType UNRECOGNIZED
-
-
Field Detail
-
EVENT_TYPE_UNSPECIFIED_VALUE
public static final int EVENT_TYPE_UNSPECIFIED_VALUE
An unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
CONFIG_VALUE
public static final int CONFIG_VALUE
An event representing discovery configuration in effect.
CONFIG = 1;- See Also:
- Constant Field Values
-
ENTITY_CREATED_VALUE
public static final int ENTITY_CREATED_VALUE
An event representing a metadata entity being created.
ENTITY_CREATED = 2;- See Also:
- Constant Field Values
-
ENTITY_UPDATED_VALUE
public static final int ENTITY_UPDATED_VALUE
An event representing a metadata entity being updated.
ENTITY_UPDATED = 3;- See Also:
- Constant Field Values
-
ENTITY_DELETED_VALUE
public static final int ENTITY_DELETED_VALUE
An event representing a metadata entity being deleted.
ENTITY_DELETED = 4;- See Also:
- Constant Field Values
-
PARTITION_CREATED_VALUE
public static final int PARTITION_CREATED_VALUE
An event representing a partition being created.
PARTITION_CREATED = 5;- See Also:
- Constant Field Values
-
PARTITION_UPDATED_VALUE
public static final int PARTITION_UPDATED_VALUE
An event representing a partition being updated.
PARTITION_UPDATED = 6;- See Also:
- Constant Field Values
-
PARTITION_DELETED_VALUE
public static final int PARTITION_DELETED_VALUE
An event representing a partition being deleted.
PARTITION_DELETED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DiscoveryEvent.EventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DiscoveryEvent.EventType c : DiscoveryEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiscoveryEvent.EventType valueOf(String name)
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 public static DiscoveryEvent.EventType valueOf(int value)
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
public static DiscoveryEvent.EventType forNumber(int value)
- 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 final 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
-
-