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.RedactContentRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RedactContentRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RedactContentRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RedactContentRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder mergeFrom(RedactContentRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public RedactContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RedactContentRequest.Builder>
java.io.IOException
public boolean hasInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;
hasInspectConfig
in interface RedactContentRequestOrBuilder
public InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;
getInspectConfig
in interface RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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 RedactContentRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>
public final RedactContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RedactContentRequest.Builder>