Class LineItemChange.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
- com.google.cloud.commerce.consumer.procurement.v1.LineItemChange.Builder
-
- All Implemented Interfaces:
LineItemChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LineItemChange
public static final class LineItemChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder> implements LineItemChangeOrBuilder
A change made on a line item.
Protobuf typegoogle.cloud.commerce.consumer.procurement.v1.LineItemChange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LineItemChange.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LineItemChangebuild()LineItemChangebuildPartial()LineItemChange.Builderclear()LineItemChange.BuilderclearChangeEffectiveTime()Output only.LineItemChange.BuilderclearChangeId()Output only.LineItemChange.BuilderclearChangeState()Output only.LineItemChange.BuilderclearChangeStateReasonType()Output only.LineItemChange.BuilderclearChangeType()Required.LineItemChange.BuilderclearCreateTime()Output only.LineItemChange.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LineItemChange.BuilderclearNewLineItemInfo()Line item info after the change.LineItemChange.BuilderclearOldLineItemInfo()Output only.LineItemChange.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LineItemChange.BuilderclearStateReason()Output only.LineItemChange.BuilderclearUpdateTime()Output only.LineItemChange.Builderclone()com.google.protobuf.TimestampgetChangeEffectiveTime()Output only.com.google.protobuf.Timestamp.BuildergetChangeEffectiveTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetChangeEffectiveTimeOrBuilder()Output only.StringgetChangeId()Output only.com.google.protobuf.ByteStringgetChangeIdBytes()Output only.LineItemChangeStategetChangeState()Output only.LineItemChangeStateReasonTypegetChangeStateReasonType()Output only.intgetChangeStateReasonTypeValue()Output only.intgetChangeStateValue()Output only.LineItemChangeTypegetChangeType()Required.intgetChangeTypeValue()Required.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.LineItemChangegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LineItemInfogetNewLineItemInfo()Line item info after the change.LineItemInfo.BuildergetNewLineItemInfoBuilder()Line item info after the change.LineItemInfoOrBuildergetNewLineItemInfoOrBuilder()Line item info after the change.LineItemInfogetOldLineItemInfo()Output only.LineItemInfo.BuildergetOldLineItemInfoBuilder()Output only.LineItemInfoOrBuildergetOldLineItemInfoOrBuilder()Output only.StringgetStateReason()Output only.com.google.protobuf.ByteStringgetStateReasonBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasChangeEffectiveTime()Output only.booleanhasCreateTime()Output only.booleanhasNewLineItemInfo()Line item info after the change.booleanhasOldLineItemInfo()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LineItemChange.BuildermergeChangeEffectiveTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildermergeFrom(LineItemChange other)LineItemChange.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LineItemChange.BuildermergeFrom(com.google.protobuf.Message other)LineItemChange.BuildermergeNewLineItemInfo(LineItemInfo value)Line item info after the change.LineItemChange.BuildermergeOldLineItemInfo(LineItemInfo value)Output only.LineItemChange.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LineItemChange.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildersetChangeEffectiveTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildersetChangeEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.LineItemChange.BuildersetChangeId(String value)Output only.LineItemChange.BuildersetChangeIdBytes(com.google.protobuf.ByteString value)Output only.LineItemChange.BuildersetChangeState(LineItemChangeState value)Output only.LineItemChange.BuildersetChangeStateReasonType(LineItemChangeStateReasonType value)Output only.LineItemChange.BuildersetChangeStateReasonTypeValue(int value)Output only.LineItemChange.BuildersetChangeStateValue(int value)Output only.LineItemChange.BuildersetChangeType(LineItemChangeType value)Required.LineItemChange.BuildersetChangeTypeValue(int value)Required.LineItemChange.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.LineItemChange.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LineItemChange.BuildersetNewLineItemInfo(LineItemInfo value)Line item info after the change.LineItemChange.BuildersetNewLineItemInfo(LineItemInfo.Builder builderForValue)Line item info after the change.LineItemChange.BuildersetOldLineItemInfo(LineItemInfo value)Output only.LineItemChange.BuildersetOldLineItemInfo(LineItemInfo.Builder builderForValue)Output only.LineItemChange.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LineItemChange.BuildersetStateReason(String value)Output only.LineItemChange.BuildersetStateReasonBytes(com.google.protobuf.ByteString value)Output only.LineItemChange.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LineItemChange.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.LineItemChange.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
clear
public LineItemChange.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
getDefaultInstanceForType
public LineItemChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LineItemChange build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LineItemChange buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LineItemChange.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
setField
public LineItemChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
clearField
public LineItemChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
clearOneof
public LineItemChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
setRepeatedField
public LineItemChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
addRepeatedField
public LineItemChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
mergeFrom
public LineItemChange.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LineItemChange.Builder>
-
mergeFrom
public LineItemChange.Builder mergeFrom(LineItemChange other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
mergeFrom
public LineItemChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LineItemChange.Builder>- Throws:
IOException
-
getChangeId
public 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];- Specified by:
getChangeIdin interfaceLineItemChangeOrBuilder- Returns:
- The changeId.
-
getChangeIdBytes
public 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];- Specified by:
getChangeIdBytesin interfaceLineItemChangeOrBuilder- Returns:
- The bytes for changeId.
-
setChangeId
public LineItemChange.Builder setChangeId(String value)
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];- Parameters:
value- The changeId to set.- Returns:
- This builder for chaining.
-
clearChangeId
public LineItemChange.Builder clearChangeId()
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:
- This builder for chaining.
-
setChangeIdBytes
public LineItemChange.Builder setChangeIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for changeId to set.- Returns:
- This builder for chaining.
-
getChangeTypeValue
public int getChangeTypeValue()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getChangeTypeValuein interfaceLineItemChangeOrBuilder- Returns:
- The enum numeric value on the wire for changeType.
-
setChangeTypeValue
public LineItemChange.Builder setChangeTypeValue(int value)
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for changeType to set.- Returns:
- This builder for chaining.
-
getChangeType
public LineItemChangeType getChangeType()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getChangeTypein interfaceLineItemChangeOrBuilder- Returns:
- The changeType.
-
setChangeType
public LineItemChange.Builder setChangeType(LineItemChangeType value)
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The changeType to set.- Returns:
- This builder for chaining.
-
clearChangeType
public LineItemChange.Builder clearChangeType()
Required. Type of the change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasOldLineItemInfo
public 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];- Specified by:
hasOldLineItemInfoin interfaceLineItemChangeOrBuilder- Returns:
- Whether the oldLineItemInfo field is set.
-
getOldLineItemInfo
public 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];- Specified by:
getOldLineItemInfoin interfaceLineItemChangeOrBuilder- Returns:
- The oldLineItemInfo.
-
setOldLineItemInfo
public LineItemChange.Builder setOldLineItemInfo(LineItemInfo value)
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];
-
setOldLineItemInfo
public LineItemChange.Builder setOldLineItemInfo(LineItemInfo.Builder builderForValue)
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];
-
mergeOldLineItemInfo
public LineItemChange.Builder mergeOldLineItemInfo(LineItemInfo value)
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];
-
clearOldLineItemInfo
public LineItemChange.Builder clearOldLineItemInfo()
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];
-
getOldLineItemInfoBuilder
public LineItemInfo.Builder getOldLineItemInfoBuilder()
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
public 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];- Specified by:
getOldLineItemInfoOrBuilderin interfaceLineItemChangeOrBuilder
-
hasNewLineItemInfo
public boolean hasNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;- Specified by:
hasNewLineItemInfoin interfaceLineItemChangeOrBuilder- Returns:
- Whether the newLineItemInfo field is set.
-
getNewLineItemInfo
public LineItemInfo getNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;- Specified by:
getNewLineItemInfoin interfaceLineItemChangeOrBuilder- Returns:
- The newLineItemInfo.
-
setNewLineItemInfo
public LineItemChange.Builder setNewLineItemInfo(LineItemInfo value)
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
setNewLineItemInfo
public LineItemChange.Builder setNewLineItemInfo(LineItemInfo.Builder builderForValue)
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
mergeNewLineItemInfo
public LineItemChange.Builder mergeNewLineItemInfo(LineItemInfo value)
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
clearNewLineItemInfo
public LineItemChange.Builder clearNewLineItemInfo()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
getNewLineItemInfoBuilder
public LineItemInfo.Builder getNewLineItemInfoBuilder()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;
-
getNewLineItemInfoOrBuilder
public LineItemInfoOrBuilder getNewLineItemInfoOrBuilder()
Line item info after the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 4;- Specified by:
getNewLineItemInfoOrBuilderin interfaceLineItemChangeOrBuilder
-
getChangeStateValue
public int getChangeStateValue()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChangeStateValuein interfaceLineItemChangeOrBuilder- Returns:
- The enum numeric value on the wire for changeState.
-
setChangeStateValue
public LineItemChange.Builder setChangeStateValue(int value)
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for changeState to set.- Returns:
- This builder for chaining.
-
getChangeState
public LineItemChangeState getChangeState()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChangeStatein interfaceLineItemChangeOrBuilder- Returns:
- The changeState.
-
setChangeState
public LineItemChange.Builder setChangeState(LineItemChangeState value)
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The changeState to set.- Returns:
- This builder for chaining.
-
clearChangeState
public LineItemChange.Builder clearChangeState()
Output only. State of the change.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeState change_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateReason
public 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];- Specified by:
getStateReasonin interfaceLineItemChangeOrBuilder- Returns:
- The stateReason.
-
getStateReasonBytes
public 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];- Specified by:
getStateReasonBytesin interfaceLineItemChangeOrBuilder- Returns:
- The bytes for stateReason.
-
setStateReason
public LineItemChange.Builder setStateReason(String value)
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];- Parameters:
value- The stateReason to set.- Returns:
- This builder for chaining.
-
clearStateReason
public LineItemChange.Builder clearStateReason()
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:
- This builder for chaining.
-
setStateReasonBytes
public LineItemChange.Builder setStateReasonBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for stateReason to set.- Returns:
- This builder for chaining.
-
getChangeStateReasonTypeValue
public 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];- Specified by:
getChangeStateReasonTypeValuein interfaceLineItemChangeOrBuilder- Returns:
- The enum numeric value on the wire for changeStateReasonType.
-
setChangeStateReasonTypeValue
public LineItemChange.Builder setChangeStateReasonTypeValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for changeStateReasonType to set.- Returns:
- This builder for chaining.
-
getChangeStateReasonType
public 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];- Specified by:
getChangeStateReasonTypein interfaceLineItemChangeOrBuilder- Returns:
- The changeStateReasonType.
-
setChangeStateReasonType
public LineItemChange.Builder setChangeStateReasonType(LineItemChangeStateReasonType value)
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];- Parameters:
value- The changeStateReasonType to set.- Returns:
- This builder for chaining.
-
clearChangeStateReasonType
public LineItemChange.Builder clearChangeStateReasonType()
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:
- This builder for chaining.
-
hasChangeEffectiveTime
public 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];- Specified by:
hasChangeEffectiveTimein interfaceLineItemChangeOrBuilder- Returns:
- Whether the changeEffectiveTime field is set.
-
getChangeEffectiveTime
public 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];- Specified by:
getChangeEffectiveTimein interfaceLineItemChangeOrBuilder- Returns:
- The changeEffectiveTime.
-
setChangeEffectiveTime
public LineItemChange.Builder setChangeEffectiveTime(com.google.protobuf.Timestamp value)
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];
-
setChangeEffectiveTime
public LineItemChange.Builder setChangeEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeChangeEffectiveTime
public LineItemChange.Builder mergeChangeEffectiveTime(com.google.protobuf.Timestamp value)
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];
-
clearChangeEffectiveTime
public LineItemChange.Builder clearChangeEffectiveTime()
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];
-
getChangeEffectiveTimeBuilder
public com.google.protobuf.Timestamp.Builder getChangeEffectiveTimeBuilder()
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
public 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];- Specified by:
getChangeEffectiveTimeOrBuilderin interfaceLineItemChangeOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceLineItemChangeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceLineItemChangeOrBuilder- Returns:
- The createTime.
-
setCreateTime
public LineItemChange.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public LineItemChange.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public LineItemChange.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public LineItemChange.Builder clearCreateTime()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when change was initiated.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceLineItemChangeOrBuilder
-
hasUpdateTime
public 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];- Specified by:
hasUpdateTimein interfaceLineItemChangeOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceLineItemChangeOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public LineItemChange.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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];
-
setUpdateTime
public LineItemChange.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeUpdateTime
public LineItemChange.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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];
-
clearUpdateTime
public LineItemChange.Builder clearUpdateTime()
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];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
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
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceLineItemChangeOrBuilder
-
setUnknownFields
public final LineItemChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
mergeUnknownFields
public final LineItemChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LineItemChange.Builder>
-
-