/
FirestoreStub.java
128 lines (109 loc) · 5.33 KB
/
FirestoreStub.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.firestore.v1.stub;
import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse;
import static com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.ServerStreamingCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.firestore.v1.BatchGetDocumentsRequest;
import com.google.firestore.v1.BatchGetDocumentsResponse;
import com.google.firestore.v1.BeginTransactionRequest;
import com.google.firestore.v1.BeginTransactionResponse;
import com.google.firestore.v1.CommitRequest;
import com.google.firestore.v1.CommitResponse;
import com.google.firestore.v1.CreateDocumentRequest;
import com.google.firestore.v1.DeleteDocumentRequest;
import com.google.firestore.v1.Document;
import com.google.firestore.v1.GetDocumentRequest;
import com.google.firestore.v1.ListCollectionIdsRequest;
import com.google.firestore.v1.ListCollectionIdsResponse;
import com.google.firestore.v1.ListDocumentsRequest;
import com.google.firestore.v1.ListDocumentsResponse;
import com.google.firestore.v1.ListenRequest;
import com.google.firestore.v1.ListenResponse;
import com.google.firestore.v1.RollbackRequest;
import com.google.firestore.v1.RunQueryRequest;
import com.google.firestore.v1.RunQueryResponse;
import com.google.firestore.v1.UpdateDocumentRequest;
import com.google.firestore.v1.WriteRequest;
import com.google.firestore.v1.WriteResponse;
import com.google.protobuf.Empty;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for Google Cloud Firestore API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public abstract class FirestoreStub implements BackgroundResource {
public UnaryCallable<GetDocumentRequest, Document> getDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: getDocumentCallable()");
}
public UnaryCallable<ListDocumentsRequest, ListDocumentsPagedResponse>
listDocumentsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDocumentsPagedCallable()");
}
public UnaryCallable<ListDocumentsRequest, ListDocumentsResponse> listDocumentsCallable() {
throw new UnsupportedOperationException("Not implemented: listDocumentsCallable()");
}
public UnaryCallable<CreateDocumentRequest, Document> createDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: createDocumentCallable()");
}
public UnaryCallable<UpdateDocumentRequest, Document> updateDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: updateDocumentCallable()");
}
public UnaryCallable<DeleteDocumentRequest, Empty> deleteDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: deleteDocumentCallable()");
}
public ServerStreamingCallable<BatchGetDocumentsRequest, BatchGetDocumentsResponse>
batchGetDocumentsCallable() {
throw new UnsupportedOperationException("Not implemented: batchGetDocumentsCallable()");
}
public UnaryCallable<BeginTransactionRequest, BeginTransactionResponse>
beginTransactionCallable() {
throw new UnsupportedOperationException("Not implemented: beginTransactionCallable()");
}
public UnaryCallable<CommitRequest, CommitResponse> commitCallable() {
throw new UnsupportedOperationException("Not implemented: commitCallable()");
}
public UnaryCallable<RollbackRequest, Empty> rollbackCallable() {
throw new UnsupportedOperationException("Not implemented: rollbackCallable()");
}
public ServerStreamingCallable<RunQueryRequest, RunQueryResponse> runQueryCallable() {
throw new UnsupportedOperationException("Not implemented: runQueryCallable()");
}
public BidiStreamingCallable<WriteRequest, WriteResponse> writeCallable() {
throw new UnsupportedOperationException("Not implemented: writeCallable()");
}
public BidiStreamingCallable<ListenRequest, ListenResponse> listenCallable() {
throw new UnsupportedOperationException("Not implemented: listenCallable()");
}
public UnaryCallable<ListCollectionIdsRequest, ListCollectionIdsPagedResponse>
listCollectionIdsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listCollectionIdsPagedCallable()");
}
public UnaryCallable<ListCollectionIdsRequest, ListCollectionIdsResponse>
listCollectionIdsCallable() {
throw new UnsupportedOperationException("Not implemented: listCollectionIdsCallable()");
}
@Override
public abstract void close();
}