public static final class DeidentifyContentRequest.Builder extends GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder> implements DeidentifyContentRequestOrBuilder
Request to de-identify a list of items.Protobuf type
google.privacy.dlp.v2.DeidentifyContentRequestgetAllFields, 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<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DeidentifyContentRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic DeidentifyContentRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DeidentifyContentRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(DeidentifyContentRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DeidentifyContentRequest.Builder>java.io.IOExceptionpublic java.lang.String getParent()
The parent resource name, for example projects/my-project-id.
string parent = 1;getParent in interface DeidentifyContentRequestOrBuilderpublic ByteString getParentBytes()
The parent resource name, for example projects/my-project-id.
string parent = 1;getParentBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setParent(java.lang.String value)
The parent resource name, for example projects/my-project-id.
string parent = 1;public DeidentifyContentRequest.Builder clearParent()
The parent resource name, for example projects/my-project-id.
string parent = 1;public DeidentifyContentRequest.Builder setParentBytes(ByteString value)
The parent resource name, for example projects/my-project-id.
string parent = 1;public boolean hasDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;hasDeidentifyConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyConfig getDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;getDeidentifyConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setDeidentifyConfig(DeidentifyConfig value)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder mergeDeidentifyConfig(DeidentifyConfig value)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder clearDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyConfig.Builder getDeidentifyConfigBuilder()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;getDeidentifyConfigOrBuilder in interface DeidentifyContentRequestOrBuilderpublic boolean hasInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;hasInspectConfig in interface DeidentifyContentRequestOrBuilderpublic InspectConfig getInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder clearInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfigOrBuilder in interface DeidentifyContentRequestOrBuilderpublic boolean hasItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;hasItem in interface DeidentifyContentRequestOrBuilderpublic ContentItem getItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItem in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder mergeItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder clearItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItem.Builder getItemBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItemOrBuilder getItemOrBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItemOrBuilder in interface DeidentifyContentRequestOrBuilderpublic java.lang.String getInspectTemplateName()
Optional template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;getInspectTemplateName in interface DeidentifyContentRequestOrBuilderpublic ByteString getInspectTemplateNameBytes()
Optional template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;getInspectTemplateNameBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setInspectTemplateName(java.lang.String value)
Optional template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;public DeidentifyContentRequest.Builder clearInspectTemplateName()
Optional template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;public DeidentifyContentRequest.Builder setInspectTemplateNameBytes(ByteString value)
Optional template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;public java.lang.String getDeidentifyTemplateName()
Optional template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;getDeidentifyTemplateName in interface DeidentifyContentRequestOrBuilderpublic ByteString getDeidentifyTemplateNameBytes()
Optional template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;getDeidentifyTemplateNameBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setDeidentifyTemplateName(java.lang.String value)
Optional template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;public DeidentifyContentRequest.Builder clearDeidentifyTemplateName()
Optional template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;public DeidentifyContentRequest.Builder setDeidentifyTemplateNameBytes(ByteString value)
Optional template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;public final DeidentifyContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public final DeidentifyContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>