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 ThreatEntryRemovalsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.webrisk.v1.ThreatEntryRemovals) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The raw removal indices for a local list. 31 * </pre> 32 * 33 * <code>.google.cloud.webrisk.v1.RawIndices raw_indices = 1;</code> 34 * 35 * @return Whether the rawIndices field is set. 36 */ hasRawIndices()37 boolean hasRawIndices(); 38 /** 39 * 40 * 41 * <pre> 42 * The raw removal indices for a local list. 43 * </pre> 44 * 45 * <code>.google.cloud.webrisk.v1.RawIndices raw_indices = 1;</code> 46 * 47 * @return The rawIndices. 48 */ getRawIndices()49 com.google.webrisk.v1.RawIndices getRawIndices(); 50 /** 51 * 52 * 53 * <pre> 54 * The raw removal indices for a local list. 55 * </pre> 56 * 57 * <code>.google.cloud.webrisk.v1.RawIndices raw_indices = 1;</code> 58 */ getRawIndicesOrBuilder()59 com.google.webrisk.v1.RawIndicesOrBuilder getRawIndicesOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * The encoded local, lexicographically-sorted list indices, using a 66 * Golomb-Rice encoding. Used for sending compressed removal indices. The 67 * removal indices (uint32) are sorted in ascending order, then delta encoded 68 * and stored as encoded_data. 69 * </pre> 70 * 71 * <code>.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;</code> 72 * 73 * @return Whether the riceIndices field is set. 74 */ hasRiceIndices()75 boolean hasRiceIndices(); 76 /** 77 * 78 * 79 * <pre> 80 * The encoded local, lexicographically-sorted list indices, using a 81 * Golomb-Rice encoding. Used for sending compressed removal indices. The 82 * removal indices (uint32) are sorted in ascending order, then delta encoded 83 * and stored as encoded_data. 84 * </pre> 85 * 86 * <code>.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;</code> 87 * 88 * @return The riceIndices. 89 */ getRiceIndices()90 com.google.webrisk.v1.RiceDeltaEncoding getRiceIndices(); 91 /** 92 * 93 * 94 * <pre> 95 * The encoded local, lexicographically-sorted list indices, using a 96 * Golomb-Rice encoding. Used for sending compressed removal indices. The 97 * removal indices (uint32) are sorted in ascending order, then delta encoded 98 * and stored as encoded_data. 99 * </pre> 100 * 101 * <code>.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;</code> 102 */ getRiceIndicesOrBuilder()103 com.google.webrisk.v1.RiceDeltaEncodingOrBuilder getRiceIndicesOrBuilder(); 104 } 105