Class LfpLink.Builder (1.11.0)

public static final class LfpLink.Builder extends GeneratedMessage.Builder<LfpLink.Builder> implements LfpLinkOrBuilder

Collection of information related to the LFP link.

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

Implements

LfpLinkOrBuilder

Static Methods

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

Methods

public LfpLink build()
Returns
Type Description
LfpLink
public LfpLink buildPartial()
Returns
Type Description
LfpLink
public LfpLink.Builder clear()
Returns
Type Description
LfpLink.Builder
Overrides
public LfpLink.Builder clearExternalAccountId()

Required. The 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
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder clearLfpProvider()

Required. The resource name of the LFP provider. Format: lfpProviders/{lfp_provider}

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

Returns
Type Description
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder clearState()

Output only. The state of the LFP link.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpLink.Builder

This builder for chaining.

public LfpLink getDefaultInstanceForType()
Returns
Type Description
LfpLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getExternalAccountId()

Required. The 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.

public ByteString getExternalAccountIdBytes()

Required. The 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.

public String getLfpProvider()

Required. The resource name of the LFP provider. Format: lfpProviders/{lfp_provider}

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

Returns
Type Description
String

The lfpProvider.

public ByteString getLfpProviderBytes()

Required. The resource name of the LFP provider. Format: lfpProviders/{lfp_provider}

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

Returns
Type Description
ByteString

The bytes for lfpProvider.

public ReviewState.State getState()

Output only. The state of the LFP link.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReviewState.State

The state.

public int getStateValue()

Output only. The state of the LFP link.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public LfpLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink.Builder
Overrides
Exceptions
Type Description
IOException
public LfpLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LfpLink.Builder
Overrides
public LfpLink.Builder mergeFrom(LfpLink other)
Parameter
Name Description
other LfpLink
Returns
Type Description
LfpLink.Builder
public LfpLink.Builder setExternalAccountId(String value)

Required. The 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
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder setExternalAccountIdBytes(ByteString value)

Required. The 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
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder setLfpProvider(String value)

Required. The resource name of the LFP provider. Format: lfpProviders/{lfp_provider}

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

Parameter
Name Description
value String

The lfpProvider to set.

Returns
Type Description
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder setLfpProviderBytes(ByteString value)

Required. The resource name of the LFP provider. Format: lfpProviders/{lfp_provider}

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

Parameter
Name Description
value ByteString

The bytes for lfpProvider to set.

Returns
Type Description
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder setState(ReviewState.State value)

Output only. The state of the LFP link.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReviewState.State

The state to set.

Returns
Type Description
LfpLink.Builder

This builder for chaining.

public LfpLink.Builder setStateValue(int value)

Output only. The state of the LFP link.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
LfpLink.Builder

This builder for chaining.