Class ReplaceValueConfig (3.50.0)

public final class ReplaceValueConfig extends GeneratedMessageV3 implements ReplaceValueConfigOrBuilder

Replace each input value with a given Value.

Protobuf type google.privacy.dlp.v2.ReplaceValueConfig

Static Fields

NEW_VALUE_FIELD_NUMBER

public static final int NEW_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReplaceValueConfig getDefaultInstance()
Returns
Type Description
ReplaceValueConfig

getDescriptor()

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

newBuilder()

public static ReplaceValueConfig.Builder newBuilder()
Returns
Type Description
ReplaceValueConfig.Builder

newBuilder(ReplaceValueConfig prototype)

public static ReplaceValueConfig.Builder newBuilder(ReplaceValueConfig prototype)
Parameter
Name Description
prototype ReplaceValueConfig
Returns
Type Description
ReplaceValueConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReplaceValueConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReplaceValueConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplaceValueConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplaceValueConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReplaceValueConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReplaceValueConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplaceValueConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceValueConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReplaceValueConfig> parser()
Returns
Type Description
Parser<ReplaceValueConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReplaceValueConfig getDefaultInstanceForType()
Returns
Type Description
ReplaceValueConfig

getNewValue()

public Value getNewValue()

Value to replace it with.

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

Returns
Type Description
Value

The newValue.

getNewValueOrBuilder()

public ValueOrBuilder getNewValueOrBuilder()

Value to replace it with.

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

Returns
Type Description
ValueOrBuilder

getParserForType()

public Parser<ReplaceValueConfig> getParserForType()
Returns
Type Description
Parser<ReplaceValueConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReplaceValueConfig.Builder newBuilderForType()
Returns
Type Description
ReplaceValueConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplaceValueConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReplaceValueConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReplaceValueConfig.Builder toBuilder()
Returns
Type Description
ReplaceValueConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException