public enum TransferLockState extends Enum<TransferLockState> implements com.google.protobuf.ProtocolMessageEnum
Possible states of a `Registration`'s transfer lock.Protobuf enum
google.cloud.domains.v1alpha2.TransferLockState| Enum Constant and Description |
|---|
LOCKED
The domain is locked and cannot be transferred to another registrar.
|
TRANSFER_LOCK_STATE_UNSPECIFIED
The state is unspecified.
|
UNLOCKED
The domain is unlocked and can be transferred to another registrar.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOCKED_VALUE
The domain is locked and cannot be transferred to another registrar.
|
static int |
TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE
The state is unspecified.
|
static int |
UNLOCKED_VALUE
The domain is unlocked and can be transferred to another registrar.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferLockState |
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<TransferLockState> |
internalGetValueMap() |
static TransferLockState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferLockState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferLockState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferLockState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferLockState TRANSFER_LOCK_STATE_UNSPECIFIED
The state is unspecified.
TRANSFER_LOCK_STATE_UNSPECIFIED = 0;public static final TransferLockState UNLOCKED
The domain is unlocked and can be transferred to another registrar.
UNLOCKED = 1;public static final TransferLockState LOCKED
The domain is locked and cannot be transferred to another registrar.
LOCKED = 2;public static final TransferLockState UNRECOGNIZED
public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE
The state is unspecified.
TRANSFER_LOCK_STATE_UNSPECIFIED = 0;public static final int UNLOCKED_VALUE
The domain is unlocked and can be transferred to another registrar.
UNLOCKED = 1;public static final int LOCKED_VALUE
The domain is locked and cannot be transferred to another registrar.
LOCKED = 2;public static TransferLockState[] values()
for (TransferLockState c : TransferLockState.values()) System.out.println(c);
public static TransferLockState 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 TransferLockState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferLockState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferLockState> 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 TransferLockState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.