Class UpdateAttributionSettingsRequest.Builder (0.23.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAttributionSettingsRequest build()
Returns
TypeDescription
UpdateAttributionSettingsRequest

buildPartial()

public UpdateAttributionSettingsRequest buildPartial()
Returns
TypeDescription
UpdateAttributionSettingsRequest

clear()

public UpdateAttributionSettingsRequest.Builder clear()
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];

clearField(Descriptors.FieldDescriptor field)

public UpdateAttributionSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAttributionSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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];

clone()

public UpdateAttributionSettingsRequest.Builder clone()
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
TypeDescription
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
TypeDescription
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
TypeDescription
AttributionSettingsOrBuilder

getDefaultInstanceForType()

public UpdateAttributionSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAttributionSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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

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

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
NameDescription
valueAttributionSettings

mergeFrom(UpdateAttributionSettingsRequest other)

public UpdateAttributionSettingsRequest.Builder mergeFrom(UpdateAttributionSettingsRequest other)
Parameter
NameDescription
otherUpdateAttributionSettingsRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateAttributionSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
valueAttributionSettings

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
NameDescription
builderForValueAttributionSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributionSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
builderForValueBuilder