Enum PublicDelegatedPrefix.Status

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

    public static enum PublicDelegatedPrefix.Status
    extends Enum<PublicDelegatedPrefix.Status>
    implements com.google.protobuf.ProtocolMessageEnum
     [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
     
    Protobuf enum google.cloud.compute.v1.PublicDelegatedPrefix.Status
    • Enum Constant Detail

      • UNDEFINED_STATUS

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

        public static final PublicDelegatedPrefix.Status DELETING
         The public delegated prefix is being deprovsioned.
         
        DELETING = 528602024;
      • INITIALIZING

        public static final PublicDelegatedPrefix.Status INITIALIZING
         The public delegated prefix is being initialized and addresses cannot be created yet.
         
        INITIALIZING = 306588749;
      • READY_TO_ANNOUNCE

        public static final PublicDelegatedPrefix.Status READY_TO_ANNOUNCE
         The public delegated prefix is currently withdrawn but ready to be announced.
         
        READY_TO_ANNOUNCE = 64641265;
    • 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
      • ANNOUNCED_VALUE

        public static final int ANNOUNCED_VALUE
         The public delegated prefix is active.
         
        ANNOUNCED = 365103355;
        See Also:
        Constant Field Values
      • DELETING_VALUE

        public static final int DELETING_VALUE
         The public delegated prefix is being deprovsioned.
         
        DELETING = 528602024;
        See Also:
        Constant Field Values
      • INITIALIZING_VALUE

        public static final int INITIALIZING_VALUE
         The public delegated prefix is being initialized and addresses cannot be created yet.
         
        INITIALIZING = 306588749;
        See Also:
        Constant Field Values
      • READY_TO_ANNOUNCE_VALUE

        public static final int READY_TO_ANNOUNCE_VALUE
         The public delegated prefix is currently withdrawn but ready to be announced.
         
        READY_TO_ANNOUNCE = 64641265;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PublicDelegatedPrefix.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 (PublicDelegatedPrefix.Status c : PublicDelegatedPrefix.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 PublicDelegatedPrefix.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 PublicDelegatedPrefix.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 PublicDelegatedPrefix.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.
      • 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 PublicDelegatedPrefix.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