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()
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>
|
public ImageTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation value)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation value)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder addTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.ImageTransformation.Builder addTransformsBuilder()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.ImageTransformation.Builder addTransformsBuilder(int index)
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()
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)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public ImageTransformations.ImageTransformation.Builder getTransformsBuilder(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<ImageTransformations.ImageTransformation.Builder> getTransformsBuilderList()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public int getTransformsCount()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Returns |
---|
Type | Description |
int | |
public List<ImageTransformations.ImageTransformation> getTransformsList()
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder(int index)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
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()
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)
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)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public ImageTransformations.Builder setTransforms(int index, ImageTransformations.ImageTransformation.Builder builderForValue)
repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
public final ImageTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides