Class ModifyOrderRequest.Modification (0.56.0)
0.89.0 (latest)
0.86.0
0.85.0
0.83.0
0.81.0
0.80.0
0.79.0
0.78.0
0.76.0
0.74.0
0.73.0
0.72.0
0.71.0
0.70.0
0.68.0
0.66.0
0.65.0
0.62.0
0.61.0
0.60.0
0.58.0
0.57.0
0.56.0
0.55.0
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.49.0
0.47.0
0.46.0
0.45.0
0.44.0
0.43.0
0.42.0
0.41.0
0.40.0
0.39.0
0.38.0
0.37.0
0.35.0
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.5
public static final class ModifyOrderRequest . Modification extends GeneratedMessageV3 implements ModifyOrderRequest . ModificationOrBuilder
Modifications to make on the order.
Protobuf type
google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTO_RENEWAL_BEHAVIOR_FIELD_NUMBER
public static final int AUTO_RENEWAL_BEHAVIOR_FIELD_NUMBER
Field Value
Type
Description
int
CHANGE_TYPE_FIELD_NUMBER
public static final int CHANGE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
LINE_ITEM_ID_FIELD_NUMBER
public static final int LINE_ITEM_ID_FIELD_NUMBER
Field Value
Type
Description
int
NEW_LINE_ITEM_INFO_FIELD_NUMBER
public static final int NEW_LINE_ITEM_INFO_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ModifyOrderRequest . Modification getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ModifyOrderRequest . Modification . Builder newBuilder ()
newBuilder(ModifyOrderRequest.Modification prototype)
public static ModifyOrderRequest . Modification . Builder newBuilder ( ModifyOrderRequest . Modification prototype )
public static ModifyOrderRequest . Modification parseDelimitedFrom ( InputStream input )
public static ModifyOrderRequest . Modification parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ModifyOrderRequest . Modification parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ModifyOrderRequest . Modification parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ModifyOrderRequest . Modification parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ModifyOrderRequest . Modification parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModifyOrderRequest . Modification parseFrom ( CodedInputStream input )
public static ModifyOrderRequest . Modification parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModifyOrderRequest . Modification parseFrom ( InputStream input )
public static ModifyOrderRequest . Modification parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ModifyOrderRequest . Modification parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ModifyOrderRequest . Modification parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ModifyOrderRequest . Modification > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAutoRenewalBehavior()
public AutoRenewalBehavior getAutoRenewalBehavior ()
Optional. Auto renewal behavior of the subscription for the update.
Applied when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE]. Follows plan default
config when this field is not specified.
.google.cloud.commerce.consumer.procurement.v1.AutoRenewalBehavior auto_renewal_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];
getAutoRenewalBehaviorValue()
public int getAutoRenewalBehaviorValue ()
Optional. Auto renewal behavior of the subscription for the update.
Applied when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE]. Follows plan default
config when this field is not specified.
.google.cloud.commerce.consumer.procurement.v1.AutoRenewalBehavior auto_renewal_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for autoRenewalBehavior.
getChangeType()
public LineItemChangeType getChangeType ()
Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
getChangeTypeValue()
public int getChangeTypeValue ()
Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for changeType.
getDefaultInstanceForType()
public ModifyOrderRequest . Modification getDefaultInstanceForType ()
getLineItemId()
public String getLineItemId ()
Required. ID of the existing line item to make change to.
Required when change type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL].
string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The lineItemId.
getLineItemIdBytes()
public ByteString getLineItemIdBytes ()
Required. ID of the existing line item to make change to.
Required when change type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL].
string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for lineItemId.
getNewLineItemInfo()
public LineItemInfo getNewLineItemInfo ()
Optional. The line item to update to.
Required when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL];
getNewLineItemInfoOrBuilder()
public LineItemInfoOrBuilder getNewLineItemInfoOrBuilder ()
Optional. The line item to update to.
Required when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<ModifyOrderRequest . Modification > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasNewLineItemInfo()
public boolean hasNewLineItemInfo ()
Optional. The line item to update to.
Required when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the newLineItemInfo field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ModifyOrderRequest . Modification . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ModifyOrderRequest . Modification . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ModifyOrderRequest . Modification . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]