Class UpdateGoogleAdsLinkRequest.Builder (0.54.0)

public static final class UpdateGoogleAdsLinkRequest.Builder extends GeneratedMessageV3.Builder<UpdateGoogleAdsLinkRequest.Builder> implements UpdateGoogleAdsLinkRequestOrBuilder

Request message for UpdateGoogleAdsLink RPC

Protobuf type google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGoogleAdsLinkRequest build()
Returns
Type Description
UpdateGoogleAdsLinkRequest

buildPartial()

public UpdateGoogleAdsLinkRequest buildPartial()
Returns
Type Description
UpdateGoogleAdsLinkRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateGoogleAdsLinkRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateGoogleAdsLinkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGoogleAdsLinkRequest

getDescriptorForType()

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

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Returns
Type Description
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkBuilder()

public GoogleAdsLink.Builder getGoogleAdsLinkBuilder()

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Returns
Type Description
GoogleAdsLink.Builder

getGoogleAdsLinkOrBuilder()

public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Returns
Type Description
GoogleAdsLinkOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder
public boolean hasGoogleAdsLink()

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Returns
Type Description
boolean

Whether the googleAdsLink field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateGoogleAdsLinkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

Parameter
Name Description
value GoogleAdsLink
Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateGoogleAdsLinkRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

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

The GoogleAdsLink to update

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateGoogleAdsLinkRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGoogleAdsLinkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGoogleAdsLinkRequest.Builder