Class LfpLink.Builder (0.20.0)

public static final class LfpLink.Builder extends GeneratedMessageV3.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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LfpLink.Builder
Overrides
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 clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LfpLink.Builder
Overrides
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 clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LfpLink.Builder
Overrides
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.Builder clone()
Returns
Type Description
LfpLink.Builder
Overrides
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 GeneratedMessageV3.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 final LfpLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LfpLink.Builder
Overrides
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 setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LfpLink.Builder
Overrides
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 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LfpLink.Builder
Overrides
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.

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