public final class MerchantCenterLinkingConfig extends GeneratedMessage implements MerchantCenterLinkingConfigOrBuilderConfigures 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MerchantCenterLinkingConfigImplements
MerchantCenterLinkingConfigOrBuilderStatic Fields
LINKS_FIELD_NUMBER
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 |
|
getDefaultInstanceForType()
public MerchantCenterLinkingConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MerchantCenterLinkingConfig |
|
getLinks(int index)
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 |
|
getLinksList()
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public MerchantCenterLinkingConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
MerchantCenterLinkingConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MerchantCenterLinkingConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
MerchantCenterLinkingConfig.Builder |
|
toBuilder()
public MerchantCenterLinkingConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
MerchantCenterLinkingConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|