Class UpdateAttributionSettingsRequest.Builder (0.56.0)

public static final class UpdateAttributionSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateAttributionSettingsRequest.Builder> implements UpdateAttributionSettingsRequestOrBuilder

Request message for UpdateAttributionSettings RPC

Protobuf type google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAttributionSettingsRequest build()
Returns
Type Description
UpdateAttributionSettingsRequest

buildPartial()

public UpdateAttributionSettingsRequest buildPartial()
Returns
Type Description
UpdateAttributionSettingsRequest

clear()

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

clearAttributionSettings()

public UpdateAttributionSettingsRequest.Builder clearAttributionSettings()

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAttributionSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAttributionSettingsRequest.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
UpdateAttributionSettingsRequest.Builder

clone()

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

getAttributionSettings()

public AttributionSettings getAttributionSettings()

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributionSettings

The attributionSettings.

getAttributionSettingsBuilder()

public AttributionSettings.Builder getAttributionSettingsBuilder()

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributionSettings.Builder

getAttributionSettingsOrBuilder()

public AttributionSettingsOrBuilder getAttributionSettingsOrBuilder()

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributionSettingsOrBuilder

getDefaultInstanceForType()

public UpdateAttributionSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAttributionSettingsRequest

getDescriptorForType()

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

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

hasAttributionSettings()

public boolean hasAttributionSettings()

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attributionSettings 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

mergeAttributionSettings(AttributionSettings value)

public UpdateAttributionSettingsRequest.Builder mergeAttributionSettings(AttributionSettings value)

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttributionSettings
Returns
Type Description
UpdateAttributionSettingsRequest.Builder

mergeFrom(UpdateAttributionSettingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAttributionSettingsRequest.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
UpdateAttributionSettingsRequest.Builder

setAttributionSettings(AttributionSettings value)

public UpdateAttributionSettingsRequest.Builder setAttributionSettings(AttributionSettings value)

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttributionSettings
Returns
Type Description
UpdateAttributionSettingsRequest.Builder

setAttributionSettings(AttributionSettings.Builder builderForValue)

public UpdateAttributionSettingsRequest.Builder setAttributionSettings(AttributionSettings.Builder builderForValue)

Required. The attribution settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AttributionSettings.Builder
Returns
Type Description
UpdateAttributionSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAttributionSettingsRequest.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
UpdateAttributionSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAttributionSettingsRequest.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
UpdateAttributionSettingsRequest.Builder