Class MerchantCenterLinkingConfig (2.39.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static MerchantCenterLinkingConfig getDefaultInstance()
Returns
TypeDescription
MerchantCenterLinkingConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MerchantCenterLinkingConfig.Builder newBuilder()
Returns
TypeDescription
MerchantCenterLinkingConfig.Builder

newBuilder(MerchantCenterLinkingConfig prototype)

public static MerchantCenterLinkingConfig.Builder newBuilder(MerchantCenterLinkingConfig prototype)
Parameter
NameDescription
prototypeMerchantCenterLinkingConfig
Returns
TypeDescription
MerchantCenterLinkingConfig.Builder

parseDelimitedFrom(InputStream input)

public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MerchantCenterLinkingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MerchantCenterLinkingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MerchantCenterLinkingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterLinkingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MerchantCenterLinkingConfig> parser()
Returns
TypeDescription
Parser<MerchantCenterLinkingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MerchantCenterLinkingConfig getDefaultInstanceForType()
Returns
TypeDescription
MerchantCenterLinkingConfig
public MerchantCenterLink getLinks(int index)

Links between Merchant Center accounts and branches.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterLink

getLinksCount()

public int getLinksCount()

Links between Merchant Center accounts and branches.

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

Returns
TypeDescription
int
public List<MerchantCenterLink> getLinksList()

Links between Merchant Center accounts and branches.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MerchantCenterLinkOrBuilder

getLinksOrBuilderList()

public List<? extends MerchantCenterLinkOrBuilder> getLinksOrBuilderList()

Links between Merchant Center accounts and branches.

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

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

getParserForType()

public Parser<MerchantCenterLinkingConfig> getParserForType()
Returns
TypeDescription
Parser<MerchantCenterLinkingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MerchantCenterLinkingConfig.Builder newBuilderForType()
Returns
TypeDescription
MerchantCenterLinkingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MerchantCenterLinkingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MerchantCenterLinkingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MerchantCenterLinkingConfig.Builder toBuilder()
Returns
TypeDescription
MerchantCenterLinkingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException