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.redis.v1beta1.stub; 18 19 import static com.google.cloud.redis.v1beta1.CloudRedisClient.ListInstancesPagedResponse; 20 21 import com.google.api.core.BetaApi; 22 import com.google.api.gax.core.BackgroundResource; 23 import com.google.api.gax.rpc.OperationCallable; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.redis.v1beta1.CreateInstanceRequest; 26 import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; 27 import com.google.cloud.redis.v1beta1.ExportInstanceRequest; 28 import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; 29 import com.google.cloud.redis.v1beta1.GetInstanceAuthStringRequest; 30 import com.google.cloud.redis.v1beta1.GetInstanceRequest; 31 import com.google.cloud.redis.v1beta1.ImportInstanceRequest; 32 import com.google.cloud.redis.v1beta1.Instance; 33 import com.google.cloud.redis.v1beta1.InstanceAuthString; 34 import com.google.cloud.redis.v1beta1.ListInstancesRequest; 35 import com.google.cloud.redis.v1beta1.ListInstancesResponse; 36 import com.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest; 37 import com.google.cloud.redis.v1beta1.UpdateInstanceRequest; 38 import com.google.cloud.redis.v1beta1.UpgradeInstanceRequest; 39 import com.google.longrunning.Operation; 40 import com.google.longrunning.stub.OperationsStub; 41 import com.google.protobuf.Any; 42 import com.google.protobuf.Empty; 43 import javax.annotation.Generated; 44 45 // AUTO-GENERATED DOCUMENTATION AND CLASS. 46 /** 47 * Base stub class for the CloudRedis service API. 48 * 49 * <p>This class is for advanced usage and reflects the underlying API directly. 50 */ 51 @BetaApi 52 @Generated("by gapic-generator-java") 53 public abstract class CloudRedisStub implements BackgroundResource { 54 getOperationsStub()55 public OperationsStub getOperationsStub() { 56 return null; 57 } 58 getHttpJsonOperationsStub()59 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 60 return null; 61 } 62 63 public UnaryCallable<ListInstancesRequest, ListInstancesPagedResponse> listInstancesPagedCallable()64 listInstancesPagedCallable() { 65 throw new UnsupportedOperationException("Not implemented: listInstancesPagedCallable()"); 66 } 67 listInstancesCallable()68 public UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInstancesCallable() { 69 throw new UnsupportedOperationException("Not implemented: listInstancesCallable()"); 70 } 71 getInstanceCallable()72 public UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() { 73 throw new UnsupportedOperationException("Not implemented: getInstanceCallable()"); 74 } 75 76 public UnaryCallable<GetInstanceAuthStringRequest, InstanceAuthString> getInstanceAuthStringCallable()77 getInstanceAuthStringCallable() { 78 throw new UnsupportedOperationException("Not implemented: getInstanceAuthStringCallable()"); 79 } 80 createInstanceOperationCallable()81 public OperationCallable<CreateInstanceRequest, Instance, Any> createInstanceOperationCallable() { 82 throw new UnsupportedOperationException("Not implemented: createInstanceOperationCallable()"); 83 } 84 createInstanceCallable()85 public UnaryCallable<CreateInstanceRequest, Operation> createInstanceCallable() { 86 throw new UnsupportedOperationException("Not implemented: createInstanceCallable()"); 87 } 88 updateInstanceOperationCallable()89 public OperationCallable<UpdateInstanceRequest, Instance, Any> updateInstanceOperationCallable() { 90 throw new UnsupportedOperationException("Not implemented: updateInstanceOperationCallable()"); 91 } 92 updateInstanceCallable()93 public UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCallable() { 94 throw new UnsupportedOperationException("Not implemented: updateInstanceCallable()"); 95 } 96 97 public OperationCallable<UpgradeInstanceRequest, Instance, Any> upgradeInstanceOperationCallable()98 upgradeInstanceOperationCallable() { 99 throw new UnsupportedOperationException("Not implemented: upgradeInstanceOperationCallable()"); 100 } 101 upgradeInstanceCallable()102 public UnaryCallable<UpgradeInstanceRequest, Operation> upgradeInstanceCallable() { 103 throw new UnsupportedOperationException("Not implemented: upgradeInstanceCallable()"); 104 } 105 importInstanceOperationCallable()106 public OperationCallable<ImportInstanceRequest, Instance, Any> importInstanceOperationCallable() { 107 throw new UnsupportedOperationException("Not implemented: importInstanceOperationCallable()"); 108 } 109 importInstanceCallable()110 public UnaryCallable<ImportInstanceRequest, Operation> importInstanceCallable() { 111 throw new UnsupportedOperationException("Not implemented: importInstanceCallable()"); 112 } 113 exportInstanceOperationCallable()114 public OperationCallable<ExportInstanceRequest, Instance, Any> exportInstanceOperationCallable() { 115 throw new UnsupportedOperationException("Not implemented: exportInstanceOperationCallable()"); 116 } 117 exportInstanceCallable()118 public UnaryCallable<ExportInstanceRequest, Operation> exportInstanceCallable() { 119 throw new UnsupportedOperationException("Not implemented: exportInstanceCallable()"); 120 } 121 122 public OperationCallable<FailoverInstanceRequest, Instance, Any> failoverInstanceOperationCallable()123 failoverInstanceOperationCallable() { 124 throw new UnsupportedOperationException("Not implemented: failoverInstanceOperationCallable()"); 125 } 126 failoverInstanceCallable()127 public UnaryCallable<FailoverInstanceRequest, Operation> failoverInstanceCallable() { 128 throw new UnsupportedOperationException("Not implemented: failoverInstanceCallable()"); 129 } 130 deleteInstanceOperationCallable()131 public OperationCallable<DeleteInstanceRequest, Empty, Any> deleteInstanceOperationCallable() { 132 throw new UnsupportedOperationException("Not implemented: deleteInstanceOperationCallable()"); 133 } 134 deleteInstanceCallable()135 public UnaryCallable<DeleteInstanceRequest, Operation> deleteInstanceCallable() { 136 throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()"); 137 } 138 139 public OperationCallable<RescheduleMaintenanceRequest, Instance, Any> rescheduleMaintenanceOperationCallable()140 rescheduleMaintenanceOperationCallable() { 141 throw new UnsupportedOperationException( 142 "Not implemented: rescheduleMaintenanceOperationCallable()"); 143 } 144 rescheduleMaintenanceCallable()145 public UnaryCallable<RescheduleMaintenanceRequest, Operation> rescheduleMaintenanceCallable() { 146 throw new UnsupportedOperationException("Not implemented: rescheduleMaintenanceCallable()"); 147 } 148 149 @Override close()150 public abstract void close(); 151 } 152