Class ReplaceValueConfig.Builder (3.46.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()

public boolean hasNewValue()

Value to replace it with.

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

Returns
Type Description
boolean

Whether the newValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplaceValueConfig other)

public ReplaceValueConfig.Builder mergeFrom(ReplaceValueConfig other)
Parameter
Name Description
other ReplaceValueConfig
Returns
Type Description
ReplaceValueConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReplaceValueConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReplaceValueConfig.Builder
Overrides

mergeNewValue(Value value)

public ReplaceValueConfig.Builder mergeNewValue(Value value)

Value to replace it with.

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

Parameter
Name Description
value Value
Returns
Type Description
ReplaceValueConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceValueConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplaceValueConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNewValue(Value value)

public ReplaceValueConfig.Builder setNewValue(Value value)

Value to replace it with.

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

Parameter
Name Description
value Value
Returns
Type Description
ReplaceValueConfig.Builder

setNewValue(Value.Builder builderForValue)

public ReplaceValueConfig.Builder setNewValue(Value.Builder builderForValue)

Value to replace it with.

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

Parameter
Name Description
builderForValue Value.Builder
Returns
Type Description
ReplaceValueConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceValueConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplaceValueConfig.Builder
Overrides