Class UpdateDataRedactionSettingsRequest.Builder (0.68.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataRedactionSettingsRequest build()
Returns
Type Description
UpdateDataRedactionSettingsRequest

buildPartial()

public UpdateDataRedactionSettingsRequest buildPartial()
Returns
Type Description
UpdateDataRedactionSettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateDataRedactionSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataRedactionSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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];

clone()

public UpdateDataRedactionSettingsRequest.Builder clone()
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
Type Description
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
Type Description
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
Type Description
DataRedactionSettingsOrBuilder

getDefaultInstanceForType()

public UpdateDataRedactionSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataRedactionSettingsRequest

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

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
Type Description
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
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

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
Name Description
value DataRedactionSettings

mergeFrom(UpdateDataRedactionSettingsRequest other)

public UpdateDataRedactionSettingsRequest.Builder mergeFrom(UpdateDataRedactionSettingsRequest other)
Parameter
Name Description
other UpdateDataRedactionSettingsRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateDataRedactionSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataRedactionSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
Name Description
value FieldMask

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
Name Description
value DataRedactionSettings

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
Name Description
builderForValue DataRedactionSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataRedactionSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
Name Description
value FieldMask

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
Name Description
builderForValue Builder