public static final class GoogleAnalyticsLink.Builder extends GeneratedMessage.Builder<GoogleAnalyticsLink.Builder> implements GoogleAnalyticsLinkOrBuilder"Google Analytics Link" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.
Protobuf type google.shopping.merchant.conversions.v1beta.GoogleAnalyticsLink
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GoogleAnalyticsLink.BuilderImplements
GoogleAnalyticsLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GoogleAnalyticsLink build()| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink |
|
buildPartial()
public GoogleAnalyticsLink buildPartial()| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink |
|
clear()
public GoogleAnalyticsLink.Builder clear()| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
clearAttributionSettings()
public GoogleAnalyticsLink.Builder clearAttributionSettings()Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
clearProperty()
public GoogleAnalyticsLink.Builder clearProperty()Output only. Name of the Google Analytics property the merchant is linked to.
string property = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
This builder for chaining. |
clearPropertyId()
public GoogleAnalyticsLink.Builder clearPropertyId()Required. Immutable. ID of the Google Analytics property the merchant is linked to.
int64 property_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
This builder for chaining. |
getAttributionSettings()
public AttributionSettings getAttributionSettings()Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AttributionSettings |
The attributionSettings. |
getAttributionSettingsBuilder()
public AttributionSettings.Builder getAttributionSettingsBuilder()Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.Builder |
|
getAttributionSettingsOrBuilder()
public AttributionSettingsOrBuilder getAttributionSettingsOrBuilder()Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AttributionSettingsOrBuilder |
|
getDefaultInstanceForType()
public GoogleAnalyticsLink getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProperty()
public String getProperty()Output only. Name of the Google Analytics property the merchant is linked to.
string property = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The property. |
getPropertyBytes()
public ByteString getPropertyBytes()Output only. Name of the Google Analytics property the merchant is linked to.
string property = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for property. |
getPropertyId()
public long getPropertyId()Required. Immutable. ID of the Google Analytics property the merchant is linked to.
int64 property_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
long |
The propertyId. |
hasAttributionSettings()
public boolean hasAttributionSettings()Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the attributionSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttributionSettings(AttributionSettings value)
public GoogleAnalyticsLink.Builder mergeAttributionSettings(AttributionSettings value)Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AttributionSettings |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GoogleAnalyticsLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GoogleAnalyticsLink.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
mergeFrom(GoogleAnalyticsLink other)
public GoogleAnalyticsLink.Builder mergeFrom(GoogleAnalyticsLink other)| Parameter | |
|---|---|
| Name | Description |
other |
GoogleAnalyticsLink |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
setAttributionSettings(AttributionSettings value)
public GoogleAnalyticsLink.Builder setAttributionSettings(AttributionSettings value)Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AttributionSettings |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
setAttributionSettings(AttributionSettings.Builder builderForValue)
public GoogleAnalyticsLink.Builder setAttributionSettings(AttributionSettings.Builder builderForValue)Output only. Attribution settings for the linked Google Analytics property.
.google.shopping.merchant.conversions.v1beta.AttributionSettings attribution_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttributionSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
|
setProperty(String value)
public GoogleAnalyticsLink.Builder setProperty(String value)Output only. Name of the Google Analytics property the merchant is linked to.
string property = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe property to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
This builder for chaining. |
setPropertyBytes(ByteString value)
public GoogleAnalyticsLink.Builder setPropertyBytes(ByteString value)Output only. Name of the Google Analytics property the merchant is linked to.
string property = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for property to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
This builder for chaining. |
setPropertyId(long value)
public GoogleAnalyticsLink.Builder setPropertyId(long value)Required. Immutable. ID of the Google Analytics property the merchant is linked to.
int64 property_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe propertyId to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleAnalyticsLink.Builder |
This builder for chaining. |