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
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MerchantCenterLinkingConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MerchantCenterLinkingConfig.Builder newBuilder()
newBuilder(MerchantCenterLinkingConfig prototype)
public static MerchantCenterLinkingConfig.Builder newBuilder(MerchantCenterLinkingConfig prototype)
public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input)
public static MerchantCenterLinkingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MerchantCenterLinkingConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MerchantCenterLinkingConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input)
public static MerchantCenterLinkingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(InputStream input)
public static MerchantCenterLinkingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterLinkingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MerchantCenterLinkingConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public MerchantCenterLinkingConfig getDefaultInstanceForType()
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
|
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;
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
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MerchantCenterLinkingConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MerchantCenterLinkingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MerchantCenterLinkingConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides