Class CustomInfoType.SurrogateType (3.50.0)

public static final class CustomInfoType.SurrogateType extends GeneratedMessageV3 implements CustomInfoType.SurrogateTypeOrBuilder

Message for detecting output from deidentification transformations such as CryptoReplaceFfxFpeConfig. These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as surrogate_info_type. This CustomInfoType does not support the use of detection_rules.

Protobuf type google.privacy.dlp.v2.CustomInfoType.SurrogateType

Static Methods

getDefaultInstance()

public static CustomInfoType.SurrogateType getDefaultInstance()
Returns
Type Description
CustomInfoType.SurrogateType

getDescriptor()

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

newBuilder()

public static CustomInfoType.SurrogateType.Builder newBuilder()
Returns
Type Description
CustomInfoType.SurrogateType.Builder

newBuilder(CustomInfoType.SurrogateType prototype)

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

parseDelimitedFrom(InputStream input)

public static CustomInfoType.SurrogateType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomInfoType.SurrogateType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CustomInfoType.SurrogateType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomInfoType.SurrogateType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CustomInfoType.SurrogateType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomInfoType.SurrogateType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CustomInfoType.SurrogateType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomInfoType.SurrogateType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CustomInfoType.SurrogateType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomInfoType.SurrogateType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CustomInfoType.SurrogateType> parser()
Returns
Type Description
Parser<SurrogateType>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CustomInfoType.SurrogateType getDefaultInstanceForType()
Returns
Type Description
CustomInfoType.SurrogateType

getParserForType()

public Parser<CustomInfoType.SurrogateType> getParserForType()
Returns
Type Description
Parser<SurrogateType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 CustomInfoType.SurrogateType.Builder newBuilderForType()
Returns
Type Description
CustomInfoType.SurrogateType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CustomInfoType.SurrogateType.Builder toBuilder()
Returns
Type Description
CustomInfoType.SurrogateType.Builder

writeTo(CodedOutputStream output)

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