Interface DeidentifyContentRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DeidentifyContentRequest, DeidentifyContentRequest.Builder

    public interface DeidentifyContentRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getParent

        String getParent()
         Parent resource name.
        
         The format of this value varies depending on whether you have [specified a
         processing
         location](https://cloud.google.com/dlp/docs/specifying-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 example `parent` string specifies a parent project with the
         identifier `example-project`, and specifies the `europe-west3` location
         for processing data:
        
             parent=projects/example-project/locations/europe-west3
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Parent resource name.
        
         The format of this value varies depending on whether you have [specified a
         processing
         location](https://cloud.google.com/dlp/docs/specifying-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 example `parent` string specifies a parent project with the
         identifier `example-project`, and specifies the `europe-west3` location
         for processing data:
        
             parent=projects/example-project/locations/europe-west3
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasDeidentifyConfig

        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;
        Returns:
        Whether the deidentifyConfig field is set.
      • getDeidentifyConfig

        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;
        Returns:
        The deidentifyConfig.
      • getDeidentifyConfigOrBuilder

        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;
      • hasInspectConfig

        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;
        Returns:
        Whether the inspectConfig field is set.
      • getInspectConfig

        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;
        Returns:
        The inspectConfig.
      • getInspectConfigOrBuilder

        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;
      • hasItem

        boolean hasItem()
         The item to de-identify. Will be treated as text.
        
         This value must be of type
         [Table][google.privacy.dlp.v2.Table] if your
         [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config]
         is a
         [RecordTransformations][google.privacy.dlp.v2.RecordTransformations]
         object.
         
        .google.privacy.dlp.v2.ContentItem item = 4;
        Returns:
        Whether the item field is set.
      • getItem

        ContentItem getItem()
         The item to de-identify. Will be treated as text.
        
         This value must be of type
         [Table][google.privacy.dlp.v2.Table] if your
         [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config]
         is a
         [RecordTransformations][google.privacy.dlp.v2.RecordTransformations]
         object.
         
        .google.privacy.dlp.v2.ContentItem item = 4;
        Returns:
        The item.
      • getItemOrBuilder

        ContentItemOrBuilder getItemOrBuilder()
         The item to de-identify. Will be treated as text.
        
         This value must be of type
         [Table][google.privacy.dlp.v2.Table] if your
         [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config]
         is a
         [RecordTransformations][google.privacy.dlp.v2.RecordTransformations]
         object.
         
        .google.privacy.dlp.v2.ContentItem item = 4;
      • getInspectTemplateName

        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;
        Returns:
        The inspectTemplateName.
      • getInspectTemplateNameBytes

        com.google.protobuf.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;
        Returns:
        The bytes for inspectTemplateName.
      • getDeidentifyTemplateName

        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;
        Returns:
        The deidentifyTemplateName.
      • getDeidentifyTemplateNameBytes

        com.google.protobuf.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;
        Returns:
        The bytes for deidentifyTemplateName.
      • getLocationId

        String getLocationId()
         Deprecated. This field has no effect.
         
        string location_id = 7;
        Returns:
        The locationId.
      • getLocationIdBytes

        com.google.protobuf.ByteString getLocationIdBytes()
         Deprecated. This field has no effect.
         
        string location_id = 7;
        Returns:
        The bytes for locationId.