Class MerchantCenterLinkingConfig (2.46.0)

public final class MerchantCenterLinkingConfig extends GeneratedMessageV3 implements MerchantCenterLinkingConfigOrBuilder

Configures Merchant Center linking. Links contained in the config will be used to sync data from a Merchant Center account to a Cloud Retail branch.

Protobuf type google.cloud.retail.v2alpha.MerchantCenterLinkingConfig

Static Fields

public static final int LINKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MerchantCenterLinkingConfig getDefaultInstance()
Returns
Type Description
MerchantCenterLinkingConfig

getDescriptor()

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

newBuilder()

public static MerchantCenterLinkingConfig.Builder newBuilder()
Returns
Type Description
MerchantCenterLinkingConfig.Builder

newBuilder(MerchantCenterLinkingConfig prototype)

public static MerchantCenterLinkingConfig.Builder newBuilder(MerchantCenterLinkingConfig prototype)
Parameter
Name Description
prototype MerchantCenterLinkingConfig
Returns
Type Description
MerchantCenterLinkingConfig.Builder

parseDelimitedFrom(InputStream input)

public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MerchantCenterLinkingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MerchantCenterLinkingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MerchantCenterLinkingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterLinkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MerchantCenterLinkingConfig> parser()
Returns
Type Description
Parser<MerchantCenterLinkingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MerchantCenterLinkingConfig getDefaultInstanceForType()
Returns
Type Description
MerchantCenterLinkingConfig
public MerchantCenterLink getLinks(int index)

Links between Merchant Center accounts and branches.

repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterLink

getLinksCount()

public int getLinksCount()

Links between Merchant Center accounts and branches.

repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;

Returns
Type Description
int
public List<MerchantCenterLink> getLinksList()

Links between Merchant Center accounts and branches.

repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;

Returns
Type Description
List<MerchantCenterLink>

getLinksOrBuilder(int index)

public MerchantCenterLinkOrBuilder getLinksOrBuilder(int index)

Links between Merchant Center accounts and branches.

repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterLinkOrBuilder

getLinksOrBuilderList()

public List<? extends MerchantCenterLinkOrBuilder> getLinksOrBuilderList()

Links between Merchant Center accounts and branches.

repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.MerchantCenterLinkOrBuilder>

getParserForType()

public Parser<MerchantCenterLinkingConfig> getParserForType()
Returns
Type Description
Parser<MerchantCenterLinkingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MerchantCenterLinkingConfig.Builder newBuilderForType()
Returns
Type Description
MerchantCenterLinkingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MerchantCenterLinkingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MerchantCenterLinkingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MerchantCenterLinkingConfig.Builder toBuilder()
Returns
Type Description
MerchantCenterLinkingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException