public static enum Taxonomy.PolicyType extends Enum<Taxonomy.PolicyType> implements com.google.protobuf.ProtocolMessageEnum
Defines policy types where policy tag can be used for.Protobuf enum
google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType| Enum Constant and Description |
|---|
FINE_GRAINED_ACCESS_CONTROL
Fine grained access control policy, which enables access control on
tagged resources.
|
POLICY_TYPE_UNSPECIFIED
Unspecified policy type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FINE_GRAINED_ACCESS_CONTROL_VALUE
Fine grained access control policy, which enables access control on
tagged resources.
|
static int |
POLICY_TYPE_UNSPECIFIED_VALUE
Unspecified policy type.
|
| Modifier and Type | Method and Description |
|---|---|
static Taxonomy.PolicyType |
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<Taxonomy.PolicyType> |
internalGetValueMap() |
static Taxonomy.PolicyType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Taxonomy.PolicyType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Taxonomy.PolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Taxonomy.PolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Taxonomy.PolicyType POLICY_TYPE_UNSPECIFIED
Unspecified policy type.
POLICY_TYPE_UNSPECIFIED = 0;public static final Taxonomy.PolicyType FINE_GRAINED_ACCESS_CONTROL
Fine grained access control policy, which enables access control on tagged resources.
FINE_GRAINED_ACCESS_CONTROL = 1;public static final Taxonomy.PolicyType UNRECOGNIZED
public static final int POLICY_TYPE_UNSPECIFIED_VALUE
Unspecified policy type.
POLICY_TYPE_UNSPECIFIED = 0;public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE
Fine grained access control policy, which enables access control on tagged resources.
FINE_GRAINED_ACCESS_CONTROL = 1;public static Taxonomy.PolicyType[] values()
for (Taxonomy.PolicyType c : Taxonomy.PolicyType.values()) System.out.println(c);
public static Taxonomy.PolicyType 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 Taxonomy.PolicyType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Taxonomy.PolicyType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Taxonomy.PolicyType> 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 Taxonomy.PolicyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.