public static enum MerchantCenterAccountLink.State extends Enum<MerchantCenterAccountLink.State> implements com.google.protobuf.ProtocolMessageEnum
The state of the link.Protobuf enum
google.cloud.retail.v2alpha.MerchantCenterAccountLink.State| Enum Constant and Description |
|---|
ACTIVE
Link is active.
|
FAILED
Link creation failed.
|
PENDING
Link is created and LRO is not complete.
|
STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Link is active.
|
static int |
FAILED_VALUE
Link creation failed.
|
static int |
PENDING_VALUE
Link is created and LRO is not complete.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static MerchantCenterAccountLink.State |
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<MerchantCenterAccountLink.State> |
internalGetValueMap() |
static MerchantCenterAccountLink.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MerchantCenterAccountLink.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MerchantCenterAccountLink.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MerchantCenterAccountLink.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MerchantCenterAccountLink.State STATE_UNSPECIFIED
Default value.
STATE_UNSPECIFIED = 0;public static final MerchantCenterAccountLink.State PENDING
Link is created and LRO is not complete.
PENDING = 1;public static final MerchantCenterAccountLink.State ACTIVE
Link is active.
ACTIVE = 2;public static final MerchantCenterAccountLink.State FAILED
Link creation failed.
FAILED = 3;public static final MerchantCenterAccountLink.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value.
STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
Link is created and LRO is not complete.
PENDING = 1;public static final int ACTIVE_VALUE
Link is active.
ACTIVE = 2;public static final int FAILED_VALUE
Link creation failed.
FAILED = 3;public static MerchantCenterAccountLink.State[] values()
for (MerchantCenterAccountLink.State c : MerchantCenterAccountLink.State.values()) System.out.println(c);
public static MerchantCenterAccountLink.State 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 MerchantCenterAccountLink.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MerchantCenterAccountLink.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MerchantCenterAccountLink.State> 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 MerchantCenterAccountLink.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.