Enum DiscoveryEvent.EventType

    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null