Class CreateGoogleAdsLinkRequest.Builder (0.59.0)

public static final class CreateGoogleAdsLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateGoogleAdsLinkRequest.Builder> implements CreateGoogleAdsLinkRequestOrBuilder

Request message for CreateGoogleAdsLink RPC

Protobuf type google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateGoogleAdsLinkRequest build()
Returns
Type Description
CreateGoogleAdsLinkRequest

buildPartial()

public CreateGoogleAdsLinkRequest buildPartial()
Returns
Type Description
CreateGoogleAdsLinkRequest

clear()

public CreateGoogleAdsLinkRequest.Builder clear()
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateGoogleAdsLinkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateGoogleAdsLinkRequest.Builder clearParent()

Required. Example format: properties/1234

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

Returns
Type Description
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

clone()

public CreateGoogleAdsLinkRequest.Builder clone()
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateGoogleAdsLinkRequest getDefaultInstanceForType()
Returns
Type Description
CreateGoogleAdsLinkRequest

getDescriptorForType()

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

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkBuilder()

public GoogleAdsLink.Builder getGoogleAdsLinkBuilder()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleAdsLink.Builder

getGoogleAdsLinkOrBuilder()

public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleAdsLinkOrBuilder

getParent()

public String getParent()

Required. Example format: properties/1234

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Example format: properties/1234

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

Returns
Type Description
ByteString

The bytes for parent.

public boolean hasGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the googleAdsLink field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateGoogleAdsLinkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder
Overrides
public CreateGoogleAdsLinkRequest.Builder mergeGoogleAdsLink(GoogleAdsLink value)

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoogleAdsLink
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateGoogleAdsLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoogleAdsLink
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder
public CreateGoogleAdsLinkRequest.Builder setGoogleAdsLink(GoogleAdsLink.Builder builderForValue)

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GoogleAdsLink.Builder
Returns
Type Description
CreateGoogleAdsLinkRequest.Builder

setParent(String value)

public CreateGoogleAdsLinkRequest.Builder setParent(String value)

Required. Example format: properties/1234

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateGoogleAdsLinkRequest.Builder setParentBytes(ByteString value)

Required. Example format: properties/1234

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
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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