Class InsertShippingSettingsRequest.Builder (0.10.0)

public static final class InsertShippingSettingsRequest.Builder extends GeneratedMessageV3.Builder<InsertShippingSettingsRequest.Builder> implements InsertShippingSettingsRequestOrBuilder

Request message for the InsertShippingSetting method.

Protobuf type google.shopping.merchant.accounts.v1beta.InsertShippingSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InsertShippingSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public InsertShippingSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InsertShippingSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

clearParent()

public InsertShippingSettingsRequest.Builder clearParent()

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

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.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertShippingSettingsRequest.Builder

clone()

public InsertShippingSettingsRequest.Builder clone()
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public InsertShippingSettingsRequest getDefaultInstanceForType()
Returns
Type Description
InsertShippingSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getShippingSetting()

public ShippingSettings getShippingSetting()

Required. The new version of the account.

.google.shopping.merchant.accounts.v1beta.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.v1beta.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.v1beta.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.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the shippingSetting field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InsertShippingSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

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.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ShippingSettings
Returns
Type Description
InsertShippingSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InsertShippingSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InsertShippingSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

setParent(String value)

public InsertShippingSettingsRequest.Builder setParent(String value)

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
InsertShippingSettingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public InsertShippingSettingsRequest.Builder setParentBytes(ByteString value)

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
InsertShippingSettingsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InsertShippingSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides

setShippingSetting(ShippingSettings value)

public InsertShippingSettingsRequest.Builder setShippingSetting(ShippingSettings value)

Required. The new version of the account.

.google.shopping.merchant.accounts.v1beta.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.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ShippingSettings.Builder
Returns
Type Description
InsertShippingSettingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InsertShippingSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsertShippingSettingsRequest.Builder
Overrides