public final class MerchantCenterDestination extends GeneratedMessageV3 implements MerchantCenterDestinationOrBuilder
"Merchant Center Destination" sources can be used to send conversion events
from a website using a Google tag directly to a Merchant Center account
where the source is created.
Protobuf type google.shopping.merchant.conversions.v1beta.MerchantCenterDestination
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CURRENCY_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESTINATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static MerchantCenterDestination getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MerchantCenterDestination.Builder newBuilder()
public static MerchantCenterDestination.Builder newBuilder(MerchantCenterDestination prototype)
public static MerchantCenterDestination parseDelimitedFrom(InputStream input)
public static MerchantCenterDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterDestination parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static MerchantCenterDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterDestination parseFrom(ByteString data)
public static MerchantCenterDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterDestination parseFrom(CodedInputStream input)
public static MerchantCenterDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterDestination parseFrom(InputStream input)
public static MerchantCenterDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantCenterDestination parseFrom(ByteBuffer data)
public static MerchantCenterDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MerchantCenterDestination> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public AttributionSettings getAttributionSettings()
Required. Attribution settings being used for the Merchant Center
Destination.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public AttributionSettingsOrBuilder getAttributionSettingsOrBuilder()
Required. Attribution settings being used for the Merchant Center
Destination.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public String getCurrencyCode()
Required. Three-letter currency code (ISO 4217). The currency code defines
in which currency the conversions sent to this destination will be reported
in Merchant Center.
string currency_code = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The currencyCode.
|
public ByteString getCurrencyCodeBytes()
Required. Three-letter currency code (ISO 4217). The currency code defines
in which currency the conversions sent to this destination will be reported
in Merchant Center.
string currency_code = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for currencyCode.
|
public MerchantCenterDestination getDefaultInstanceForType()
public String getDestination()
Output only. Merchant Center Destination ID.
string destination = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The destination.
|
public ByteString getDestinationBytes()
Output only. Merchant Center Destination ID.
string destination = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for destination.
|
public String getDisplayName()
Required. Merchant-specified display name for the destination. This is the
name that identifies the conversion source within the Merchant Center UI.
Limited to 64 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Required. Merchant-specified display name for the destination. This is the
name that identifies the conversion source within the Merchant Center UI.
Limited to 64 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
public Parser<MerchantCenterDestination> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasAttributionSettings()
Required. Attribution settings being used for the Merchant Center
Destination.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the attributionSettings field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MerchantCenterDestination.Builder newBuilderForType()
protected MerchantCenterDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public MerchantCenterDestination.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides