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.v2beta.MerchantCenterLinkingConfig
Static Fields
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MerchantCenterLinkingConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MerchantCenterLinkingConfig.Builder newBuilder()
Returns
newBuilder(MerchantCenterLinkingConfig prototype)
public static MerchantCenterLinkingConfig.Builder newBuilder(MerchantCenterLinkingConfig prototype)
Parameter
Returns
public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MerchantCenterLinkingConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MerchantCenterLinkingConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MerchantCenterLinkingConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MerchantCenterLinkingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MerchantCenterLinkingConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public MerchantCenterLinkingConfig getDefaultInstanceForType()
Returns
getLinks(int index)
public MerchantCenterLink getLinks(int index)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Parameter
Returns
getLinksCount()
public int getLinksCount()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
getLinksList()
public List<MerchantCenterLink> getLinksList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
getLinksOrBuilder(int index)
public MerchantCenterLinkOrBuilder getLinksOrBuilder(int index)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Parameter
Returns
getLinksOrBuilderList()
public List<? extends MerchantCenterLinkOrBuilder> getLinksOrBuilderList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
Type | Description |
List<? extends com.google.cloud.retail.v2beta.MerchantCenterLinkOrBuilder> | |
getParserForType()
public Parser<MerchantCenterLinkingConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MerchantCenterLinkingConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MerchantCenterLinkingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MerchantCenterLinkingConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions