Interface HybridFindingDetailsOrBuilder

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

    public interface HybridFindingDetailsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsLabels​(String key)
      Labels to represent user provided metadata about the data being inspected.
      Container getContainerDetails()
      Details about the container where the content being inspected is from.
      ContainerOrBuilder getContainerDetailsOrBuilder()
      Details about the container where the content being inspected is from.
      long getFileOffset()
      Offset in bytes of the line, from the beginning of the file, where the finding is located.
      Map<String,​String> getLabels()
      Deprecated.
      int getLabelsCount()
      Labels to represent user provided metadata about the data being inspected.
      Map<String,​String> getLabelsMap()
      Labels to represent user provided metadata about the data being inspected.
      String getLabelsOrDefault​(String key, String defaultValue)
      Labels to represent user provided metadata about the data being inspected.
      String getLabelsOrThrow​(String key)
      Labels to represent user provided metadata about the data being inspected.
      long getRowOffset()
      Offset of the row for tables.
      TableOptions getTableOptions()
      If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
      TableOptionsOrBuilder getTableOptionsOrBuilder()
      If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
      boolean hasContainerDetails()
      Details about the container where the content being inspected is from.
      boolean hasTableOptions()
      If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasContainerDetails

        boolean hasContainerDetails()
         Details about the container where the content being inspected is from.
         
        .google.privacy.dlp.v2.Container container_details = 1;
        Returns:
        Whether the containerDetails field is set.
      • getContainerDetails

        Container getContainerDetails()
         Details about the container where the content being inspected is from.
         
        .google.privacy.dlp.v2.Container container_details = 1;
        Returns:
        The containerDetails.
      • getContainerDetailsOrBuilder

        ContainerOrBuilder getContainerDetailsOrBuilder()
         Details about the container where the content being inspected is from.
         
        .google.privacy.dlp.v2.Container container_details = 1;
      • getFileOffset

        long getFileOffset()
         Offset in bytes of the line, from the beginning of the file, where the
         finding  is located. Populate if the item being scanned is only part of a
         bigger item, such as a shard of a file and you want to track the absolute
         position of the finding.
         
        int64 file_offset = 2;
        Returns:
        The fileOffset.
      • getRowOffset

        long getRowOffset()
         Offset of the row for tables. Populate if the row(s) being scanned are
         part of a bigger dataset and you want to keep track of their absolute
         position.
         
        int64 row_offset = 3;
        Returns:
        The rowOffset.
      • hasTableOptions

        boolean hasTableOptions()
         If the container is a table, additional information to make findings
         meaningful such as the columns that are primary keys. If not known ahead
         of time, can also be set within each inspect hybrid call and the two
         will be merged. Note that identifying_fields will only be stored to
         BigQuery, and only if the BigQuery action has been included.
         
        .google.privacy.dlp.v2.TableOptions table_options = 4;
        Returns:
        Whether the tableOptions field is set.
      • getTableOptions

        TableOptions getTableOptions()
         If the container is a table, additional information to make findings
         meaningful such as the columns that are primary keys. If not known ahead
         of time, can also be set within each inspect hybrid call and the two
         will be merged. Note that identifying_fields will only be stored to
         BigQuery, and only if the BigQuery action has been included.
         
        .google.privacy.dlp.v2.TableOptions table_options = 4;
        Returns:
        The tableOptions.
      • getTableOptionsOrBuilder

        TableOptionsOrBuilder getTableOptionsOrBuilder()
         If the container is a table, additional information to make findings
         meaningful such as the columns that are primary keys. If not known ahead
         of time, can also be set within each inspect hybrid call and the two
         will be merged. Note that identifying_fields will only be stored to
         BigQuery, and only if the BigQuery action has been included.
         
        .google.privacy.dlp.v2.TableOptions table_options = 4;
      • getLabelsCount

        int getLabelsCount()
         Labels to represent user provided metadata about the data being inspected.
         If configured by the job, some key values may be required.
         The labels associated with `Finding`'s produced by hybrid
         inspection.
        
         Label keys must be between 1 and 63 characters long and must conform
         to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
        
         Label values must be between 0 and 63 characters long and must conform
         to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
        
         No more than 10 labels can be associated with a given finding.
        
         Examples:
         * `"environment" : "production"`
         * `"pipeline" : "etl"`
         
        map<string, string> labels = 5;
      • containsLabels

        boolean containsLabels​(String key)
         Labels to represent user provided metadata about the data being inspected.
         If configured by the job, some key values may be required.
         The labels associated with `Finding`'s produced by hybrid
         inspection.
        
         Label keys must be between 1 and 63 characters long and must conform
         to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
        
         Label values must be between 0 and 63 characters long and must conform
         to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
        
         No more than 10 labels can be associated with a given finding.
        
         Examples:
         * `"environment" : "production"`
         * `"pipeline" : "etl"`
         
        map<string, string> labels = 5;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels to represent user provided metadata about the data being inspected.
         If configured by the job, some key values may be required.
         The labels associated with `Finding`'s produced by hybrid
         inspection.
        
         Label keys must be between 1 and 63 characters long and must conform
         to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
        
         Label values must be between 0 and 63 characters long and must conform
         to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
        
         No more than 10 labels can be associated with a given finding.
        
         Examples:
         * `"environment" : "production"`
         * `"pipeline" : "etl"`
         
        map<string, string> labels = 5;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels to represent user provided metadata about the data being inspected.
         If configured by the job, some key values may be required.
         The labels associated with `Finding`'s produced by hybrid
         inspection.
        
         Label keys must be between 1 and 63 characters long and must conform
         to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
        
         Label values must be between 0 and 63 characters long and must conform
         to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
        
         No more than 10 labels can be associated with a given finding.
        
         Examples:
         * `"environment" : "production"`
         * `"pipeline" : "etl"`
         
        map<string, string> labels = 5;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels to represent user provided metadata about the data being inspected.
         If configured by the job, some key values may be required.
         The labels associated with `Finding`'s produced by hybrid
         inspection.
        
         Label keys must be between 1 and 63 characters long and must conform
         to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
        
         Label values must be between 0 and 63 characters long and must conform
         to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
        
         No more than 10 labels can be associated with a given finding.
        
         Examples:
         * `"environment" : "production"`
         * `"pipeline" : "etl"`
         
        map<string, string> labels = 5;