• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/privacy/dlp/v2/dlp.proto
18 
19 package com.google.privacy.dlp.v2;
20 
21 public interface ByteContentItemOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ByteContentItem)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
31    * </pre>
32    *
33    * <code>.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;</code>
34    *
35    * @return The enum numeric value on the wire for type.
36    */
getTypeValue()37   int getTypeValue();
38   /**
39    *
40    *
41    * <pre>
42    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
43    * </pre>
44    *
45    * <code>.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;</code>
46    *
47    * @return The type.
48    */
getType()49   com.google.privacy.dlp.v2.ByteContentItem.BytesType getType();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Content data to inspect or redact.
56    * </pre>
57    *
58    * <code>bytes data = 2;</code>
59    *
60    * @return The data.
61    */
getData()62   com.google.protobuf.ByteString getData();
63 }
64