Class ImageTransformations.Builder (3.34.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
TypeDescription
Descriptor

Methods

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

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

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

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation>
Returns
TypeDescription
ImageTransformations.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageTransformations.Builder
Overrides

addTransforms(ImageTransformations.ImageTransformation value)

public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation value)

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

Parameter
NameDescription
valueImageTransformations.ImageTransformation
Returns
TypeDescription
ImageTransformations.Builder

addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueImageTransformations.ImageTransformation.Builder
Returns
TypeDescription
ImageTransformations.Builder

addTransforms(int index, ImageTransformations.ImageTransformation value)

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

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

Parameters
NameDescription
indexint
valueImageTransformations.ImageTransformation
Returns
TypeDescription
ImageTransformations.Builder

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

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

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

Parameters
NameDescription
indexint
builderForValueImageTransformations.ImageTransformation.Builder
Returns
TypeDescription
ImageTransformations.Builder

addTransformsBuilder()

public ImageTransformations.ImageTransformation.Builder addTransformsBuilder()

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

Returns
TypeDescription
ImageTransformations.ImageTransformation.Builder

addTransformsBuilder(int index)

public ImageTransformations.ImageTransformation.Builder addTransformsBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImageTransformations.ImageTransformation.Builder

build()

public ImageTransformations build()
Returns
TypeDescription
ImageTransformations

buildPartial()

public ImageTransformations buildPartial()
Returns
TypeDescription
ImageTransformations

clear()

public ImageTransformations.Builder clear()
Returns
TypeDescription
ImageTransformations.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImageTransformations.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImageTransformations.Builder
Overrides

clearTransforms()

public ImageTransformations.Builder clearTransforms()

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

Returns
TypeDescription
ImageTransformations.Builder

clone()

public ImageTransformations.Builder clone()
Returns
TypeDescription
ImageTransformations.Builder
Overrides

getDefaultInstanceForType()

public ImageTransformations getDefaultInstanceForType()
Returns
TypeDescription
ImageTransformations

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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

getTransformsBuilder(int index)

public ImageTransformations.ImageTransformation.Builder getTransformsBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImageTransformations.ImageTransformation.Builder

getTransformsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImageTransformations other)

public ImageTransformations.Builder mergeFrom(ImageTransformations other)
Parameter
NameDescription
otherImageTransformations
Returns
TypeDescription
ImageTransformations.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageTransformations.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImageTransformations.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImageTransformations.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageTransformations.Builder
Overrides

removeTransforms(int index)

public ImageTransformations.Builder removeTransforms(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImageTransformations.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImageTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageTransformations.Builder
Overrides

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

public ImageTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImageTransformations.Builder
Overrides

setTransforms(int index, ImageTransformations.ImageTransformation value)

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

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

Parameters
NameDescription
indexint
valueImageTransformations.ImageTransformation
Returns
TypeDescription
ImageTransformations.Builder

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

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

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

Parameters
NameDescription
indexint
builderForValueImageTransformations.ImageTransformation.Builder
Returns
TypeDescription
ImageTransformations.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageTransformations.Builder
Overrides