- 0.53.0 (latest)
- 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.Builder extends GeneratedMessageV3.Builder<ModifyOrderRequest.Modification.Builder> implements ModifyOrderRequest.ModificationOrBuilder
Modifications to make on the order.
Protobuf type
google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModifyOrderRequest.Modification.BuilderImplements
ModifyOrderRequest.ModificationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModifyOrderRequest.Modification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
build()
public ModifyOrderRequest.Modification build()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification |
buildPartial()
public ModifyOrderRequest.Modification buildPartial()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification |
clear()
public ModifyOrderRequest.Modification.Builder clear()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
clearAutoRenewalBehavior()
public ModifyOrderRequest.Modification.Builder clearAutoRenewalBehavior()
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 |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
clearChangeType()
public ModifyOrderRequest.Modification.Builder clearChangeType()
Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ModifyOrderRequest.Modification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
clearLineItemId()
public ModifyOrderRequest.Modification.Builder clearLineItemId()
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 |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
clearNewLineItemInfo()
public ModifyOrderRequest.Modification.Builder clearNewLineItemInfo()
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 |
ModifyOrderRequest.Modification.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ModifyOrderRequest.Modification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
clone()
public ModifyOrderRequest.Modification.Builder clone()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
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];
Returns | |
---|---|
Type | Description |
AutoRenewalBehavior |
The autoRenewalBehavior. |
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];
Returns | |
---|---|
Type | Description |
LineItemChangeType |
The changeType. |
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()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
LineItemInfo |
The newLineItemInfo. |
getNewLineItemInfoBuilder()
public LineItemInfo.Builder getNewLineItemInfoBuilder()
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 |
LineItemInfo.Builder |
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];
Returns | |
---|---|
Type | Description |
LineItemInfoOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ModifyOrderRequest.Modification other)
public ModifyOrderRequest.Modification.Builder mergeFrom(ModifyOrderRequest.Modification other)
Parameter | |
---|---|
Name | Description |
other |
ModifyOrderRequest.Modification |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModifyOrderRequest.Modification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ModifyOrderRequest.Modification.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
mergeNewLineItemInfo(LineItemInfo value)
public ModifyOrderRequest.Modification.Builder mergeNewLineItemInfo(LineItemInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
LineItemInfo |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModifyOrderRequest.Modification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
setAutoRenewalBehavior(AutoRenewalBehavior value)
public ModifyOrderRequest.Modification.Builder setAutoRenewalBehavior(AutoRenewalBehavior value)
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];
Parameter | |
---|---|
Name | Description |
value |
AutoRenewalBehavior The autoRenewalBehavior to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setAutoRenewalBehaviorValue(int value)
public ModifyOrderRequest.Modification.Builder setAutoRenewalBehaviorValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for autoRenewalBehavior to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setChangeType(LineItemChangeType value)
public ModifyOrderRequest.Modification.Builder setChangeType(LineItemChangeType value)
Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LineItemChangeType The changeType to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setChangeTypeValue(int value)
public ModifyOrderRequest.Modification.Builder setChangeTypeValue(int value)
Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for changeType to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ModifyOrderRequest.Modification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
setLineItemId(String value)
public ModifyOrderRequest.Modification.Builder setLineItemId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The lineItemId to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setLineItemIdBytes(ByteString value)
public ModifyOrderRequest.Modification.Builder setLineItemIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for lineItemId to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
This builder for chaining. |
setNewLineItemInfo(LineItemInfo value)
public ModifyOrderRequest.Modification.Builder setNewLineItemInfo(LineItemInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
LineItemInfo |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
setNewLineItemInfo(LineItemInfo.Builder builderForValue)
public ModifyOrderRequest.Modification.Builder setNewLineItemInfo(LineItemInfo.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
LineItemInfo.Builder |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModifyOrderRequest.Modification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ModifyOrderRequest.Modification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |