public static final class AnalyticsAccountLink.Builder extends GeneratedMessageV3.Builder<AnalyticsAccountLink.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyticsAccountLink.BuilderImplements
AnalyticsAccountLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyticsAccountLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
build()
public AnalyticsAccountLink build()
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink |
buildPartial()
public AnalyticsAccountLink buildPartial()
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink |
clear()
public AnalyticsAccountLink.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
clearAnalyticsAccount()
public AnalyticsAccountLink.Builder clearAnalyticsAccount()
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 |
AnalyticsAccountLink.Builder |
This builder for chaining. |
clearDisplayName()
public AnalyticsAccountLink.Builder clearDisplayName()
Output only. The human-readable name for the Analytics account.
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalyticsAccountLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
clearLinkVerificationState()
public AnalyticsAccountLink.Builder clearLinkVerificationState()
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 |
AnalyticsAccountLink.Builder |
This builder for chaining. |
clearName()
public AnalyticsAccountLink.Builder clearName()
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 |
AnalyticsAccountLink.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyticsAccountLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
clone()
public AnalyticsAccountLink.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
getAnalyticsAccount()
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. |
getAnalyticsAccountBytes()
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. |
getDefaultInstanceForType()
public AnalyticsAccountLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
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. |
getDisplayNameBytes()
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. |
getLinkVerificationState()
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];
Returns | |
---|---|
Type | Description |
LinkVerificationState |
The linkVerificationState. |
getLinkVerificationStateValue()
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. |
getName()
public String getName()
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. |
getNameBytes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyticsAccountLink other)
public AnalyticsAccountLink.Builder mergeFrom(AnalyticsAccountLink other)
Parameter | |
---|---|
Name | Description |
other |
AnalyticsAccountLink |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyticsAccountLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyticsAccountLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyticsAccountLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
setAnalyticsAccount(String value)
public AnalyticsAccountLink.Builder setAnalyticsAccount(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The analyticsAccount to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setAnalyticsAccountBytes(ByteString value)
public AnalyticsAccountLink.Builder setAnalyticsAccountBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for analyticsAccount to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setDisplayName(String value)
public AnalyticsAccountLink.Builder setDisplayName(String value)
Output only. The human-readable name for the Analytics account.
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AnalyticsAccountLink.Builder setDisplayNameBytes(ByteString value)
Output only. The human-readable name for the Analytics account.
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyticsAccountLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
setLinkVerificationState(LinkVerificationState value)
public AnalyticsAccountLink.Builder setLinkVerificationState(LinkVerificationState value)
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];
Parameter | |
---|---|
Name | Description |
value |
LinkVerificationState The linkVerificationState to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setLinkVerificationStateValue(int value)
public AnalyticsAccountLink.Builder setLinkVerificationStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for linkVerificationState to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setName(String value)
public AnalyticsAccountLink.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AnalyticsAccountLink.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyticsAccountLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyticsAccountLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink.Builder |