public enum ContentType extends Enum<ContentType> implements com.google.protobuf.ProtocolMessageEnum
Asset content type.Protobuf enum
google.cloud.asset.v1p2beta1.ContentType| Enum Constant and Description |
|---|
CONTENT_TYPE_UNSPECIFIED
Unspecified content type.
|
IAM_POLICY
The actual IAM policy set on a resource.
|
RESOURCE
Resource metadata.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_TYPE_UNSPECIFIED_VALUE
Unspecified content type.
|
static int |
IAM_POLICY_VALUE
The actual IAM policy set on a resource.
|
static int |
RESOURCE_VALUE
Resource metadata.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ContentType> |
internalGetValueMap() |
static ContentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ContentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ContentType |
valueOf(String name)
Returns 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.
|
public static final ContentType CONTENT_TYPE_UNSPECIFIED
Unspecified content type.
CONTENT_TYPE_UNSPECIFIED = 0;public static final ContentType RESOURCE
Resource metadata.
RESOURCE = 1;public static final ContentType IAM_POLICY
The actual IAM policy set on a resource.
IAM_POLICY = 2;public static final ContentType UNRECOGNIZED
public static final int CONTENT_TYPE_UNSPECIFIED_VALUE
Unspecified content type.
CONTENT_TYPE_UNSPECIFIED = 0;public static final int RESOURCE_VALUE
Resource metadata.
RESOURCE = 1;public static final int IAM_POLICY_VALUE
The actual IAM policy set on a resource.
IAM_POLICY = 2;public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static ContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ContentType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ContentType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ContentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.