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 CONFIG
An event representing discovery configuration in effect.ENTITY_CREATED
An event representing a metadata entity being created.ENTITY_DELETED
An event representing a metadata entity being deleted.ENTITY_UPDATED
An event representing a metadata entity being updated.EVENT_TYPE_UNSPECIFIED
An unspecified event type.PARTITION_CREATED
An event representing a partition being created.PARTITION_DELETED
An event representing a partition being deleted.PARTITION_UPDATED
An event representing a partition being updated.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
CONFIG_VALUE
An event representing discovery configuration in effect.static int
ENTITY_CREATED_VALUE
An event representing a metadata entity being created.static int
ENTITY_DELETED_VALUE
An event representing a metadata entity being deleted.static int
ENTITY_UPDATED_VALUE
An event representing a metadata entity being updated.static int
EVENT_TYPE_UNSPECIFIED_VALUE
An unspecified event type.static int
PARTITION_CREATED_VALUE
An event representing a partition being created.static int
PARTITION_DELETED_VALUE
An event representing a partition being deleted.static int
PARTITION_UPDATED_VALUE
An 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.EventType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<DiscoveryEvent.EventType>
internalGetValueMap()
static DiscoveryEvent.EventType
valueOf(int value)
Deprecated.static DiscoveryEvent.EventType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static DiscoveryEvent.EventType
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-