• 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 SearchUrisRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.webrisk.v1.SearchUrisRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The URI to be checked for matches.
31    * </pre>
32    *
33    * <code>string uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
34    *
35    * @return The uri.
36    */
getUri()37   java.lang.String getUri();
38   /**
39    *
40    *
41    * <pre>
42    * Required. The URI to be checked for matches.
43    * </pre>
44    *
45    * <code>string uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
46    *
47    * @return The bytes for uri.
48    */
getUriBytes()49   com.google.protobuf.ByteString getUriBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
56    * </pre>
57    *
58    * <code>
59    * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
60    * </code>
61    *
62    * @return A list containing the threatTypes.
63    */
getThreatTypesList()64   java.util.List<com.google.webrisk.v1.ThreatType> getThreatTypesList();
65   /**
66    *
67    *
68    * <pre>
69    * Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
70    * </pre>
71    *
72    * <code>
73    * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
74    * </code>
75    *
76    * @return The count of threatTypes.
77    */
getThreatTypesCount()78   int getThreatTypesCount();
79   /**
80    *
81    *
82    * <pre>
83    * Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
84    * </pre>
85    *
86    * <code>
87    * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
88    * </code>
89    *
90    * @param index The index of the element to return.
91    * @return The threatTypes at the given index.
92    */
getThreatTypes(int index)93   com.google.webrisk.v1.ThreatType getThreatTypes(int index);
94   /**
95    *
96    *
97    * <pre>
98    * Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
99    * </pre>
100    *
101    * <code>
102    * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
103    * </code>
104    *
105    * @return A list containing the enum numeric values on the wire for threatTypes.
106    */
getThreatTypesValueList()107   java.util.List<java.lang.Integer> getThreatTypesValueList();
108   /**
109    *
110    *
111    * <pre>
112    * Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
113    * </pre>
114    *
115    * <code>
116    * repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
117    * </code>
118    *
119    * @param index The index of the value to return.
120    * @return The enum numeric value on the wire of threatTypes at the given index.
121    */
getThreatTypesValue(int index)122   int getThreatTypesValue(int index);
123 }
124