Enum ContentType

java.lang.Object
java.lang.Enum<ContentType>
com.google.cloud.asset.v1.ContentType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ContentType>

@Generated public enum ContentType extends Enum<ContentType> implements com.google.protobuf.ProtocolMessageEnum
 Asset content type.
 
Protobuf enum google.cloud.asset.v1.ContentType
  • Enum Constant Details

    • CONTENT_TYPE_UNSPECIFIED

      public static final ContentType CONTENT_TYPE_UNSPECIFIED
       Unspecified content type.
       
      CONTENT_TYPE_UNSPECIFIED = 0;
    • RESOURCE

      public static final ContentType RESOURCE
       Resource metadata.
       
      RESOURCE = 1;
    • IAM_POLICY

      public static final ContentType IAM_POLICY
       The actual IAM policy set on a resource.
       
      IAM_POLICY = 2;
    • ORG_POLICY

      public static final ContentType ORG_POLICY
       The organization policy set on an asset.
       
      ORG_POLICY = 4;
    • ACCESS_POLICY

      public static final ContentType ACCESS_POLICY
       The Access Context Manager policy set on an asset.
       
      ACCESS_POLICY = 5;
    • OS_INVENTORY

      public static final ContentType OS_INVENTORY
       The runtime OS Inventory information.
       
      OS_INVENTORY = 6;
    • RELATIONSHIP

      public static final ContentType RELATIONSHIP
       The related resources.
       
      RELATIONSHIP = 7;
    • UNRECOGNIZED

      public static final ContentType UNRECOGNIZED
  • Field Details

    • CONTENT_TYPE_UNSPECIFIED_VALUE

      public static final int CONTENT_TYPE_UNSPECIFIED_VALUE
       Unspecified content type.
       
      CONTENT_TYPE_UNSPECIFIED = 0;
      See Also:
    • RESOURCE_VALUE

      public static final int RESOURCE_VALUE
       Resource metadata.
       
      RESOURCE = 1;
      See Also:
    • IAM_POLICY_VALUE

      public static final int IAM_POLICY_VALUE
       The actual IAM policy set on a resource.
       
      IAM_POLICY = 2;
      See Also:
    • ORG_POLICY_VALUE

      public static final int ORG_POLICY_VALUE
       The organization policy set on an asset.
       
      ORG_POLICY = 4;
      See Also:
    • ACCESS_POLICY_VALUE

      public static final int ACCESS_POLICY_VALUE
       The Access Context Manager policy set on an asset.
       
      ACCESS_POLICY = 5;
      See Also:
    • OS_INVENTORY_VALUE

      public static final int OS_INVENTORY_VALUE
       The runtime OS Inventory information.
       
      OS_INVENTORY = 6;
      See Also:
    • RELATIONSHIP_VALUE

      public static final int RELATIONSHIP_VALUE
       The related resources.
       
      RELATIONSHIP = 7;
      See Also:
  • Method Details

    • values

      public static ContentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ContentType 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 ContentType 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 ContentType 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<ContentType> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

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