Enum Event.EventType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Event.EventType>
    Enclosing class:
    Event

    public static enum Event.EventType
    extends Enum<Event.EventType>
    implements com.google.protobuf.ProtocolMessageEnum
     The definition of the event types.
     
    Protobuf enum google.cloud.notebooks.v1.Event.EventType
    • Enum Constant Detail

      • EVENT_TYPE_UNSPECIFIED

        public static final Event.EventType EVENT_TYPE_UNSPECIFIED
         Event is not specified.
         
        EVENT_TYPE_UNSPECIFIED = 0;
      • IDLE

        public static final Event.EventType IDLE
         The instance / runtime is idle
         
        IDLE = 1;
      • HEARTBEAT

        public static final Event.EventType HEARTBEAT
         The instance / runtime is available.
         This event indicates that instance / runtime underlying compute is
         operational.
         
        HEARTBEAT = 2;
      • HEALTH

        public static final Event.EventType HEALTH
         The instance / runtime health is available.
         This event indicates that instance / runtime health information.
         
        HEALTH = 3;
      • MAINTENANCE

        public static final Event.EventType MAINTENANCE
         The instance / runtime is available.
         This event allows instance / runtime to send Host maintenance
         information to Control Plane.
         https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance
         
        MAINTENANCE = 4;
    • Field Detail

      • EVENT_TYPE_UNSPECIFIED_VALUE

        public static final int EVENT_TYPE_UNSPECIFIED_VALUE
         Event is not specified.
         
        EVENT_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • IDLE_VALUE

        public static final int IDLE_VALUE
         The instance / runtime is idle
         
        IDLE = 1;
        See Also:
        Constant Field Values
      • HEARTBEAT_VALUE

        public static final int HEARTBEAT_VALUE
         The instance / runtime is available.
         This event indicates that instance / runtime underlying compute is
         operational.
         
        HEARTBEAT = 2;
        See Also:
        Constant Field Values
      • HEALTH_VALUE

        public static final int HEALTH_VALUE
         The instance / runtime health is available.
         This event indicates that instance / runtime health information.
         
        HEALTH = 3;
        See Also:
        Constant Field Values
      • MAINTENANCE_VALUE

        public static final int MAINTENANCE_VALUE
         The instance / runtime is available.
         This event allows instance / runtime to send Host maintenance
         information to Control Plane.
         https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance
         
        MAINTENANCE = 4;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Event.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 (Event.EventType c : Event.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 Event.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 Event.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 Event.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<Event.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 Event.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