Class ReplaceValueConfig.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceValueConfig build()
Returns
TypeDescription
ReplaceValueConfig

buildPartial()

public ReplaceValueConfig buildPartial()
Returns
TypeDescription
ReplaceValueConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNewValue()

public ReplaceValueConfig.Builder clearNewValue()

Value to replace it with.

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

Returns
TypeDescription
ReplaceValueConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReplaceValueConfig getDefaultInstanceForType()
Returns
TypeDescription
ReplaceValueConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNewValue()

public Value getNewValue()

Value to replace it with.

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

Returns
TypeDescription
Value

The newValue.

getNewValueBuilder()

public Value.Builder getNewValueBuilder()

Value to replace it with.

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

Returns
TypeDescription
Value.Builder

getNewValueOrBuilder()

public ValueOrBuilder getNewValueOrBuilder()

Value to replace it with.

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

Returns
TypeDescription
ValueOrBuilder

hasNewValue()

public boolean hasNewValue()

Value to replace it with.

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

Returns
TypeDescription
boolean

Whether the newValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplaceValueConfig other)

public ReplaceValueConfig.Builder mergeFrom(ReplaceValueConfig other)
Parameter
NameDescription
otherReplaceValueConfig
Returns
TypeDescription
ReplaceValueConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReplaceValueConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
ReplaceValueConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReplaceValueConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueValue.Builder
Returns
TypeDescription
ReplaceValueConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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