public static enum AccessMetadata.ConstraintType extends Enum<AccessMetadata.ConstraintType> implements com.google.protobuf.ProtocolMessageEnum
Describes the different types of constraints that can be applied on a region.Protobuf enum
google.cloud.speech.v2.AccessMetadata.ConstraintType| Enum Constant and Description |
|---|
CONSTRAINT_TYPE_UNSPECIFIED
Unspecified constraint applied.
|
RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT
The project's org policy disallows the given region.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRAINT_TYPE_UNSPECIFIED_VALUE
Unspecified constraint applied.
|
static int |
RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT_VALUE
The project's org policy disallows the given region.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessMetadata.ConstraintType |
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<AccessMetadata.ConstraintType> |
internalGetValueMap() |
static AccessMetadata.ConstraintType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AccessMetadata.ConstraintType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AccessMetadata.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessMetadata.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessMetadata.ConstraintType CONSTRAINT_TYPE_UNSPECIFIED
Unspecified constraint applied.
CONSTRAINT_TYPE_UNSPECIFIED = 0;public static final AccessMetadata.ConstraintType RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT
The project's org policy disallows the given region.
RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT = 1;public static final AccessMetadata.ConstraintType UNRECOGNIZED
public static final int CONSTRAINT_TYPE_UNSPECIFIED_VALUE
Unspecified constraint applied.
CONSTRAINT_TYPE_UNSPECIFIED = 0;public static final int RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT_VALUE
The project's org policy disallows the given region.
RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT = 1;public static AccessMetadata.ConstraintType[] values()
for (AccessMetadata.ConstraintType c : AccessMetadata.ConstraintType.values()) System.out.println(c);
public static AccessMetadata.ConstraintType 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 AccessMetadata.ConstraintType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AccessMetadata.ConstraintType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AccessMetadata.ConstraintType> 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 AccessMetadata.ConstraintType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.