• 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 io.grafeas.v1.stub;
18 
19 import static io.grafeas.v1.GrafeasClient.ListNoteOccurrencesPagedResponse;
20 import static io.grafeas.v1.GrafeasClient.ListNotesPagedResponse;
21 import static io.grafeas.v1.GrafeasClient.ListOccurrencesPagedResponse;
22 
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.protobuf.Empty;
26 import io.grafeas.v1.BatchCreateNotesRequest;
27 import io.grafeas.v1.BatchCreateNotesResponse;
28 import io.grafeas.v1.BatchCreateOccurrencesRequest;
29 import io.grafeas.v1.BatchCreateOccurrencesResponse;
30 import io.grafeas.v1.CreateNoteRequest;
31 import io.grafeas.v1.CreateOccurrenceRequest;
32 import io.grafeas.v1.DeleteNoteRequest;
33 import io.grafeas.v1.DeleteOccurrenceRequest;
34 import io.grafeas.v1.GetNoteRequest;
35 import io.grafeas.v1.GetOccurrenceNoteRequest;
36 import io.grafeas.v1.GetOccurrenceRequest;
37 import io.grafeas.v1.ListNoteOccurrencesRequest;
38 import io.grafeas.v1.ListNoteOccurrencesResponse;
39 import io.grafeas.v1.ListNotesRequest;
40 import io.grafeas.v1.ListNotesResponse;
41 import io.grafeas.v1.ListOccurrencesRequest;
42 import io.grafeas.v1.ListOccurrencesResponse;
43 import io.grafeas.v1.Note;
44 import io.grafeas.v1.Occurrence;
45 import io.grafeas.v1.UpdateNoteRequest;
46 import io.grafeas.v1.UpdateOccurrenceRequest;
47 import javax.annotation.Generated;
48 
49 // AUTO-GENERATED DOCUMENTATION AND CLASS.
50 /**
51  * Base stub class for the Grafeas service API.
52  *
53  * <p>This class is for advanced usage and reflects the underlying API directly.
54  */
55 @Generated("by gapic-generator-java")
56 public abstract class GrafeasStub implements BackgroundResource {
57 
getOccurrenceCallable()58   public UnaryCallable<GetOccurrenceRequest, Occurrence> getOccurrenceCallable() {
59     throw new UnsupportedOperationException("Not implemented: getOccurrenceCallable()");
60   }
61 
62   public UnaryCallable<ListOccurrencesRequest, ListOccurrencesPagedResponse>
listOccurrencesPagedCallable()63       listOccurrencesPagedCallable() {
64     throw new UnsupportedOperationException("Not implemented: listOccurrencesPagedCallable()");
65   }
66 
listOccurrencesCallable()67   public UnaryCallable<ListOccurrencesRequest, ListOccurrencesResponse> listOccurrencesCallable() {
68     throw new UnsupportedOperationException("Not implemented: listOccurrencesCallable()");
69   }
70 
deleteOccurrenceCallable()71   public UnaryCallable<DeleteOccurrenceRequest, Empty> deleteOccurrenceCallable() {
72     throw new UnsupportedOperationException("Not implemented: deleteOccurrenceCallable()");
73   }
74 
createOccurrenceCallable()75   public UnaryCallable<CreateOccurrenceRequest, Occurrence> createOccurrenceCallable() {
76     throw new UnsupportedOperationException("Not implemented: createOccurrenceCallable()");
77   }
78 
79   public UnaryCallable<BatchCreateOccurrencesRequest, BatchCreateOccurrencesResponse>
batchCreateOccurrencesCallable()80       batchCreateOccurrencesCallable() {
81     throw new UnsupportedOperationException("Not implemented: batchCreateOccurrencesCallable()");
82   }
83 
updateOccurrenceCallable()84   public UnaryCallable<UpdateOccurrenceRequest, Occurrence> updateOccurrenceCallable() {
85     throw new UnsupportedOperationException("Not implemented: updateOccurrenceCallable()");
86   }
87 
getOccurrenceNoteCallable()88   public UnaryCallable<GetOccurrenceNoteRequest, Note> getOccurrenceNoteCallable() {
89     throw new UnsupportedOperationException("Not implemented: getOccurrenceNoteCallable()");
90   }
91 
getNoteCallable()92   public UnaryCallable<GetNoteRequest, Note> getNoteCallable() {
93     throw new UnsupportedOperationException("Not implemented: getNoteCallable()");
94   }
95 
listNotesPagedCallable()96   public UnaryCallable<ListNotesRequest, ListNotesPagedResponse> listNotesPagedCallable() {
97     throw new UnsupportedOperationException("Not implemented: listNotesPagedCallable()");
98   }
99 
listNotesCallable()100   public UnaryCallable<ListNotesRequest, ListNotesResponse> listNotesCallable() {
101     throw new UnsupportedOperationException("Not implemented: listNotesCallable()");
102   }
103 
deleteNoteCallable()104   public UnaryCallable<DeleteNoteRequest, Empty> deleteNoteCallable() {
105     throw new UnsupportedOperationException("Not implemented: deleteNoteCallable()");
106   }
107 
createNoteCallable()108   public UnaryCallable<CreateNoteRequest, Note> createNoteCallable() {
109     throw new UnsupportedOperationException("Not implemented: createNoteCallable()");
110   }
111 
112   public UnaryCallable<BatchCreateNotesRequest, BatchCreateNotesResponse>
batchCreateNotesCallable()113       batchCreateNotesCallable() {
114     throw new UnsupportedOperationException("Not implemented: batchCreateNotesCallable()");
115   }
116 
updateNoteCallable()117   public UnaryCallable<UpdateNoteRequest, Note> updateNoteCallable() {
118     throw new UnsupportedOperationException("Not implemented: updateNoteCallable()");
119   }
120 
121   public UnaryCallable<ListNoteOccurrencesRequest, ListNoteOccurrencesPagedResponse>
listNoteOccurrencesPagedCallable()122       listNoteOccurrencesPagedCallable() {
123     throw new UnsupportedOperationException("Not implemented: listNoteOccurrencesPagedCallable()");
124   }
125 
126   public UnaryCallable<ListNoteOccurrencesRequest, ListNoteOccurrencesResponse>
listNoteOccurrencesCallable()127       listNoteOccurrencesCallable() {
128     throw new UnsupportedOperationException("Not implemented: listNoteOccurrencesCallable()");
129   }
130 
131   @Override
close()132   public abstract void close();
133 }
134