Class UpdateEnhancedMeasurementSettingsRequest.Builder (0.34.0)

public static final class UpdateEnhancedMeasurementSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateEnhancedMeasurementSettingsRequest.Builder> implements UpdateEnhancedMeasurementSettingsRequestOrBuilder

Request message for UpdateEnhancedMeasurementSettings RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEnhancedMeasurementSettingsRequest build()
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest

buildPartial()

public UpdateEnhancedMeasurementSettingsRequest buildPartial()
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest

clear()

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

clearEnhancedMeasurementSettings()

public UpdateEnhancedMeasurementSettingsRequest.Builder clearEnhancedMeasurementSettings()

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEnhancedMeasurementSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder
Overrides

clearUpdateMask()

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

clone()

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

getDefaultInstanceForType()

public UpdateEnhancedMeasurementSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnhancedMeasurementSettings()

public EnhancedMeasurementSettings getEnhancedMeasurementSettings()

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EnhancedMeasurementSettings

The enhancedMeasurementSettings.

getEnhancedMeasurementSettingsBuilder()

public EnhancedMeasurementSettings.Builder getEnhancedMeasurementSettingsBuilder()

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EnhancedMeasurementSettings.Builder

getEnhancedMeasurementSettingsOrBuilder()

public EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder()

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EnhancedMeasurementSettingsOrBuilder

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

hasEnhancedMeasurementSettings()

public boolean hasEnhancedMeasurementSettings()

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

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

mergeEnhancedMeasurementSettings(EnhancedMeasurementSettings value)

public UpdateEnhancedMeasurementSettingsRequest.Builder mergeEnhancedMeasurementSettings(EnhancedMeasurementSettings value)

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEnhancedMeasurementSettings
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder

mergeFrom(UpdateEnhancedMeasurementSettingsRequest other)

public UpdateEnhancedMeasurementSettingsRequest.Builder mergeFrom(UpdateEnhancedMeasurementSettingsRequest other)
Parameter
NameDescription
otherUpdateEnhancedMeasurementSettingsRequest
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateEnhancedMeasurementSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEnhancedMeasurementSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

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

setEnhancedMeasurementSettings(EnhancedMeasurementSettings value)

public UpdateEnhancedMeasurementSettingsRequest.Builder setEnhancedMeasurementSettings(EnhancedMeasurementSettings value)

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEnhancedMeasurementSettings
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder

setEnhancedMeasurementSettings(EnhancedMeasurementSettings.Builder builderForValue)

public UpdateEnhancedMeasurementSettingsRequest.Builder setEnhancedMeasurementSettings(EnhancedMeasurementSettings.Builder builderForValue)

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

.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEnhancedMeasurementSettings.Builder
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEnhancedMeasurementSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateEnhancedMeasurementSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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