Class ModifyOrderRequest.Modification (0.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  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 2025-10-28 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 2025-10-28 UTC."],[],[]]