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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImageTransformations.Builder addAllTransforms(Iterable<? extends ImageTransformations.ImageTransformation> values)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation>
|
Returns
public ImageTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation value)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation value)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameters
Returns
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameters
Returns
public ImageTransformations.ImageTransformation.Builder addTransformsBuilder()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
public ImageTransformations.ImageTransformation.Builder addTransformsBuilder(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public ImageTransformations build()
Returns
public ImageTransformations buildPartial()
Returns
public ImageTransformations.Builder clear()
Returns
Overrides
public ImageTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImageTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImageTransformations.Builder clearTransforms()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
public ImageTransformations.Builder clone()
Returns
Overrides
public ImageTransformations getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ImageTransformations.ImageTransformation getTransforms(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public ImageTransformations.ImageTransformation.Builder getTransformsBuilder(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public List<ImageTransformations.ImageTransformation.Builder> getTransformsBuilderList()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
public int getTransformsCount()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
public List<ImageTransformations.ImageTransformation> getTransformsList()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
public ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public List<? extends ImageTransformations.ImageTransformationOrBuilder> getTransformsOrBuilderList()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImageTransformations.Builder mergeFrom(ImageTransformations other)
Parameter
Returns
public ImageTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImageTransformations.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImageTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImageTransformations.Builder removeTransforms(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter
Returns
public ImageTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation value)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameters
Returns
public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameters
Returns
public final ImageTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides