Class LfpLink (0.23.0)

public final class LfpLink extends GeneratedMessageV3 implements LfpLinkOrBuilder

Collection of information related to the LFP link.

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

Implements

LfpLinkOrBuilder

Static Fields

public static final int EXTERNAL_ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int
public static final int LFP_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static LfpLink getDefaultInstance()
Returns
Type Description
LfpLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static LfpLink.Builder newBuilder()
Returns
Type Description
LfpLink.Builder
public static LfpLink.Builder newBuilder(LfpLink prototype)
Parameter
Name Description
prototype LfpLink
Returns
Type Description
LfpLink.Builder
public static LfpLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LfpLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LfpLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LfpLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LfpLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
IOException
public static LfpLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LfpLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<LfpLink> parser()
Returns
Type Description
Parser<LfpLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public LfpLink getDefaultInstanceForType()
Returns
Type Description
LfpLink
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 Parser<LfpLink> getParserForType()
Returns
Type Description
Parser<LfpLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
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.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public LfpLink.Builder newBuilderForType()
Returns
Type Description
LfpLink.Builder
protected LfpLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LfpLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public LfpLink.Builder toBuilder()
Returns
Type Description
LfpLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException