Enum PerInstanceConfig.Status

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

    public static enum PerInstanceConfig.Status
    extends Enum<PerInstanceConfig.Status>
    implements com.google.protobuf.ProtocolMessageEnum
     The status of applying this per-instance configuration on the corresponding managed instance.
     
    Protobuf enum google.cloud.compute.v1.PerInstanceConfig.Status
    • Enum Constant Detail

      • UNDEFINED_STATUS

        public static final PerInstanceConfig.Status UNDEFINED_STATUS
         A value indicating that the enum field is not set.
         
        UNDEFINED_STATUS = 0;
      • APPLYING

        public static final PerInstanceConfig.Status APPLYING
         The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH.
         
        APPLYING = 352003508;
      • DELETING

        public static final PerInstanceConfig.Status DELETING
         The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
         
        DELETING = 528602024;
      • EFFECTIVE

        public static final PerInstanceConfig.Status EFFECTIVE
         The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.
         
        EFFECTIVE = 244201863;
      • NONE

        public static final PerInstanceConfig.Status NONE
         *[Default]* The default status, when no per-instance configuration exists.
         
        NONE = 2402104;
      • UNAPPLIED

        public static final PerInstanceConfig.Status UNAPPLIED
         The per-instance configuration is set on an instance but not been applied yet.
         
        UNAPPLIED = 483935140;
      • UNAPPLIED_DELETION

        public static final PerInstanceConfig.Status UNAPPLIED_DELETION
         The per-instance configuration has been deleted, but the deletion is not yet applied.
         
        UNAPPLIED_DELETION = 313956873;
    • Field Detail

      • UNDEFINED_STATUS_VALUE

        public static final int UNDEFINED_STATUS_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_STATUS = 0;
        See Also:
        Constant Field Values
      • APPLYING_VALUE

        public static final int APPLYING_VALUE
         The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH.
         
        APPLYING = 352003508;
        See Also:
        Constant Field Values
      • DELETING_VALUE

        public static final int DELETING_VALUE
         The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
         
        DELETING = 528602024;
        See Also:
        Constant Field Values
      • EFFECTIVE_VALUE

        public static final int EFFECTIVE_VALUE
         The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.
         
        EFFECTIVE = 244201863;
        See Also:
        Constant Field Values
      • NONE_VALUE

        public static final int NONE_VALUE
         *[Default]* The default status, when no per-instance configuration exists.
         
        NONE = 2402104;
        See Also:
        Constant Field Values
      • UNAPPLIED_VALUE

        public static final int UNAPPLIED_VALUE
         The per-instance configuration is set on an instance but not been applied yet.
         
        UNAPPLIED = 483935140;
        See Also:
        Constant Field Values
      • UNAPPLIED_DELETION_VALUE

        public static final int UNAPPLIED_DELETION_VALUE
         The per-instance configuration has been deleted, but the deletion is not yet applied.
         
        UNAPPLIED_DELETION = 313956873;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PerInstanceConfig.Status[] 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 (PerInstanceConfig.Status c : PerInstanceConfig.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PerInstanceConfig.Status 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 PerInstanceConfig.Status 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 PerInstanceConfig.Status 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<PerInstanceConfig.Status> 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 PerInstanceConfig.Status 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