Send feedback
Class AnalyticsAccountLink (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class AnalyticsAccountLink extends GeneratedMessageV3 implements AnalyticsAccountLinkOrBuilder
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
public static final int ANALYTICS_ACCOUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LINK_VERIFICATION_STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AnalyticsAccountLink getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AnalyticsAccountLink . Builder newBuilder ()
public static AnalyticsAccountLink . Builder newBuilder ( AnalyticsAccountLink prototype )
public static AnalyticsAccountLink parseDelimitedFrom ( InputStream input )
public static AnalyticsAccountLink parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AnalyticsAccountLink parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AnalyticsAccountLink parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AnalyticsAccountLink parseFrom ( ByteString data )
public static AnalyticsAccountLink parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AnalyticsAccountLink parseFrom ( CodedInputStream input )
public static AnalyticsAccountLink parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AnalyticsAccountLink parseFrom ( InputStream input )
public static AnalyticsAccountLink parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AnalyticsAccountLink parseFrom ( ByteBuffer data )
public static AnalyticsAccountLink parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AnalyticsAccountLink> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getAnalyticsAccount ()
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.
public ByteString getAnalyticsAccountBytes ()
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.
public AnalyticsAccountLink getDefaultInstanceForType ()
public String getDisplayName ()
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.
public ByteString getDisplayNameBytes ()
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.
public LinkVerificationState getLinkVerificationState ()
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];
public int getLinkVerificationStateValue ()
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.
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.
public ByteString getNameBytes ()
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.
public Parser<AnalyticsAccountLink> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AnalyticsAccountLink . Builder newBuilderForType ()
protected AnalyticsAccountLink . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AnalyticsAccountLink . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]