- 3.55.0 (latest)
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class ImageTransformations.ImageTransformation.Builder extends GeneratedMessageV3.Builder<ImageTransformations.ImageTransformation.Builder> implements ImageTransformations.ImageTransformationOrBuilder
Configuration for determining how redaction of images should occur.
Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImageTransformations.ImageTransformation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageTransformations.ImageTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
build()
public ImageTransformations.ImageTransformation build()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation |
buildPartial()
public ImageTransformations.ImageTransformation buildPartial()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation |
clear()
public ImageTransformations.ImageTransformation.Builder clear()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearAllInfoTypes()
public ImageTransformations.ImageTransformation.Builder clearAllInfoTypes()
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearAllText()
public ImageTransformations.ImageTransformation.Builder clearAllText()
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImageTransformations.ImageTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageTransformations.ImageTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearRedactionColor()
public ImageTransformations.ImageTransformation.Builder clearRedactionColor()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearSelectedInfoTypes()
public ImageTransformations.ImageTransformation.Builder clearSelectedInfoTypes()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clearTarget()
public ImageTransformations.ImageTransformation.Builder clearTarget()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
clone()
public ImageTransformations.ImageTransformation.Builder clone()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
getAllInfoTypes()
public ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes()
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllInfoTypes | The allInfoTypes. |
getAllInfoTypesBuilder()
public ImageTransformations.ImageTransformation.AllInfoTypes.Builder getAllInfoTypesBuilder()
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllInfoTypes.Builder |
getAllInfoTypesOrBuilder()
public ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder()
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder |
getAllText()
public ImageTransformations.ImageTransformation.AllText getAllText()
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllText | The allText. |
getAllTextBuilder()
public ImageTransformations.ImageTransformation.AllText.Builder getAllTextBuilder()
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllText.Builder |
getAllTextOrBuilder()
public ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder()
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.AllTextOrBuilder |
getDefaultInstanceForType()
public ImageTransformations.ImageTransformation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRedactionColor()
public Color getRedactionColor()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Returns | |
---|---|
Type | Description |
Color | The redactionColor. |
getRedactionColorBuilder()
public Color.Builder getRedactionColorBuilder()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Returns | |
---|---|
Type | Description |
Color.Builder |
getRedactionColorOrBuilder()
public ColorOrBuilder getRedactionColorOrBuilder()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Returns | |
---|---|
Type | Description |
ColorOrBuilder |
getSelectedInfoTypes()
public ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.SelectedInfoTypes | The selectedInfoTypes. |
getSelectedInfoTypesBuilder()
public ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder getSelectedInfoTypesBuilder()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder |
getSelectedInfoTypesOrBuilder()
public ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder |
getTargetCase()
public ImageTransformations.ImageTransformation.TargetCase getTargetCase()
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.TargetCase |
hasAllInfoTypes()
public boolean hasAllInfoTypes()
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the allInfoTypes field is set. |
hasAllText()
public boolean hasAllText()
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the allText field is set. |
hasRedactionColor()
public boolean hasRedactionColor()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the redactionColor field is set. |
hasSelectedInfoTypes()
public boolean hasSelectedInfoTypes()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the selectedInfoTypes field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAllInfoTypes(ImageTransformations.ImageTransformation.AllInfoTypes value)
public ImageTransformations.ImageTransformation.Builder mergeAllInfoTypes(ImageTransformations.ImageTransformation.AllInfoTypes value)
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
Parameter | |
---|---|
Name | Description |
value | ImageTransformations.ImageTransformation.AllInfoTypes |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeAllText(ImageTransformations.ImageTransformation.AllText value)
public ImageTransformations.ImageTransformation.Builder mergeAllText(ImageTransformations.ImageTransformation.AllText value)
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
Parameter | |
---|---|
Name | Description |
value | ImageTransformations.ImageTransformation.AllText |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeFrom(ImageTransformations.ImageTransformation other)
public ImageTransformations.ImageTransformation.Builder mergeFrom(ImageTransformations.ImageTransformation other)
Parameter | |
---|---|
Name | Description |
other | ImageTransformations.ImageTransformation |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageTransformations.ImageTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImageTransformations.ImageTransformation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeRedactionColor(Color value)
public ImageTransformations.ImageTransformation.Builder mergeRedactionColor(Color value)
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2.Color redaction_color = 3;
Parameter | |
---|---|
Name | Description |
value | Color |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeSelectedInfoTypes(ImageTransformations.ImageTransformation.SelectedInfoTypes value)
public ImageTransformations.ImageTransformation.Builder mergeSelectedInfoTypes(ImageTransformations.ImageTransformation.SelectedInfoTypes value)
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
Parameter | |
---|---|
Name | Description |
value | ImageTransformations.ImageTransformation.SelectedInfoTypes |
Returns | |
---|---|
Type | Description |
ImageTransformations.ImageTransformation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageTransformations.ImageTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)