public static final class ImageTransformations.ImageTransformation extends com.google.protobuf.GeneratedMessageV3 implements ImageTransformations.ImageTransformationOrBuilder
Configuration for determining how redaction of images should occur.Protobuf type
google.privacy.dlp.v2.ImageTransformations.ImageTransformation| Modifier and Type | Class and Description |
|---|---|
static class |
ImageTransformations.ImageTransformation.AllInfoTypes
Apply transformation to all findings.
|
static interface |
ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder |
static class |
ImageTransformations.ImageTransformation.AllText
Apply to all text.
|
static interface |
ImageTransformations.ImageTransformation.AllTextOrBuilder |
static class |
ImageTransformations.ImageTransformation.Builder
Configuration for determining how redaction of images should occur.
|
static class |
ImageTransformations.ImageTransformation.SelectedInfoTypes
Apply transformation to the selected info_types.
|
static interface |
ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder |
static class |
ImageTransformations.ImageTransformation.TargetCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_INFO_TYPES_FIELD_NUMBER |
static int |
ALL_TEXT_FIELD_NUMBER |
static int |
REDACTION_COLOR_FIELD_NUMBER |
static int |
SELECTED_INFO_TYPES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ImageTransformations.ImageTransformation.AllInfoTypes |
getAllInfoTypes()
Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types.
|
ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder |
getAllInfoTypesOrBuilder()
Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types.
|
ImageTransformations.ImageTransformation.AllText |
getAllText()
Apply transformation to all text that doesn't match an infoType.
|
ImageTransformations.ImageTransformation.AllTextOrBuilder |
getAllTextOrBuilder()
Apply transformation to all text that doesn't match an infoType.
|
static ImageTransformations.ImageTransformation |
getDefaultInstance() |
ImageTransformations.ImageTransformation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ImageTransformations.ImageTransformation> |
getParserForType() |
Color |
getRedactionColor()
The color to use when redacting content from an image.
|
ColorOrBuilder |
getRedactionColorOrBuilder()
The color to use when redacting content from an image.
|
ImageTransformations.ImageTransformation.SelectedInfoTypes |
getSelectedInfoTypes()
Apply transformation to the selected info_types.
|
ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder |
getSelectedInfoTypesOrBuilder()
Apply transformation to the selected info_types.
|
int |
getSerializedSize() |
ImageTransformations.ImageTransformation.TargetCase |
getTargetCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllInfoTypes()
Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types.
|
boolean |
hasAllText()
Apply transformation to all text that doesn't match an infoType.
|
int |
hashCode() |
boolean |
hasRedactionColor()
The color to use when redacting content from an image.
|
boolean |
hasSelectedInfoTypes()
Apply transformation to the selected info_types.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImageTransformations.ImageTransformation.Builder |
newBuilder() |
static ImageTransformations.ImageTransformation.Builder |
newBuilder(ImageTransformations.ImageTransformation prototype) |
ImageTransformations.ImageTransformation.Builder |
newBuilderForType() |
protected ImageTransformations.ImageTransformation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImageTransformations.ImageTransformation |
parseDelimitedFrom(InputStream input) |
static ImageTransformations.ImageTransformation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImageTransformations.ImageTransformation |
parseFrom(byte[] data) |
static ImageTransformations.ImageTransformation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImageTransformations.ImageTransformation |
parseFrom(ByteBuffer data) |
static ImageTransformations.ImageTransformation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImageTransformations.ImageTransformation |
parseFrom(com.google.protobuf.ByteString data) |
static ImageTransformations.ImageTransformation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImageTransformations.ImageTransformation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImageTransformations.ImageTransformation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImageTransformations.ImageTransformation |
parseFrom(InputStream input) |
static ImageTransformations.ImageTransformation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImageTransformations.ImageTransformation> |
parser() |
ImageTransformations.ImageTransformation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SELECTED_INFO_TYPES_FIELD_NUMBER
public static final int ALL_INFO_TYPES_FIELD_NUMBER
public static final int ALL_TEXT_FIELD_NUMBER
public static final int REDACTION_COLOR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ImageTransformations.ImageTransformation.TargetCase getTargetCase()
getTargetCase in interface ImageTransformations.ImageTransformationOrBuilderpublic boolean hasSelectedInfoTypes()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
hasSelectedInfoTypes in interface ImageTransformations.ImageTransformationOrBuilderpublic ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
getSelectedInfoTypes in interface ImageTransformations.ImageTransformationOrBuilderpublic ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder()
Apply transformation to the selected info_types.
.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
getSelectedInfoTypesOrBuilder in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
hasAllInfoTypes in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
getAllInfoTypes in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
getAllInfoTypesOrBuilder in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
hasAllText in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
getAllText in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;
getAllTextOrBuilder in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;hasRedactionColor in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;getRedactionColor in interface ImageTransformations.ImageTransformationOrBuilderpublic 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;getRedactionColorOrBuilder in interface ImageTransformations.ImageTransformationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImageTransformations.ImageTransformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImageTransformations.ImageTransformation parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImageTransformations.ImageTransformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImageTransformations.ImageTransformation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImageTransformations.ImageTransformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImageTransformations.ImageTransformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImageTransformations.ImageTransformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImageTransformations.ImageTransformation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImageTransformations.ImageTransformation.Builder newBuilder()
public static ImageTransformations.ImageTransformation.Builder newBuilder(ImageTransformations.ImageTransformation prototype)
public ImageTransformations.ImageTransformation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImageTransformations.ImageTransformation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImageTransformations.ImageTransformation getDefaultInstance()
public static com.google.protobuf.Parser<ImageTransformations.ImageTransformation> parser()
public com.google.protobuf.Parser<ImageTransformations.ImageTransformation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImageTransformations.ImageTransformation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.