public static final class InsertShippingSettingsRequest.Builder extends GeneratedMessage.Builder<InsertShippingSettingsRequest.Builder> implements InsertShippingSettingsRequestOrBuilder Request message for the InsertShippingSetting method.
Protobuf type google.shopping.merchant.accounts.v1.InsertShippingSettingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InsertShippingSettingsRequest.BuilderImplements
InsertShippingSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InsertShippingSettingsRequest build()| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest |
|
buildPartial()
public InsertShippingSettingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest |
|
clear()
public InsertShippingSettingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
clearParent()
public InsertShippingSettingsRequest.Builder clearParent() Required. The account for which this shipping setting will be inserted. If
you are using an advanced account, you must specify the unique identifier
of the sub-account for which you want to insert the shipping setting.
Format: accounts/{ACCOUNT_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
This builder for chaining. |
clearShippingSetting()
public InsertShippingSettingsRequest.Builder clearShippingSetting()Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
getDefaultInstanceForType()
public InsertShippingSettingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The account for which this shipping setting will be inserted. If
you are using an advanced account, you must specify the unique identifier
of the sub-account for which you want to insert the shipping setting.
Format: accounts/{ACCOUNT_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The account for which this shipping setting will be inserted. If
you are using an advanced account, you must specify the unique identifier
of the sub-account for which you want to insert the shipping setting.
Format: accounts/{ACCOUNT_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getShippingSetting()
public ShippingSettings getShippingSetting()Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShippingSettings |
The shippingSetting. |
getShippingSettingBuilder()
public ShippingSettings.Builder getShippingSettingBuilder()Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShippingSettings.Builder |
|
getShippingSettingOrBuilder()
public ShippingSettingsOrBuilder getShippingSettingOrBuilder()Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShippingSettingsOrBuilder |
|
hasShippingSetting()
public boolean hasShippingSetting()Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shippingSetting 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 InsertShippingSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InsertShippingSettingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
mergeFrom(InsertShippingSettingsRequest other)
public InsertShippingSettingsRequest.Builder mergeFrom(InsertShippingSettingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
InsertShippingSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
mergeShippingSetting(ShippingSettings value)
public InsertShippingSettingsRequest.Builder mergeShippingSetting(ShippingSettings value)Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ShippingSettings |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
setParent(String value)
public InsertShippingSettingsRequest.Builder setParent(String value) Required. The account for which this shipping setting will be inserted. If
you are using an advanced account, you must specify the unique identifier
of the sub-account for which you want to insert the shipping setting.
Format: accounts/{ACCOUNT_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public InsertShippingSettingsRequest.Builder setParentBytes(ByteString value) Required. The account for which this shipping setting will be inserted. If
you are using an advanced account, you must specify the unique identifier
of the sub-account for which you want to insert the shipping setting.
Format: accounts/{ACCOUNT_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
This builder for chaining. |
setShippingSetting(ShippingSettings value)
public InsertShippingSettingsRequest.Builder setShippingSetting(ShippingSettings value)Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ShippingSettings |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|
setShippingSetting(ShippingSettings.Builder builderForValue)
public InsertShippingSettingsRequest.Builder setShippingSetting(ShippingSettings.Builder builderForValue)Required. The new version of the account.
.google.shopping.merchant.accounts.v1.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ShippingSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
InsertShippingSettingsRequest.Builder |
|