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.DeidentifyContentRequest
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<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DeidentifyContentRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DeidentifyContentRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DeidentifyContentRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.Builder mergeFrom(DeidentifyContentRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public DeidentifyContentRequest.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<DeidentifyContentRequest.Builder>
java.io.IOException
public java.lang.String getParent()
The parent resource name, for example projects/my-project-id.
string parent = 1;
getParent
in interface DeidentifyContentRequestOrBuilder
public ByteString getParentBytes()
The parent resource name, for example projects/my-project-id.
string parent = 1;
getParentBytes
in interface DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public boolean hasItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
hasItem
in interface DeidentifyContentRequestOrBuilder
public ContentItem getItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
getItem
in interface DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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 DeidentifyContentRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>
public final DeidentifyContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>