Class UpdateGoogleAdsLinkRequest.Builder (0.30.0)

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

Request message for UpdateGoogleAdsLink RPC

Protobuf type google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateGoogleAdsLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides

build()

public UpdateGoogleAdsLinkRequest build()
Returns
TypeDescription
UpdateGoogleAdsLinkRequest

buildPartial()

public UpdateGoogleAdsLinkRequest buildPartial()
Returns
TypeDescription
UpdateGoogleAdsLinkRequest

clear()

public UpdateGoogleAdsLinkRequest.Builder clear()
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateGoogleAdsLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides
public UpdateGoogleAdsLinkRequest.Builder clearGoogleAdsLink()

The GoogleAdsLink to update

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

Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateGoogleAdsLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

clone()

public UpdateGoogleAdsLinkRequest.Builder clone()
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateGoogleAdsLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateGoogleAdsLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public GoogleAdsLink getGoogleAdsLink()

The GoogleAdsLink to update

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

Returns
TypeDescription
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkBuilder()

public GoogleAdsLink.Builder getGoogleAdsLinkBuilder()

The GoogleAdsLink to update

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

Returns
TypeDescription
GoogleAdsLink.Builder

getGoogleAdsLinkOrBuilder()

public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()

The GoogleAdsLink to update

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder
public boolean hasGoogleAdsLink()

The GoogleAdsLink to update

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateGoogleAdsLinkRequest other)

public UpdateGoogleAdsLinkRequest.Builder mergeFrom(UpdateGoogleAdsLinkRequest other)
Parameter
NameDescription
otherUpdateGoogleAdsLinkRequest
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateGoogleAdsLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides
public UpdateGoogleAdsLinkRequest.Builder mergeGoogleAdsLink(GoogleAdsLink value)

The GoogleAdsLink to update

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

Parameter
NameDescription
valueGoogleAdsLink
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGoogleAdsLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateGoogleAdsLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides
public UpdateGoogleAdsLinkRequest.Builder setGoogleAdsLink(GoogleAdsLink value)

The GoogleAdsLink to update

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

Parameter
NameDescription
valueGoogleAdsLink
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
public UpdateGoogleAdsLinkRequest.Builder setGoogleAdsLink(GoogleAdsLink.Builder builderForValue)

The GoogleAdsLink to update

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

Parameter
NameDescription
builderForValueGoogleAdsLink.Builder
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder

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

public UpdateGoogleAdsLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGoogleAdsLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateGoogleAdsLinkRequest.Builder