Class ImageTransformations (3.13.0)

public final class ImageTransformations extends GeneratedMessageV3 implements ImageTransformationsOrBuilder

A type of transformation that is applied over images.

Protobuf type google.privacy.dlp.v2.ImageTransformations

Static Fields

TRANSFORMS_FIELD_NUMBER

public static final int TRANSFORMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageTransformations getDefaultInstance()
Returns
TypeDescription
ImageTransformations

getDescriptor()

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

newBuilder()

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

newBuilder(ImageTransformations prototype)

public static ImageTransformations.Builder newBuilder(ImageTransformations prototype)
Parameter
NameDescription
prototypeImageTransformations
Returns
TypeDescription
ImageTransformations.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImageTransformations getDefaultInstanceForType()
Returns
TypeDescription
ImageTransformations

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransforms(int index)

public ImageTransformations.ImageTransformation getTransforms(int index)

repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImageTransformations.ImageTransformation

getTransformsCount()

public int getTransformsCount()

repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;

Returns
TypeDescription
int

getTransformsList()

public List<ImageTransformations.ImageTransformation> getTransformsList()

repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;

Returns
TypeDescription
List<ImageTransformation>

getTransformsOrBuilder(int index)

public ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder(int index)

repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImageTransformations.ImageTransformationOrBuilder

getTransformsOrBuilderList()

public List<? extends ImageTransformations.ImageTransformationOrBuilder> getTransformsOrBuilderList()

repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder>

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 ImageTransformations.Builder newBuilderForType()
Returns
TypeDescription
ImageTransformations.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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