- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeidentifyContentRequest.BuilderImplements
DeidentifyContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeidentifyContentRequest.Builder |
build()
public DeidentifyContentRequest build()
Type | Description |
DeidentifyContentRequest |
buildPartial()
public DeidentifyContentRequest buildPartial()
Type | Description |
DeidentifyContentRequest |
clear()
public DeidentifyContentRequest.Builder clear()
Type | Description |
DeidentifyContentRequest.Builder |
clearDeidentifyConfig()
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;
Type | Description |
DeidentifyContentRequest.Builder |
clearDeidentifyTemplateName()
public DeidentifyContentRequest.Builder clearDeidentifyTemplateName()
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;
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeidentifyContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeidentifyContentRequest.Builder |
clearInspectConfig()
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;
Type | Description |
DeidentifyContentRequest.Builder |
clearInspectTemplateName()
public DeidentifyContentRequest.Builder clearInspectTemplateName()
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;
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
clearItem()
public DeidentifyContentRequest.Builder clearItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Type | Description |
DeidentifyContentRequest.Builder |
clearLocationId()
public DeidentifyContentRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 7;
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeidentifyContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeidentifyContentRequest.Builder |
clearParent()
public DeidentifyContentRequest.Builder clearParent()
Parent resource name. The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
clone()
public DeidentifyContentRequest.Builder clone()
Type | Description |
DeidentifyContentRequest.Builder |
getDefaultInstanceForType()
public DeidentifyContentRequest getDefaultInstanceForType()
Type | Description |
DeidentifyContentRequest |
getDeidentifyConfig()
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;
Type | Description |
DeidentifyConfig | The deidentifyConfig. |
getDeidentifyConfigBuilder()
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;
Type | Description |
DeidentifyConfig.Builder |
getDeidentifyConfigOrBuilder()
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;
Type | Description |
DeidentifyConfigOrBuilder |
getDeidentifyTemplateName()
public String getDeidentifyTemplateName()
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;
Type | Description |
String | The deidentifyTemplateName. |
getDeidentifyTemplateNameBytes()
public ByteString getDeidentifyTemplateNameBytes()
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;
Type | Description |
ByteString | The bytes for deidentifyTemplateName. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInspectConfig()
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;
Type | Description |
InspectConfig | The inspectConfig. |
getInspectConfigBuilder()
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;
Type | Description |
InspectConfig.Builder |
getInspectConfigOrBuilder()
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;
Type | Description |
InspectConfigOrBuilder |
getInspectTemplateName()
public String getInspectTemplateName()
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;
Type | Description |
String | The inspectTemplateName. |
getInspectTemplateNameBytes()
public ByteString getInspectTemplateNameBytes()
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;
Type | Description |
ByteString | The bytes for inspectTemplateName. |
getItem()
public ContentItem getItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Type | Description |
ContentItem | The item. |
getItemBuilder()
public ContentItem.Builder getItemBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Type | Description |
ContentItem.Builder |
getItemOrBuilder()
public ContentItemOrBuilder getItemOrBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Type | Description |
ContentItemOrBuilder |
getLocationId()
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 7;
Type | Description |
String | The locationId. |
getLocationIdBytes()
public ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 7;
Type | Description |
ByteString | The bytes for locationId. |
getParent()
public String getParent()
Parent resource name. The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Parent resource name. The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
hasDeidentifyConfig()
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;
Type | Description |
boolean | Whether the deidentifyConfig field is set. |
hasInspectConfig()
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;
Type | Description |
boolean | Whether the inspectConfig field is set. |
hasItem()
public boolean hasItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Type | Description |
boolean | Whether the item field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDeidentifyConfig(DeidentifyConfig value)
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;
Name | Description |
value | DeidentifyConfig |
Type | Description |
DeidentifyContentRequest.Builder |
mergeFrom(DeidentifyContentRequest other)
public DeidentifyContentRequest.Builder mergeFrom(DeidentifyContentRequest other)
Name | Description |
other | DeidentifyContentRequest |
Type | Description |
DeidentifyContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeidentifyContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeidentifyContentRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeidentifyContentRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeidentifyContentRequest.Builder |
mergeInspectConfig(InspectConfig value)
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;
Name | Description |
value | InspectConfig |
Type | Description |
DeidentifyContentRequest.Builder |
mergeItem(ContentItem value)
public DeidentifyContentRequest.Builder mergeItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Name | Description |
value | ContentItem |
Type | Description |
DeidentifyContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeidentifyContentRequest.Builder |
setDeidentifyConfig(DeidentifyConfig value)
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;
Name | Description |
value | DeidentifyConfig |
Type | Description |
DeidentifyContentRequest.Builder |
setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | DeidentifyConfig.Builder |
Type | Description |
DeidentifyContentRequest.Builder |
setDeidentifyTemplateName(String value)
public DeidentifyContentRequest.Builder setDeidentifyTemplateName(String value)
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;
Name | Description |
value | String The deidentifyTemplateName to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setDeidentifyTemplateNameBytes(ByteString value)
public DeidentifyContentRequest.Builder setDeidentifyTemplateNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for deidentifyTemplateName to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeidentifyContentRequest.Builder |
setInspectConfig(InspectConfig value)
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;
Name | Description |
value | InspectConfig |
Type | Description |
DeidentifyContentRequest.Builder |
setInspectConfig(InspectConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | InspectConfig.Builder |
Type | Description |
DeidentifyContentRequest.Builder |
setInspectTemplateName(String value)
public DeidentifyContentRequest.Builder setInspectTemplateName(String value)
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;
Name | Description |
value | String The inspectTemplateName to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setInspectTemplateNameBytes(ByteString value)
public DeidentifyContentRequest.Builder setInspectTemplateNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for inspectTemplateName to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setItem(ContentItem value)
public DeidentifyContentRequest.Builder setItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Name | Description |
value | ContentItem |
Type | Description |
DeidentifyContentRequest.Builder |
setItem(ContentItem.Builder builderForValue)
public DeidentifyContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;
Name | Description |
builderForValue | ContentItem.Builder |
Type | Description |
DeidentifyContentRequest.Builder |
setLocationId(String value)
public DeidentifyContentRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 7;
Name | Description |
value | String The locationId to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setLocationIdBytes(ByteString value)
public DeidentifyContentRequest.Builder setLocationIdBytes(ByteString value)
Deprecated. This field has no effect.
string location_id = 7;
Name | Description |
value | ByteString The bytes for locationId to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setParent(String value)
public DeidentifyContentRequest.Builder setParent(String value)
Parent resource name. The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public DeidentifyContentRequest.Builder setParentBytes(ByteString value)
Parent resource name. The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
DeidentifyContentRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeidentifyContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeidentifyContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeidentifyContentRequest.Builder |