public final class GoogleAnalyticsLink extends GeneratedMessageV3 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
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GoogleAnalyticsLinkImplements
GoogleAnalyticsLinkOrBuilderStatic Fields
ATTRIBUTION_SETTINGS_FIELD_NUMBER
public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROPERTY_ID_FIELD_NUMBER
public static final int PROPERTY_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GoogleAnalyticsLink getDefaultInstance()
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static GoogleAnalyticsLink.Builder newBuilder()
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink.Builder |
newBuilder(GoogleAnalyticsLink prototype)
public static GoogleAnalyticsLink.Builder newBuilder(GoogleAnalyticsLink prototype)
Parameter | |
---|---|
Name | Description |
prototype |
GoogleAnalyticsLink |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink.Builder |
parseDelimitedFrom(InputStream input)
public static GoogleAnalyticsLink parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static GoogleAnalyticsLink parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GoogleAnalyticsLink parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GoogleAnalyticsLink parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static GoogleAnalyticsLink parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GoogleAnalyticsLink parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GoogleAnalyticsLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GoogleAnalyticsLink> parser()
Returns | |
---|---|
Type | Description |
Parser<GoogleAnalyticsLink> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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. |
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 |
getParserForType()
public Parser<GoogleAnalyticsLink> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<GoogleAnalyticsLink> |
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. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public GoogleAnalyticsLink.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GoogleAnalyticsLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public GoogleAnalyticsLink.Builder toBuilder()
Returns | |
---|---|
Type | Description |
GoogleAnalyticsLink.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |