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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceValueConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReplaceValueConfig build()
Returns
buildPartial()
public ReplaceValueConfig buildPartial()
Returns
clear()
public ReplaceValueConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReplaceValueConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNewValue()
public ReplaceValueConfig.Builder clearNewValue()
Value to replace it with.
.google.privacy.dlp.v2.Value new_value = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceValueConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ReplaceValueConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReplaceValueConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getNewValueOrBuilder()
public ValueOrBuilder getNewValueOrBuilder()
Value to replace it with.
.google.privacy.dlp.v2.Value new_value = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReplaceValueConfig other)
public ReplaceValueConfig.Builder mergeFrom(ReplaceValueConfig other)
Parameter
Returns
public ReplaceValueConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplaceValueConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceValueConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceValueConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceValueConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceValueConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides