Class ImageTransformations.Builder (3.56.0)

public static final class ImageTransformations.Builder extends GeneratedMessageV3.Builder<ImageTransformations.Builder> implements ImageTransformationsOrBuilder

A type of transformation that is applied over images.

Protobuf type google.privacy.dlp.v2.ImageTransformations

Static Methods

getDescriptor()

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

Methods

addAllTransforms(Iterable<? extends ImageTransformations.ImageTransformation> values)

public ImageTransformations.Builder addAllTransforms(Iterable<? extends ImageTransformations.ImageTransformation> values)

List of transforms to make.

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

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation>
Returns
Type Description
ImageTransformations.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageTransformations.Builder
Overrides

addTransforms(ImageTransformations.ImageTransformation value)

public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation value)

List of transforms to make.

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

Parameter
Name Description
value ImageTransformations.ImageTransformation
Returns
Type Description
ImageTransformations.Builder

addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)

public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)

List of transforms to make.

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

Parameter
Name Description
builderForValue ImageTransformations.ImageTransformation.Builder
Returns
Type Description
ImageTransformations.Builder

addTransforms(int index, ImageTransformations.ImageTransformation value)

public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation value)

List of transforms to make.

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

Parameters
Name Description
index int
value ImageTransformations.ImageTransformation
Returns
Type Description
ImageTransformations.Builder

addTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)

public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)

List of transforms to make.

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

Parameters
Name Description
index int
builderForValue ImageTransformations.ImageTransformation.Builder
Returns
Type Description
ImageTransformations.Builder

addTransformsBuilder()

public ImageTransformations.ImageTransformation.Builder addTransformsBuilder()

List of transforms to make.

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

Returns
Type Description
ImageTransformations.ImageTransformation.Builder

addTransformsBuilder(int index)

public ImageTransformations.ImageTransformation.Builder addTransformsBuilder(int index)

List of transforms to make.

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

Parameter
Name Description
index int
Returns
Type Description
ImageTransformations.ImageTransformation.Builder

build()

public ImageTransformations build()
Returns
Type Description
ImageTransformations

buildPartial()

public ImageTransformations buildPartial()
Returns
Type Description
ImageTransformations

clear()

public ImageTransformations.Builder clear()
Returns
Type Description
ImageTransformations.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImageTransformations.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImageTransformations.Builder
Overrides

clearTransforms()

public ImageTransformations.Builder clearTransforms()

List of transforms to make.

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

Returns
Type Description
ImageTransformations.Builder

clone()

public ImageTransformations.Builder clone()
Returns
Type Description
ImageTransformations.Builder
Overrides

getDefaultInstanceForType()

public ImageTransformations getDefaultInstanceForType()
Returns
Type Description
ImageTransformations

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTransforms(int index)

public ImageTransformations.ImageTransformation getTransforms(int index)

List of transforms to make.

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

Parameter
Name Description
index int
Returns
Type Description
ImageTransformations.ImageTransformation

getTransformsBuilder(int index)

public ImageTransformations.ImageTransformation.Builder getTransformsBuilder(int index)

List of transforms to make.

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

Parameter
Name Description
index int
Returns
Type Description
ImageTransformations.ImageTransformation.Builder

getTransformsBuilderList()

public List<ImageTransformations.ImageTransformation.Builder> getTransformsBuilderList()

List of transforms to make.

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

Returns
Type Description
List<Builder>

getTransformsCount()

public int getTransformsCount()

List of transforms to make.

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

Returns
Type Description
int

getTransformsList()

public List<ImageTransformations.ImageTransformation> getTransformsList()

List of transforms to make.

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

Returns
Type Description
List<ImageTransformation>

getTransformsOrBuilder(int index)

public ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder(int index)

List of transforms to make.

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

Parameter
Name Description
index int
Returns
Type Description
ImageTransformations.ImageTransformationOrBuilder

getTransformsOrBuilderList()

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

List of transforms to make.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageTransformations other)

public ImageTransformations.Builder mergeFrom(ImageTransformations other)
Parameter
Name Description
other ImageTransformations
Returns
Type Description
ImageTransformations.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageTransformations.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImageTransformations.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImageTransformations.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageTransformations.Builder
Overrides

removeTransforms(int index)

public ImageTransformations.Builder removeTransforms(int index)

List of transforms to make.

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

Parameter
Name Description
index int
Returns
Type Description
ImageTransformations.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImageTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageTransformations.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImageTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImageTransformations.Builder
Overrides

setTransforms(int index, ImageTransformations.ImageTransformation value)

public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation value)

List of transforms to make.

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

Parameters
Name Description
index int
value ImageTransformations.ImageTransformation
Returns
Type Description
ImageTransformations.Builder

setTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)

public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)

List of transforms to make.

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

Parameters
Name Description
index int
builderForValue ImageTransformations.ImageTransformation.Builder
Returns
Type Description
ImageTransformations.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageTransformations.Builder
Overrides