// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/privacy/dlp/v2beta1/dlp.proto

package com.google.privacy.dlp.v2beta1;

public interface ContentItemOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.ContentItem)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Type of the content, as defined in Content-Type HTTP header.
   * Supported types are: all "text" types, octet streams, PNG images,
   * JPEG images.
   * </pre>
   *
   * <code>string type = 1;</code>
   */
  java.lang.String getType();
  /**
   * <pre>
   * Type of the content, as defined in Content-Type HTTP header.
   * Supported types are: all "text" types, octet streams, PNG images,
   * JPEG images.
   * </pre>
   *
   * <code>string type = 1;</code>
   */
  com.google.protobuf.ByteString
      getTypeBytes();

  /**
   * <pre>
   * Content data to inspect or redact.
   * </pre>
   *
   * <code>bytes data = 2;</code>
   */
  com.google.protobuf.ByteString getData();

  /**
   * <pre>
   * String data to inspect or redact.
   * </pre>
   *
   * <code>string value = 3;</code>
   */
  java.lang.String getValue();
  /**
   * <pre>
   * String data to inspect or redact.
   * </pre>
   *
   * <code>string value = 3;</code>
   */
  com.google.protobuf.ByteString
      getValueBytes();

  /**
   * <pre>
   * Structured content for inspection.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.Table table = 4;</code>
   */
  boolean hasTable();
  /**
   * <pre>
   * Structured content for inspection.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.Table table = 4;</code>
   */
  com.google.privacy.dlp.v2beta1.Table getTable();
  /**
   * <pre>
   * Structured content for inspection.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.Table table = 4;</code>
   */
  com.google.privacy.dlp.v2beta1.TableOrBuilder getTableOrBuilder();

  public com.google.privacy.dlp.v2beta1.ContentItem.DataItemCase getDataItemCase();
}
