Class LinkLfpProviderRequest.Builder (1.11.0)

public static final class LinkLfpProviderRequest.Builder extends GeneratedMessage.Builder<LinkLfpProviderRequest.Builder> implements LinkLfpProviderRequestOrBuilder

Request message for the LinkLfpProvider method.

Protobuf type google.shopping.merchant.accounts.v1.LinkLfpProviderRequest

Static Methods

getDescriptor()

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

Methods

build()

public LinkLfpProviderRequest build()
Returns
Type Description
LinkLfpProviderRequest

buildPartial()

public LinkLfpProviderRequest buildPartial()
Returns
Type Description
LinkLfpProviderRequest

clear()

public LinkLfpProviderRequest.Builder clear()
Returns
Type Description
LinkLfpProviderRequest.Builder
Overrides

clearExternalAccountId()

public LinkLfpProviderRequest.Builder clearExternalAccountId()

Required. The external account ID by which this merchant is known to the LFP provider.

string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.

clearName()

public LinkLfpProviderRequest.Builder clearName()

Required. The name of the LFP provider resource to link. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. The lfp_provider is the LFP provider ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public LinkLfpProviderRequest getDefaultInstanceForType()
Returns
Type Description
LinkLfpProviderRequest

getDescriptorForType()

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

getExternalAccountId()

public String getExternalAccountId()

Required. The external account ID by which this merchant is known to the LFP provider.

string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The externalAccountId.

getExternalAccountIdBytes()

public ByteString getExternalAccountIdBytes()

Required. The external account ID by which this merchant is known to the LFP provider.

string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for externalAccountId.

getName()

public String getName()

Required. The name of the LFP provider resource to link. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. The lfp_provider is the LFP provider ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the LFP provider resource to link. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. The lfp_provider is the LFP provider ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LinkLfpProviderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkLfpProviderRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(LinkLfpProviderRequest other)

public LinkLfpProviderRequest.Builder mergeFrom(LinkLfpProviderRequest other)
Parameter
Name Description
other LinkLfpProviderRequest
Returns
Type Description
LinkLfpProviderRequest.Builder

setExternalAccountId(String value)

public LinkLfpProviderRequest.Builder setExternalAccountId(String value)

Required. The external account ID by which this merchant is known to the LFP provider.

string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The externalAccountId to set.

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.

setExternalAccountIdBytes(ByteString value)

public LinkLfpProviderRequest.Builder setExternalAccountIdBytes(ByteString value)

Required. The external account ID by which this merchant is known to the LFP provider.

string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for externalAccountId to set.

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.

setName(String value)

public LinkLfpProviderRequest.Builder setName(String value)

Required. The name of the LFP provider resource to link. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. The lfp_provider is the LFP provider ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LinkLfpProviderRequest.Builder setNameBytes(ByteString value)

Required. The name of the LFP provider resource to link. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. The lfp_provider is the LFP provider ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LinkLfpProviderRequest.Builder

This builder for chaining.