Class ReplaceWithInfoTypeConfig (3.6.6)

public final class ReplaceWithInfoTypeConfig extends GeneratedMessageV3 implements ReplaceWithInfoTypeConfigOrBuilder

Replace each matching finding with the name of the info_type.

Protobuf type google.privacy.dlp.v2.ReplaceWithInfoTypeConfig

Static Methods

getDefaultInstance()

public static ReplaceWithInfoTypeConfig getDefaultInstance()
Returns
TypeDescription
ReplaceWithInfoTypeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReplaceWithInfoTypeConfig.Builder newBuilder()
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

newBuilder(ReplaceWithInfoTypeConfig prototype)

public static ReplaceWithInfoTypeConfig.Builder newBuilder(ReplaceWithInfoTypeConfig prototype)
Parameter
NameDescription
prototypeReplaceWithInfoTypeConfig
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReplaceWithInfoTypeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReplaceWithInfoTypeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplaceWithInfoTypeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplaceWithInfoTypeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReplaceWithInfoTypeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReplaceWithInfoTypeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplaceWithInfoTypeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReplaceWithInfoTypeConfig> parser()
Returns
TypeDescription
Parser<ReplaceWithInfoTypeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReplaceWithInfoTypeConfig getDefaultInstanceForType()
Returns
TypeDescription
ReplaceWithInfoTypeConfig

getParserForType()

public Parser<ReplaceWithInfoTypeConfig> getParserForType()
Returns
TypeDescription
Parser<ReplaceWithInfoTypeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReplaceWithInfoTypeConfig.Builder newBuilderForType()
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplaceWithInfoTypeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReplaceWithInfoTypeConfig.Builder toBuilder()
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException