public static final class GoogleAnalyticsLink.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public GoogleAnalyticsLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GoogleAnalyticsLink build()
public GoogleAnalyticsLink buildPartial()
public GoogleAnalyticsLink.Builder clear()
Overrides
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];
public GoogleAnalyticsLink.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public GoogleAnalyticsLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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];
public GoogleAnalyticsLink.Builder clone()
Overrides
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];
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];
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];
public GoogleAnalyticsLink getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public GoogleAnalyticsLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public GoogleAnalyticsLink.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public GoogleAnalyticsLink.Builder mergeFrom(GoogleAnalyticsLink other)
public final GoogleAnalyticsLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
public GoogleAnalyticsLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The property to set.
|
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 |
ByteString
The bytes for property to set.
|
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 |
long
The propertyId to set.
|
public GoogleAnalyticsLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final GoogleAnalyticsLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides