public final class LineItemChange extends com.google.protobuf.GeneratedMessageV3 implements LineItemChangeOrBuilder
A change made on a line item.Protobuf type
google.cloud.commerce.consumer.procurement.v1.LineItemChange| Modifier and Type | Class and Description |
|---|---|
static class |
LineItemChange.Builder
A change made on a line item.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHANGE_EFFECTIVE_TIME_FIELD_NUMBER |
static int |
CHANGE_ID_FIELD_NUMBER |
static int |
CHANGE_STATE_FIELD_NUMBER |
static int |
CHANGE_STATE_REASON_TYPE_FIELD_NUMBER |
static int |
CHANGE_TYPE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
NEW_LINE_ITEM_INFO_FIELD_NUMBER |
static int |
OLD_LINE_ITEM_INFO_FIELD_NUMBER |
static int |
STATE_REASON_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getChangeEffectiveTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getChangeEffectiveTimeOrBuilder()
Output only.
|
String |
getChangeId()
Output only.
|
com.google.protobuf.ByteString |
getChangeIdBytes()
Output only.
|
LineItemChangeState |
getChangeState()
Output only.
|
LineItemChangeStateReasonType |
getChangeStateReasonType()
Output only.
|
int |
getChangeStateReasonTypeValue()
Output only.
|
int |
getChangeStateValue()
Output only.
|
LineItemChangeType |
getChangeType()
Required.
|
int |
getChangeTypeValue()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static LineItemChange |
getDefaultInstance() |
LineItemChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LineItemInfo |
getNewLineItemInfo()
Line item info after the change.
|
LineItemInfoOrBuilder |
getNewLineItemInfoOrBuilder()
Line item info after the change.
|
LineItemInfo |
getOldLineItemInfo()
Output only.
|
LineItemInfoOrBuilder |
getOldLineItemInfoOrBuilder()
Output only.
|
com.google.protobuf.Parser<LineItemChange> |
getParserForType() |
int |
getSerializedSize() |
String |
getStateReason()
Output only.
|
com.google.protobuf.ByteString |
getStateReasonBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasChangeEffectiveTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasNewLineItemInfo()
Line item info after the change.
|
boolean |
hasOldLineItemInfo()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LineItemChange.Builder |
newBuilder() |
static LineItemChange.Builder |
newBuilder(LineItemChange prototype) |
LineItemChange.Builder |
newBuilderForType() |
protected LineItemChange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LineItemChange |
parseDelimitedFrom(InputStream input) |
static LineItemChange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LineItemChange |
parseFrom(byte[] data) |
static LineItemChange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LineItemChange |
parseFrom(ByteBuffer data) |
static LineItemChange |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LineItemChange |
parseFrom(com.google.protobuf.ByteString data) |
static LineItemChange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LineItemChange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LineItemChange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LineItemChange |
parseFrom(InputStream input) |
static LineItemChange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LineItemChange> |
parser() |
LineItemChange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CHANGE_ID_FIELD_NUMBER
public static final int CHANGE_TYPE_FIELD_NUMBER
public static final int OLD_LINE_ITEM_INFO_FIELD_NUMBER
public static final int NEW_LINE_ITEM_INFO_FIELD_NUMBER
public static final int CHANGE_STATE_FIELD_NUMBER
public static final int STATE_REASON_FIELD_NUMBER
public static final int CHANGE_STATE_REASON_TYPE_FIELD_NUMBER
public static final int CHANGE_EFFECTIVE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getChangeId()
Output only. Change ID. All changes made within one order update operation have the same change_id.
string change_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getChangeId in interface LineItemChangeOrBuilderpublic com.google.protobuf.ByteString getChangeIdBytes()
Output only. Change ID. All changes made within one order update operation have the same change_id.
string change_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getChangeIdBytes in interface LineItemChangeOrBuilderpublic int getChangeTypeValue()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
getChangeTypeValue in interface LineItemChangeOrBuilderpublic LineItemChangeType getChangeType()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
getChangeType in interface LineItemChangeOrBuilderpublic boolean hasOldLineItemInfo()
Output only. Line item info before the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo old_line_item_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOldLineItemInfo in interface LineItemChangeOrBuilderpublic LineItemInfo getOldLineItemInfo()
Output only. Line item info before the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo old_line_item_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOldLineItemInfo in interface LineItemChangeOrBuilderpublic LineItemInfoOrBuilder getOldLineItemInfoOrBuilder()
Output only. Line item info before the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo old_line_item_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOldLineItemInfoOrBuilder in interface LineItemChangeOrBuilderpublic boolean hasNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
hasNewLineItemInfo in interface LineItemChangeOrBuilderpublic LineItemInfo getNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
getNewLineItemInfo in interface LineItemChangeOrBuilderpublic LineItemInfoOrBuilder getNewLineItemInfoOrBuilder()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
getNewLineItemInfoOrBuilder in interface LineItemChangeOrBuilderpublic int getChangeStateValue()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeStateValue in interface LineItemChangeOrBuilderpublic LineItemChangeState getChangeState()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeState in interface LineItemChangeOrBuilderpublic String getStateReason()
Output only. Provider-supplied message explaining the LineItemChange's state. Mainly used to communicate progress and ETA for provisioning in the case of `PENDING_APPROVAL`, and to explain why the change request was denied or canceled in the case of `REJECTED` and `CANCELED` states.
string state_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateReason in interface LineItemChangeOrBuilderpublic com.google.protobuf.ByteString getStateReasonBytes()
Output only. Provider-supplied message explaining the LineItemChange's state. Mainly used to communicate progress and ETA for provisioning in the case of `PENDING_APPROVAL`, and to explain why the change request was denied or canceled in the case of `REJECTED` and `CANCELED` states.
string state_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateReasonBytes in interface LineItemChangeOrBuilderpublic int getChangeStateReasonTypeValue()
Output only. Predefined enum types for why this line item change is in current state. For example, a line item change's state could be `LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration, immediate cancellation initiated by the user, or system-initiated cancellation.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonType change_state_reason_type = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeStateReasonTypeValue in interface LineItemChangeOrBuilderpublic LineItemChangeStateReasonType getChangeStateReasonType()
Output only. Predefined enum types for why this line item change is in current state. For example, a line item change's state could be `LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration, immediate cancellation initiated by the user, or system-initiated cancellation.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonType change_state_reason_type = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeStateReasonType in interface LineItemChangeOrBuilderpublic boolean hasChangeEffectiveTime()
Output only. A time at which the change became or will become (in case of pending change) effective.
.google.protobuf.Timestamp change_effective_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasChangeEffectiveTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.Timestamp getChangeEffectiveTime()
Output only. A time at which the change became or will become (in case of pending change) effective.
.google.protobuf.Timestamp change_effective_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeEffectiveTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.TimestampOrBuilder getChangeEffectiveTimeOrBuilder()
Output only. A time at which the change became or will become (in case of pending change) effective.
.google.protobuf.Timestamp change_effective_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChangeEffectiveTimeOrBuilder in interface LineItemChangeOrBuilderpublic boolean hasCreateTime()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface LineItemChangeOrBuilderpublic boolean hasUpdateTime()
Output only. The time when change was updated, e.g. approved/rejected by partners or cancelled by the user.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when change was updated, e.g. approved/rejected by partners or cancelled by the user.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface LineItemChangeOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when change was updated, e.g. approved/rejected by partners or cancelled by the user.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface LineItemChangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LineItemChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LineItemChange parseFrom(InputStream input) throws IOException
IOExceptionpublic static LineItemChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LineItemChange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LineItemChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LineItemChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LineItemChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LineItemChange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LineItemChange.Builder newBuilder()
public static LineItemChange.Builder newBuilder(LineItemChange prototype)
public LineItemChange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LineItemChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LineItemChange getDefaultInstance()
public static com.google.protobuf.Parser<LineItemChange> parser()
public com.google.protobuf.Parser<LineItemChange> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LineItemChange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.