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/v1beta1/webrisk.proto 18 19 package com.google.webrisk.v1beta1; 20 21 public interface RawHashesOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.webrisk.v1beta1.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 * </pre> 33 * 34 * <code>int32 prefix_size = 1;</code> 35 * 36 * @return The prefixSize. 37 */ getPrefixSize()38 int getPrefixSize(); 39 40 /** 41 * 42 * 43 * <pre> 44 * The hashes, in binary format, concatenated into one long string. Hashes are 45 * sorted in lexicographic order. For JSON API users, hashes are 46 * base64-encoded. 47 * </pre> 48 * 49 * <code>bytes raw_hashes = 2;</code> 50 * 51 * @return The rawHashes. 52 */ getRawHashes()53 com.google.protobuf.ByteString getRawHashes(); 54 } 55