• 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/cloud/webrisk/v1/webrisk.proto
18 
19 package com.google.webrisk.v1;
20 
21 public interface RawHashesOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.webrisk.v1.RawHashes)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The number of bytes for each prefix encoded below.  This field can be
31    * anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
32    * In practice this is almost always 4, except in exceptional circumstances.
33    * </pre>
34    *
35    * <code>int32 prefix_size = 1;</code>
36    *
37    * @return The prefixSize.
38    */
getPrefixSize()39   int getPrefixSize();
40 
41   /**
42    *
43    *
44    * <pre>
45    * The hashes, in binary format, concatenated into one long string. Hashes are
46    * sorted in lexicographic order. For JSON API users, hashes are
47    * base64-encoded.
48    * </pre>
49    *
50    * <code>bytes raw_hashes = 2;</code>
51    *
52    * @return The rawHashes.
53    */
getRawHashes()54   com.google.protobuf.ByteString getRawHashes();
55 }
56