This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
/
CloudRedisStub.java
136 lines (114 loc) · 6.26 KB
/
CloudRedisStub.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
129
130
131
132
133
134
135
136
/*
* 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.redis.v1beta1.stub;
import static com.google.cloud.redis.v1beta1.CloudRedisClient.ListInstancesPagedResponse;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.redis.v1beta1.CreateInstanceRequest;
import com.google.cloud.redis.v1beta1.DeleteInstanceRequest;
import com.google.cloud.redis.v1beta1.ExportInstanceRequest;
import com.google.cloud.redis.v1beta1.FailoverInstanceRequest;
import com.google.cloud.redis.v1beta1.GetInstanceRequest;
import com.google.cloud.redis.v1beta1.ImportInstanceRequest;
import com.google.cloud.redis.v1beta1.Instance;
import com.google.cloud.redis.v1beta1.ListInstancesRequest;
import com.google.cloud.redis.v1beta1.ListInstancesResponse;
import com.google.cloud.redis.v1beta1.UpdateInstanceRequest;
import com.google.cloud.redis.v1beta1.UpgradeInstanceRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Any;
import com.google.protobuf.Empty;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for Google Cloud Memorystore for Redis 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 CloudRedisStub implements BackgroundResource {
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationsStub getOperationsStub() {
throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateInstanceRequest, Instance, Any> createInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createInstanceOperationCallable()");
}
public UnaryCallable<CreateInstanceRequest, Operation> createInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: createInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpdateInstanceRequest, Instance, Any> updateInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updateInstanceOperationCallable()");
}
public UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: updateInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<ImportInstanceRequest, Instance, Any> importInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: importInstanceOperationCallable()");
}
public UnaryCallable<ImportInstanceRequest, Operation> importInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: importInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<ExportInstanceRequest, Instance, Any> exportInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: exportInstanceOperationCallable()");
}
public UnaryCallable<ExportInstanceRequest, Operation> exportInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: exportInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<FailoverInstanceRequest, Instance, Any>
failoverInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: failoverInstanceOperationCallable()");
}
public UnaryCallable<FailoverInstanceRequest, Operation> failoverInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: failoverInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<DeleteInstanceRequest, Empty, Any> deleteInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteInstanceOperationCallable()");
}
public UnaryCallable<DeleteInstanceRequest, Operation> deleteInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()");
}
public UnaryCallable<ListInstancesRequest, ListInstancesPagedResponse>
listInstancesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listInstancesPagedCallable()");
}
public UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInstancesCallable() {
throw new UnsupportedOperationException("Not implemented: listInstancesCallable()");
}
public UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: getInstanceCallable()");
}
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpgradeInstanceRequest, Instance, Any>
upgradeInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: upgradeInstanceOperationCallable()");
}
public UnaryCallable<UpgradeInstanceRequest, Operation> upgradeInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: upgradeInstanceCallable()");
}
@Override
public abstract void close();
}