Class UpdateDataRedactionSettingsRequest.Builder (0.39.0)

public static final class UpdateDataRedactionSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataRedactionSettingsRequest.Builder> implements UpdateDataRedactionSettingsRequestOrBuilder

Request message for UpdateDataRedactionSettings RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataRedactionSettingsRequest build()
Returns
TypeDescription
UpdateDataRedactionSettingsRequest

buildPartial()

public UpdateDataRedactionSettingsRequest buildPartial()
Returns
TypeDescription
UpdateDataRedactionSettingsRequest

clear()

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

clearDataRedactionSettings()

public UpdateDataRedactionSettingsRequest.Builder clearDataRedactionSettings()

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDataRedactionSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

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

clone()

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

getDataRedactionSettings()

public DataRedactionSettings getDataRedactionSettings()

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRedactionSettings

The dataRedactionSettings.

getDataRedactionSettingsBuilder()

public DataRedactionSettings.Builder getDataRedactionSettingsBuilder()

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRedactionSettings.Builder

getDataRedactionSettingsOrBuilder()

public DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder()

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRedactionSettingsOrBuilder

getDefaultInstanceForType()

public UpdateDataRedactionSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataRedactionSettingsRequest

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

hasDataRedactionSettings()

public boolean hasDataRedactionSettings()

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

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

mergeDataRedactionSettings(DataRedactionSettings value)

public UpdateDataRedactionSettingsRequest.Builder mergeDataRedactionSettings(DataRedactionSettings value)

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataRedactionSettings
Returns
TypeDescription
UpdateDataRedactionSettingsRequest.Builder

mergeFrom(UpdateDataRedactionSettingsRequest other)

public UpdateDataRedactionSettingsRequest.Builder mergeFrom(UpdateDataRedactionSettingsRequest other)
Parameter
NameDescription
otherUpdateDataRedactionSettingsRequest
Returns
TypeDescription
UpdateDataRedactionSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

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

setDataRedactionSettings(DataRedactionSettings value)

public UpdateDataRedactionSettingsRequest.Builder setDataRedactionSettings(DataRedactionSettings value)

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataRedactionSettings
Returns
TypeDescription
UpdateDataRedactionSettingsRequest.Builder

setDataRedactionSettings(DataRedactionSettings.Builder builderForValue)

public UpdateDataRedactionSettingsRequest.Builder setDataRedactionSettings(DataRedactionSettings.Builder builderForValue)

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

.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDataRedactionSettings.Builder
Returns
TypeDescription
UpdateDataRedactionSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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