Class ImageTransformations.ImageTransformation (3.47.0)

public static final class ImageTransformations.ImageTransformation extends GeneratedMessageV3 implements ImageTransformations.ImageTransformationOrBuilder

Configuration for determining how redaction of images should occur.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImageTransformations.ImageTransformation

Static Fields

ALL_INFO_TYPES_FIELD_NUMBER

public static final int ALL_INFO_TYPES_FIELD_NUMBER
Field Value
Type Description
int

ALL_TEXT_FIELD_NUMBER

public static final int ALL_TEXT_FIELD_NUMBER
Field Value
Type Description
int

REDACTION_COLOR_FIELD_NUMBER

public static final int REDACTION_COLOR_FIELD_NUMBER
Field Value
Type Description
int

SELECTED_INFO_TYPES_FIELD_NUMBER

public static final int SELECTED_INFO_TYPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImageTransformations.ImageTransformation getDefaultInstance()
Returns
Type Description
ImageTransformations.ImageTransformation

getDescriptor()

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

newBuilder()

public static ImageTransformations.ImageTransformation.Builder newBuilder()
Returns
Type Description
ImageTransformations.ImageTransformation.Builder

newBuilder(ImageTransformations.ImageTransformation prototype)

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

parseDelimitedFrom(InputStream input)

public static ImageTransformations.ImageTransformation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageTransformations.ImageTransformation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ImageTransformations.ImageTransformation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageTransformations.ImageTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageTransformations.ImageTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageTransformations.ImageTransformation
Exceptions
Type Description