• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 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 
17 package com.google.cloud.webrisk.v1.stub;
18 
19 import com.google.api.gax.core.BackgroundResource;
20 import com.google.api.gax.rpc.UnaryCallable;
21 import com.google.webrisk.v1.ComputeThreatListDiffRequest;
22 import com.google.webrisk.v1.ComputeThreatListDiffResponse;
23 import com.google.webrisk.v1.CreateSubmissionRequest;
24 import com.google.webrisk.v1.SearchHashesRequest;
25 import com.google.webrisk.v1.SearchHashesResponse;
26 import com.google.webrisk.v1.SearchUrisRequest;
27 import com.google.webrisk.v1.SearchUrisResponse;
28 import com.google.webrisk.v1.Submission;
29 import javax.annotation.Generated;
30 
31 // AUTO-GENERATED DOCUMENTATION AND CLASS.
32 /**
33  * Base stub class for the WebRiskService service API.
34  *
35  * <p>This class is for advanced usage and reflects the underlying API directly.
36  */
37 @Generated("by gapic-generator-java")
38 public abstract class WebRiskServiceStub implements BackgroundResource {
39 
40   public UnaryCallable<ComputeThreatListDiffRequest, ComputeThreatListDiffResponse>
computeThreatListDiffCallable()41       computeThreatListDiffCallable() {
42     throw new UnsupportedOperationException("Not implemented: computeThreatListDiffCallable()");
43   }
44 
searchUrisCallable()45   public UnaryCallable<SearchUrisRequest, SearchUrisResponse> searchUrisCallable() {
46     throw new UnsupportedOperationException("Not implemented: searchUrisCallable()");
47   }
48 
searchHashesCallable()49   public UnaryCallable<SearchHashesRequest, SearchHashesResponse> searchHashesCallable() {
50     throw new UnsupportedOperationException("Not implemented: searchHashesCallable()");
51   }
52 
createSubmissionCallable()53   public UnaryCallable<CreateSubmissionRequest, Submission> createSubmissionCallable() {
54     throw new UnsupportedOperationException("Not implemented: createSubmissionCallable()");
55   }
56 
57   @Override
close()58   public abstract void close();
59 }
60