public static final class UpdateOnlineReturnPolicyRequest.Builder extends GeneratedMessage.Builder<UpdateOnlineReturnPolicyRequest.Builder> implements UpdateOnlineReturnPolicyRequestOrBuilder Request message for the UpdateOnlineReturnPolicy method. The method
supports field masks and when the mask is provided, only the fields specified
in the mask are updated.
Protobuf type google.shopping.merchant.accounts.v1beta.UpdateOnlineReturnPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateOnlineReturnPolicyRequest.BuilderImplements
UpdateOnlineReturnPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateOnlineReturnPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest |
|
buildPartial()
public UpdateOnlineReturnPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest |
|
clear()
public UpdateOnlineReturnPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
clearOnlineReturnPolicy()
public UpdateOnlineReturnPolicyRequest.Builder clearOnlineReturnPolicy() Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
clearUpdateMask()
public UpdateOnlineReturnPolicyRequest.Builder clearUpdateMask()Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
getDefaultInstanceForType()
public UpdateOnlineReturnPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOnlineReturnPolicy()
public OnlineReturnPolicy getOnlineReturnPolicy() Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OnlineReturnPolicy |
The onlineReturnPolicy. |
getOnlineReturnPolicyBuilder()
public OnlineReturnPolicy.Builder getOnlineReturnPolicyBuilder() Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OnlineReturnPolicy.Builder |
|
getOnlineReturnPolicyOrBuilder()
public OnlineReturnPolicyOrBuilder getOnlineReturnPolicyOrBuilder() Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OnlineReturnPolicyOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasOnlineReturnPolicy()
public boolean hasOnlineReturnPolicy() Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the onlineReturnPolicy field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateOnlineReturnPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateOnlineReturnPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
mergeFrom(UpdateOnlineReturnPolicyRequest other)
public UpdateOnlineReturnPolicyRequest.Builder mergeFrom(UpdateOnlineReturnPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateOnlineReturnPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
mergeOnlineReturnPolicy(OnlineReturnPolicy value)
public UpdateOnlineReturnPolicyRequest.Builder mergeOnlineReturnPolicy(OnlineReturnPolicy value) Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OnlineReturnPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateOnlineReturnPolicyRequest.Builder mergeUpdateMask(FieldMask value)Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
setOnlineReturnPolicy(OnlineReturnPolicy value)
public UpdateOnlineReturnPolicyRequest.Builder setOnlineReturnPolicy(OnlineReturnPolicy value) Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OnlineReturnPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
setOnlineReturnPolicy(OnlineReturnPolicy.Builder builderForValue)
public UpdateOnlineReturnPolicyRequest.Builder setOnlineReturnPolicy(OnlineReturnPolicy.Builder builderForValue) Required. The online return policy to update.
The online return policy's name field is used to identify the
online return policy to be updated.
.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy online_return_policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OnlineReturnPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateOnlineReturnPolicyRequest.Builder setUpdateMask(FieldMask value)Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOnlineReturnPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. List of fields being updated.
The following fields are supported (in both snake_case and
lowerCamelCase):
accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest.Builder |
|