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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
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>
|
public ImageTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation value)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation value)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.ImageTransformation.Builder addTransformsBuilder()
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
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
|
public ImageTransformations build()
public ImageTransformations buildPartial()
public ImageTransformations.Builder clear()
Overrides
public ImageTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImageTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImageTransformations.Builder clearTransforms()
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder clone()
Overrides
public ImageTransformations getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
public List<ImageTransformations.ImageTransformation.Builder> getTransformsBuilderList()
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public int getTransformsCount()
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns |
---|
Type | Description |
int | |
public List<ImageTransformations.ImageTransformation> getTransformsList()
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
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
|
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImageTransformations.Builder mergeFrom(ImageTransformations other)
public ImageTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImageTransformations.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ImageTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ImageTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation value)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
List of transforms to make.
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public final ImageTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides