Class AnalyticsAccountLink (0.19.0)

publicfinalclass AnalyticsAccountLinkextendsGeneratedMessageV3implementsAnalyticsAccountLinkOrBuilder

A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.

Protobuf type google.marketingplatform.admin.v1alpha.AnalyticsAccountLink

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

publicstaticfinalintANALYTICS_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintLINK_VERIFICATION_STATE_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

publicstaticAnalyticsAccountLinkgetDefaultInstance()
Returns
Type Description
AnalyticsAccountLink
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor
publicstaticAnalyticsAccountLink.BuildernewBuilder()
Returns
Type Description
AnalyticsAccountLink.Builder
publicstaticAnalyticsAccountLink.BuildernewBuilder(AnalyticsAccountLinkprototype)
Parameter
Name Description
prototype AnalyticsAccountLink
Returns
Type Description
AnalyticsAccountLink.Builder
publicstaticAnalyticsAccountLinkparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticAnalyticsAccountLinkparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticAnalyticsAccountLinkparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticAnalyticsAccountLinkparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticAnalyticsAccountLinkparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
IOException
publicstaticAnalyticsAccountLinkparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticAnalyticsAccountLinkparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsAccountLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticParser<AnalyticsAccountLink>parser()
Returns
Type Description
Parser<AnalyticsAccountLink>

Methods

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
publicStringgetAnalyticsAccount()

Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name.

Format: analyticsadmin.googleapis.com/accounts/{account_id}

string analytics_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The analyticsAccount.

publicByteStringgetAnalyticsAccountBytes()

Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name.

Format: analyticsadmin.googleapis.com/accounts/{account_id}

string analytics_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for analyticsAccount.

publicAnalyticsAccountLinkgetDefaultInstanceForType()
Returns
Type Description
AnalyticsAccountLink
publicStringgetDisplayName()

Output only. The human-readable name for the Analytics account.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

publicByteStringgetDisplayNameBytes()

Output only. The human-readable name for the Analytics account.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

publicLinkVerificationStategetLinkVerificationState()

Output only. The verification state of the link between the Analytics account and the parent organization.

.google.marketingplatform.admin.v1alpha.LinkVerificationState link_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LinkVerificationState

The linkVerificationState.

publicintgetLinkVerificationStateValue()

Output only. The verification state of the link between the Analytics account and the parent organization.

.google.marketingplatform.admin.v1alpha.LinkVerificationState link_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for linkVerificationState.

publicStringgetName()

Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account.

Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: "organizations/xyz/analyticsAccountLinks/1234"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

publicByteStringgetNameBytes()

Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account.

Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: "organizations/xyz/analyticsAccountLinks/1234"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

publicParser<AnalyticsAccountLink>getParserForType()
Returns
Type Description
Parser<AnalyticsAccountLink>
Overrides
publicintgetSerializedSize()
Returns
Type Description
int
Overrides
publicinthashCode()
Returns
Type Description
int
Overrides
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides
publicAnalyticsAccountLink.BuildernewBuilderForType()
Returns
Type Description
AnalyticsAccountLink.Builder
protectedAnalyticsAccountLink.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyticsAccountLink.Builder
Overrides
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
publicAnalyticsAccountLink.BuildertoBuilder()
Returns
Type Description
AnalyticsAccountLink.Builder
publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.