Class ReplaceValueConfig.Builder (3.50.0)

public static final class ReplaceValueConfig.Builder extends GeneratedMessageV3.Builder<ReplaceValueConfig.Builder> implements ReplaceValueConfigOrBuilder

Replace each input value with a given Value.

Protobuf type google.privacy.dlp.v2.ReplaceValueConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceValueConfig build()
Returns
Type Description
ReplaceValueConfig

buildPartial()

public ReplaceValueConfig buildPartial()
Returns
Type Description
ReplaceValueConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNewValue()

public ReplaceValueConfig.Builder clearNewValue()

Value to replace it with.

.google.privacy.dlp.v2.Value new_value = 1;

Returns
Type Description
ReplaceValueConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReplaceValueConfig getDefaultInstanceForType()
Returns
Type Description
ReplaceValueConfig

getDescriptorForType()

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

getNewValue()

public Value getNewValue()

Value to replace it with.

.google.privacy.dlp.v2.Value new_value = 1;

Returns
Type Description
Value

The newValue.

getNewValueBuilder()

public Value.Builder getNewValueBuilder()

Value to replace it with.

.google.privacy.dlp.v2.Value new_value = 1;

Returns
Type Description
Value.Builder

getNewValueOrBuilder()

public ValueOrBuilder getNewValueOrBuilder()

Value to replace it with.

.google.privacy.dlp.v2.Value new_value = 1;

Returns
Type Description
ValueOrBuilder

hasNewValue()