Class CreateAnalyticsAccountLinkRequest.Builder (0.4.0)

public static final class CreateAnalyticsAccountLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateAnalyticsAccountLinkRequest.Builder> implements CreateAnalyticsAccountLinkRequestOrBuilder

Request message for CreateAnalyticsAccountLink RPC.

Protobuf type google.marketingplatform.admin.v1alpha.CreateAnalyticsAccountLinkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAnalyticsAccountLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

build()

public CreateAnalyticsAccountLinkRequest build()
Returns
Type Description
CreateAnalyticsAccountLinkRequest

buildPartial()

public CreateAnalyticsAccountLinkRequest buildPartial()
Returns
Type Description
CreateAnalyticsAccountLinkRequest

clear()

public CreateAnalyticsAccountLinkRequest.Builder clear()
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides
public CreateAnalyticsAccountLinkRequest.Builder clearAnalyticsAccountLink()

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateAnalyticsAccountLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAnalyticsAccountLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

clearParent()

public CreateAnalyticsAccountLinkRequest.Builder clearParent()

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

This builder for chaining.

clone()

public CreateAnalyticsAccountLinkRequest.Builder clone()
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides
public AnalyticsAccountLink getAnalyticsAccountLink()

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalyticsAccountLink

The analyticsAccountLink.

getAnalyticsAccountLinkBuilder()

public AnalyticsAccountLink.Builder getAnalyticsAccountLinkBuilder()

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalyticsAccountLink.Builder

getAnalyticsAccountLinkOrBuilder()

public AnalyticsAccountLinkOrBuilder getAnalyticsAccountLinkOrBuilder()

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalyticsAccountLinkOrBuilder

getDefaultInstanceForType()

public CreateAnalyticsAccountLinkRequest getDefaultInstanceForType()
Returns
Type Description
CreateAnalyticsAccountLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

public boolean hasAnalyticsAccountLink()

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the analyticsAccountLink field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public CreateAnalyticsAccountLinkRequest.Builder mergeAnalyticsAccountLink(AnalyticsAccountLink value)

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnalyticsAccountLink
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

mergeFrom(CreateAnalyticsAccountLinkRequest other)

public CreateAnalyticsAccountLinkRequest.Builder mergeFrom(CreateAnalyticsAccountLinkRequest other)
Parameter
Name Description
other CreateAnalyticsAccountLinkRequest
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAnalyticsAccountLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateAnalyticsAccountLinkRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAnalyticsAccountLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides
public CreateAnalyticsAccountLinkRequest.Builder setAnalyticsAccountLink(AnalyticsAccountLink value)

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnalyticsAccountLink
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
public CreateAnalyticsAccountLinkRequest.Builder setAnalyticsAccountLink(AnalyticsAccountLink.Builder builderForValue)

Required. The Analytics account link to create.

.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AnalyticsAccountLink.Builder
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAnalyticsAccountLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

setParent(String value)

public CreateAnalyticsAccountLinkRequest.Builder setParent(String value)

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAnalyticsAccountLinkRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateAnalyticsAccountLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAnalyticsAccountLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAnalyticsAccountLinkRequest.Builder
Overrides