public enum LineItemChangeState extends Enum<LineItemChangeState> implements com.google.protobuf.ProtocolMessageEnum
State of a change.Protobuf enum
google.cloud.commerce.consumer.procurement.v1.LineItemChangeState| Enum Constant and Description |
|---|
LINE_ITEM_CHANGE_STATE_ABANDONED
Change is in this state if it was abandoned by the user.
|
LINE_ITEM_CHANGE_STATE_ACTIVATING
Change is in this state if it's currently being provisioned downstream.
|
LINE_ITEM_CHANGE_STATE_APPROVED
Change is in this state after it's approved by the partner or auto-approved
but before it takes effect.
|
LINE_ITEM_CHANGE_STATE_COMPLETED
Change is in this state after it's been activated.
|
LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL
Change is in this state when a change is initiated and waiting for
partner approval.
|
LINE_ITEM_CHANGE_STATE_REJECTED
Change is in this state if it was rejected by the partner.
|
LINE_ITEM_CHANGE_STATE_UNSPECIFIED
Sentinel value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LINE_ITEM_CHANGE_STATE_ABANDONED_VALUE
Change is in this state if it was abandoned by the user.
|
static int |
LINE_ITEM_CHANGE_STATE_ACTIVATING_VALUE
Change is in this state if it's currently being provisioned downstream.
|
static int |
LINE_ITEM_CHANGE_STATE_APPROVED_VALUE
Change is in this state after it's approved by the partner or auto-approved
but before it takes effect.
|
static int |
LINE_ITEM_CHANGE_STATE_COMPLETED_VALUE
Change is in this state after it's been activated.
|
static int |
LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL_VALUE
Change is in this state when a change is initiated and waiting for
partner approval.
|
static int |
LINE_ITEM_CHANGE_STATE_REJECTED_VALUE
Change is in this state if it was rejected by the partner.
|
static int |
LINE_ITEM_CHANGE_STATE_UNSPECIFIED_VALUE
Sentinel value.
|
| Modifier and Type | Method and Description |
|---|---|
static LineItemChangeState |
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<LineItemChangeState> |
internalGetValueMap() |
static LineItemChangeState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LineItemChangeState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LineItemChangeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineItemChangeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_UNSPECIFIED
Sentinel value. Do not use.
LINE_ITEM_CHANGE_STATE_UNSPECIFIED = 0;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL
Change is in this state when a change is initiated and waiting for partner approval.
LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL = 1;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_APPROVED
Change is in this state after it's approved by the partner or auto-approved but before it takes effect. The change can be overwritten or cancelled depending on the new line item info property (pending Private Offer change cannot be cancelled and can only be overwritten by another Private Offer).
LINE_ITEM_CHANGE_STATE_APPROVED = 2;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_COMPLETED
Change is in this state after it's been activated.
LINE_ITEM_CHANGE_STATE_COMPLETED = 3;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_REJECTED
Change is in this state if it was rejected by the partner.
LINE_ITEM_CHANGE_STATE_REJECTED = 4;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_ABANDONED
Change is in this state if it was abandoned by the user.
LINE_ITEM_CHANGE_STATE_ABANDONED = 5;public static final LineItemChangeState LINE_ITEM_CHANGE_STATE_ACTIVATING
Change is in this state if it's currently being provisioned downstream. The change can't be overwritten or cancelled when it's in this state.
LINE_ITEM_CHANGE_STATE_ACTIVATING = 6;public static final LineItemChangeState UNRECOGNIZED
public static final int LINE_ITEM_CHANGE_STATE_UNSPECIFIED_VALUE
Sentinel value. Do not use.
LINE_ITEM_CHANGE_STATE_UNSPECIFIED = 0;public static final int LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL_VALUE
Change is in this state when a change is initiated and waiting for partner approval.
LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL = 1;public static final int LINE_ITEM_CHANGE_STATE_APPROVED_VALUE
Change is in this state after it's approved by the partner or auto-approved but before it takes effect. The change can be overwritten or cancelled depending on the new line item info property (pending Private Offer change cannot be cancelled and can only be overwritten by another Private Offer).
LINE_ITEM_CHANGE_STATE_APPROVED = 2;public static final int LINE_ITEM_CHANGE_STATE_COMPLETED_VALUE
Change is in this state after it's been activated.
LINE_ITEM_CHANGE_STATE_COMPLETED = 3;public static final int LINE_ITEM_CHANGE_STATE_REJECTED_VALUE
Change is in this state if it was rejected by the partner.
LINE_ITEM_CHANGE_STATE_REJECTED = 4;public static final int LINE_ITEM_CHANGE_STATE_ABANDONED_VALUE
Change is in this state if it was abandoned by the user.
LINE_ITEM_CHANGE_STATE_ABANDONED = 5;public static final int LINE_ITEM_CHANGE_STATE_ACTIVATING_VALUE
Change is in this state if it's currently being provisioned downstream. The change can't be overwritten or cancelled when it's in this state.
LINE_ITEM_CHANGE_STATE_ACTIVATING = 6;public static LineItemChangeState[] values()
for (LineItemChangeState c : LineItemChangeState.values()) System.out.println(c);
public static LineItemChangeState 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 LineItemChangeState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LineItemChangeState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LineItemChangeState> 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 LineItemChangeState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.