public static final class RedactContentRequest.Builder extends GeneratedMessageV3.Builder<RedactContentRequest.Builder> implements RedactContentRequestOrBuilder
Request to search for potentially sensitive info in a list of items and replace it with a default or provided content.Protobuf type
google.privacy.dlp.v2beta1.RedactContentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic RedactContentRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic RedactContentRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic RedactContentRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder mergeFrom(RedactContentRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public RedactContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<RedactContentRequest.Builder>java.io.IOExceptionpublic boolean hasInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;hasInspectConfig in interface RedactContentRequestOrBuilderpublic InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;getInspectConfig in interface RedactContentRequestOrBuilderpublic RedactContentRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;public RedactContentRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;public RedactContentRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;public RedactContentRequest.Builder clearInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;getInspectConfigOrBuilder in interface RedactContentRequestOrBuilderpublic java.util.List<ContentItem> getItemsList()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;getItemsList in interface RedactContentRequestOrBuilderpublic int getItemsCount()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;getItemsCount in interface RedactContentRequestOrBuilderpublic ContentItem getItems(int index)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;getItems in interface RedactContentRequestOrBuilderpublic RedactContentRequest.Builder setItems(int index, ContentItem value)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder setItems(int index, ContentItem.Builder builderForValue)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder addItems(ContentItem value)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder addItems(int index, ContentItem value)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder addItems(ContentItem.Builder builderForValue)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder addItems(int index, ContentItem.Builder builderForValue)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder addAllItems(java.lang.Iterable<? extends ContentItem> values)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder clearItems()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public RedactContentRequest.Builder removeItems(int index)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public ContentItem.Builder getItemsBuilder(int index)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public ContentItemOrBuilder getItemsOrBuilder(int index)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;getItemsOrBuilder in interface RedactContentRequestOrBuilderpublic java.util.List<? extends ContentItemOrBuilder> getItemsOrBuilderList()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;getItemsOrBuilderList in interface RedactContentRequestOrBuilderpublic ContentItem.Builder addItemsBuilder()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public ContentItem.Builder addItemsBuilder(int index)
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public java.util.List<ContentItem.Builder> getItemsBuilderList()
The list of items to inspect. Up to 100 are allowed per request.
repeated .google.privacy.dlp.v2beta1.ContentItem items = 2;public java.util.List<RedactContentRequest.ReplaceConfig> getReplaceConfigsList()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;getReplaceConfigsList in interface RedactContentRequestOrBuilderpublic int getReplaceConfigsCount()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;getReplaceConfigsCount in interface RedactContentRequestOrBuilderpublic RedactContentRequest.ReplaceConfig getReplaceConfigs(int index)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;getReplaceConfigs in interface RedactContentRequestOrBuilderpublic RedactContentRequest.Builder setReplaceConfigs(int index, RedactContentRequest.ReplaceConfig value)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder setReplaceConfigs(int index, RedactContentRequest.ReplaceConfig.Builder builderForValue)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder addReplaceConfigs(RedactContentRequest.ReplaceConfig value)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder addReplaceConfigs(int index, RedactContentRequest.ReplaceConfig value)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder addReplaceConfigs(RedactContentRequest.ReplaceConfig.Builder builderForValue)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder addReplaceConfigs(int index, RedactContentRequest.ReplaceConfig.Builder builderForValue)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder addAllReplaceConfigs(java.lang.Iterable<? extends RedactContentRequest.ReplaceConfig> values)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder clearReplaceConfigs()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.Builder removeReplaceConfigs(int index)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.ReplaceConfig.Builder getReplaceConfigsBuilder(int index)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.ReplaceConfigOrBuilder getReplaceConfigsOrBuilder(int index)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;getReplaceConfigsOrBuilder in interface RedactContentRequestOrBuilderpublic java.util.List<? extends RedactContentRequest.ReplaceConfigOrBuilder> getReplaceConfigsOrBuilderList()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;getReplaceConfigsOrBuilderList in interface RedactContentRequestOrBuilderpublic RedactContentRequest.ReplaceConfig.Builder addReplaceConfigsBuilder()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public RedactContentRequest.ReplaceConfig.Builder addReplaceConfigsBuilder(int index)
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public java.util.List<RedactContentRequest.ReplaceConfig.Builder> getReplaceConfigsBuilderList()
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig replace_configs = 3;public java.util.List<RedactContentRequest.ImageRedactionConfig> getImageRedactionConfigsList()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;getImageRedactionConfigsList in interface RedactContentRequestOrBuilderpublic int getImageRedactionConfigsCount()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;getImageRedactionConfigsCount in interface RedactContentRequestOrBuilderpublic RedactContentRequest.ImageRedactionConfig getImageRedactionConfigs(int index)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;getImageRedactionConfigs in interface RedactContentRequestOrBuilderpublic RedactContentRequest.Builder setImageRedactionConfigs(int index, RedactContentRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder setImageRedactionConfigs(int index, RedactContentRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder addImageRedactionConfigs(RedactContentRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder addImageRedactionConfigs(int index, RedactContentRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder addImageRedactionConfigs(RedactContentRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder addImageRedactionConfigs(int index, RedactContentRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder addAllImageRedactionConfigs(java.lang.Iterable<? extends RedactContentRequest.ImageRedactionConfig> values)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder clearImageRedactionConfigs()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.Builder removeImageRedactionConfigs(int index)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.ImageRedactionConfig.Builder getImageRedactionConfigsBuilder(int index)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder(int index)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;getImageRedactionConfigsOrBuilder in interface RedactContentRequestOrBuilderpublic java.util.List<? extends RedactContentRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsOrBuilderList()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;getImageRedactionConfigsOrBuilderList in interface RedactContentRequestOrBuilderpublic RedactContentRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public RedactContentRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder(int index)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public java.util.List<RedactContentRequest.ImageRedactionConfig.Builder> getImageRedactionConfigsBuilderList()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig image_redaction_configs = 4;public final RedactContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>public final RedactContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>