Interface LineItemChangeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LineItemChange
,LineItemChange.Builder
public interface LineItemChangeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.LineItemInfo
getNewLineItemInfo()
Line item info after the change.LineItemInfoOrBuilder
getNewLineItemInfoOrBuilder()
Line item info after the change.LineItemInfo
getOldLineItemInfo()
Output only.LineItemInfoOrBuilder
getOldLineItemInfoOrBuilder()
Output only.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.boolean
hasNewLineItemInfo()
Line item info after the change.boolean
hasOldLineItemInfo()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getChangeId
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];
- Returns:
- The changeId.
-
getChangeIdBytes
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];
- Returns:
- The bytes for changeId.
-
getChangeTypeValue
int getChangeTypeValue()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for changeType.
-
getChangeType
LineItemChangeType getChangeType()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The changeType.
-
hasOldLineItemInfo
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];
- Returns:
- Whether the oldLineItemInfo field is set.
-
getOldLineItemInfo
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];
- Returns:
- The oldLineItemInfo.
-
getOldLineItemInfoOrBuilder
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];
-
hasNewLineItemInfo
boolean hasNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
- Returns:
- Whether the newLineItemInfo field is set.
-
getNewLineItemInfo
LineItemInfo getNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
- Returns:
- The newLineItemInfo.
-
getNewLineItemInfoOrBuilder
LineItemInfoOrBuilder getNewLineItemInfoOrBuilder()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
getChangeStateValue
int getChangeStateValue()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for changeState.
-
getChangeState
LineItemChangeState getChangeState()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The changeState.
-
getStateReason
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];
- Returns:
- The stateReason.
-
getStateReasonBytes
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];
- Returns:
- The bytes for stateReason.
-
getChangeStateReasonTypeValue
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];
- Returns:
- The enum numeric value on the wire for changeStateReasonType.
-
getChangeStateReasonType
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];
- Returns:
- The changeStateReasonType.
-
hasChangeEffectiveTime
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];
- Returns:
- Whether the changeEffectiveTime field is set.
-
getChangeEffectiveTime
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];
- Returns:
- The changeEffectiveTime.
-
getChangeEffectiveTimeOrBuilder
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];
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
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];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
-