Enum Type

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Type>

    public enum Type
    extends Enum<Type>
    implements com.google.protobuf.ProtocolMessageEnum
     Type indicates the type of the log entry and can be used as a filter.
     
    Protobuf enum google.cloud.deploy.v1.Type
    • Enum Constant Detail

      • TYPE_UNSPECIFIED

        public static final Type TYPE_UNSPECIFIED
         Type is unspecified.
         
        TYPE_UNSPECIFIED = 0;
      • TYPE_PUBSUB_NOTIFICATION_FAILURE

        public static final Type TYPE_PUBSUB_NOTIFICATION_FAILURE
         A Pub/Sub notification failed to be sent.
         
        TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
      • TYPE_RESOURCE_STATE_CHANGE

        public static final Type TYPE_RESOURCE_STATE_CHANGE
         Resource state changed.
         
        TYPE_RESOURCE_STATE_CHANGE = 3;
      • TYPE_PROCESS_ABORTED

        public static final Type TYPE_PROCESS_ABORTED
         A process aborted.
         
        TYPE_PROCESS_ABORTED = 4;
      • TYPE_RESTRICTION_VIOLATED

        public static final Type TYPE_RESTRICTION_VIOLATED
         Restriction check failed.
         
        TYPE_RESTRICTION_VIOLATED = 5;
      • TYPE_RESOURCE_DELETED

        public static final Type TYPE_RESOURCE_DELETED
         Resource deleted.
         
        TYPE_RESOURCE_DELETED = 6;
      • TYPE_RENDER_STATUES_CHANGE

        @Deprecated
        public static final Type TYPE_RENDER_STATUES_CHANGE
        Deprecated.
         Deprecated: This field is never used. Use release_render log type instead.
         
        TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];
      • UNRECOGNIZED

        public static final Type UNRECOGNIZED
    • Field Detail

      • TYPE_UNSPECIFIED_VALUE

        public static final int TYPE_UNSPECIFIED_VALUE
         Type is unspecified.
         
        TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE

        public static final int TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE
         A Pub/Sub notification failed to be sent.
         
        TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
        See Also:
        Constant Field Values
      • TYPE_RESOURCE_STATE_CHANGE_VALUE

        public static final int TYPE_RESOURCE_STATE_CHANGE_VALUE
         Resource state changed.
         
        TYPE_RESOURCE_STATE_CHANGE = 3;
        See Also:
        Constant Field Values
      • TYPE_PROCESS_ABORTED_VALUE

        public static final int TYPE_PROCESS_ABORTED_VALUE
         A process aborted.
         
        TYPE_PROCESS_ABORTED = 4;
        See Also:
        Constant Field Values
      • TYPE_RESTRICTION_VIOLATED_VALUE

        public static final int TYPE_RESTRICTION_VIOLATED_VALUE
         Restriction check failed.
         
        TYPE_RESTRICTION_VIOLATED = 5;
        See Also:
        Constant Field Values
      • TYPE_RESOURCE_DELETED_VALUE

        public static final int TYPE_RESOURCE_DELETED_VALUE
         Resource deleted.
         
        TYPE_RESOURCE_DELETED = 6;
        See Also:
        Constant Field Values
      • TYPE_RENDER_STATUES_CHANGE_VALUE

        @Deprecated
        public static final int TYPE_RENDER_STATUES_CHANGE_VALUE
        Deprecated.
         Deprecated: This field is never used. Use release_render log type instead.
         
        TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static Type 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 Type 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 Type 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<Type> 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 Type 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