Package com.google.cloud.asset.v1
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionThe Access Context Manager policy set on an asset.Unspecified content type.The actual IAM policy set on a resource.The organization policy set on an asset.The runtime OS Inventory information.The related resources.Resource metadata. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Access Context Manager policy set on an asset.static final intUnspecified content type.static final intThe actual IAM policy set on a resource.static final intThe organization policy set on an asset.static final intThe runtime OS Inventory information.static final intThe related resources.static final intResource metadata. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ContentType>static ContentTypevalueOf(int value) Deprecated.static ContentTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ContentTypeReturns the enum constant of this type with the specified name.static ContentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTENT_TYPE_UNSPECIFIED
Unspecified content type.
CONTENT_TYPE_UNSPECIFIED = 0; -
RESOURCE
Resource metadata.
RESOURCE = 1; -
IAM_POLICY
The actual IAM policy set on a resource.
IAM_POLICY = 2; -
ORG_POLICY
The organization policy set on an asset.
ORG_POLICY = 4; -
ACCESS_POLICY
The Access Context Manager policy set on an asset.
ACCESS_POLICY = 5; -
OS_INVENTORY
The runtime OS Inventory information.
OS_INVENTORY = 6; -
RELATIONSHIP
The related resources.
RELATIONSHIP = 7; -
UNRECOGNIZED
-
-
Field Details
-
CONTENT_TYPE_UNSPECIFIED_VALUE
public static final int CONTENT_TYPE_UNSPECIFIED_VALUEUnspecified content type.
CONTENT_TYPE_UNSPECIFIED = 0;- See Also:
-
RESOURCE_VALUE
public static final int RESOURCE_VALUEResource metadata.
RESOURCE = 1;- See Also:
-
IAM_POLICY_VALUE
public static final int IAM_POLICY_VALUEThe actual IAM policy set on a resource.
IAM_POLICY = 2;- See Also:
-
ORG_POLICY_VALUE
public static final int ORG_POLICY_VALUEThe organization policy set on an asset.
ORG_POLICY = 4;- See Also:
-
ACCESS_POLICY_VALUE
public static final int ACCESS_POLICY_VALUEThe Access Context Manager policy set on an asset.
ACCESS_POLICY = 5;- See Also:
-
OS_INVENTORY_VALUE
public static final int OS_INVENTORY_VALUEThe runtime OS Inventory information.
OS_INVENTORY = 6;- See Also:
-
RELATIONSHIP_VALUE
public static final int RELATIONSHIP_VALUEThe related resources.
RELATIONSHIP = 7;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-