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.dataproc.v1.stub; 18 19 import static com.google.cloud.dataproc.v1.ClusterControllerClient.ListClustersPagedResponse; 20 21 import com.google.api.gax.core.BackgroundResource; 22 import com.google.api.gax.rpc.OperationCallable; 23 import com.google.api.gax.rpc.UnaryCallable; 24 import com.google.cloud.dataproc.v1.Cluster; 25 import com.google.cloud.dataproc.v1.ClusterOperationMetadata; 26 import com.google.cloud.dataproc.v1.CreateClusterRequest; 27 import com.google.cloud.dataproc.v1.DeleteClusterRequest; 28 import com.google.cloud.dataproc.v1.DiagnoseClusterRequest; 29 import com.google.cloud.dataproc.v1.DiagnoseClusterResults; 30 import com.google.cloud.dataproc.v1.GetClusterRequest; 31 import com.google.cloud.dataproc.v1.ListClustersRequest; 32 import com.google.cloud.dataproc.v1.ListClustersResponse; 33 import com.google.cloud.dataproc.v1.StartClusterRequest; 34 import com.google.cloud.dataproc.v1.StopClusterRequest; 35 import com.google.cloud.dataproc.v1.UpdateClusterRequest; 36 import com.google.longrunning.Operation; 37 import com.google.longrunning.stub.OperationsStub; 38 import com.google.protobuf.Empty; 39 import javax.annotation.Generated; 40 41 // AUTO-GENERATED DOCUMENTATION AND CLASS. 42 /** 43 * Base stub class for the ClusterController service API. 44 * 45 * <p>This class is for advanced usage and reflects the underlying API directly. 46 */ 47 @Generated("by gapic-generator-java") 48 public abstract class ClusterControllerStub implements BackgroundResource { 49 getOperationsStub()50 public OperationsStub getOperationsStub() { 51 return null; 52 } 53 getHttpJsonOperationsStub()54 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 55 return null; 56 } 57 58 public OperationCallable<CreateClusterRequest, Cluster, ClusterOperationMetadata> createClusterOperationCallable()59 createClusterOperationCallable() { 60 throw new UnsupportedOperationException("Not implemented: createClusterOperationCallable()"); 61 } 62 createClusterCallable()63 public UnaryCallable<CreateClusterRequest, Operation> createClusterCallable() { 64 throw new UnsupportedOperationException("Not implemented: createClusterCallable()"); 65 } 66 67 public OperationCallable<UpdateClusterRequest, Cluster, ClusterOperationMetadata> updateClusterOperationCallable()68 updateClusterOperationCallable() { 69 throw new UnsupportedOperationException("Not implemented: updateClusterOperationCallable()"); 70 } 71 updateClusterCallable()72 public UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallable() { 73 throw new UnsupportedOperationException("Not implemented: updateClusterCallable()"); 74 } 75 76 public OperationCallable<StopClusterRequest, Cluster, ClusterOperationMetadata> stopClusterOperationCallable()77 stopClusterOperationCallable() { 78 throw new UnsupportedOperationException("Not implemented: stopClusterOperationCallable()"); 79 } 80 stopClusterCallable()81 public UnaryCallable<StopClusterRequest, Operation> stopClusterCallable() { 82 throw new UnsupportedOperationException("Not implemented: stopClusterCallable()"); 83 } 84 85 public OperationCallable<StartClusterRequest, Cluster, ClusterOperationMetadata> startClusterOperationCallable()86 startClusterOperationCallable() { 87 throw new UnsupportedOperationException("Not implemented: startClusterOperationCallable()"); 88 } 89 startClusterCallable()90 public UnaryCallable<StartClusterRequest, Operation> startClusterCallable() { 91 throw new UnsupportedOperationException("Not implemented: startClusterCallable()"); 92 } 93 94 public OperationCallable<DeleteClusterRequest, Empty, ClusterOperationMetadata> deleteClusterOperationCallable()95 deleteClusterOperationCallable() { 96 throw new UnsupportedOperationException("Not implemented: deleteClusterOperationCallable()"); 97 } 98 deleteClusterCallable()99 public UnaryCallable<DeleteClusterRequest, Operation> deleteClusterCallable() { 100 throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); 101 } 102 getClusterCallable()103 public UnaryCallable<GetClusterRequest, Cluster> getClusterCallable() { 104 throw new UnsupportedOperationException("Not implemented: getClusterCallable()"); 105 } 106 listClustersPagedCallable()107 public UnaryCallable<ListClustersRequest, ListClustersPagedResponse> listClustersPagedCallable() { 108 throw new UnsupportedOperationException("Not implemented: listClustersPagedCallable()"); 109 } 110 listClustersCallable()111 public UnaryCallable<ListClustersRequest, ListClustersResponse> listClustersCallable() { 112 throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); 113 } 114 115 public OperationCallable<DiagnoseClusterRequest, DiagnoseClusterResults, ClusterOperationMetadata> diagnoseClusterOperationCallable()116 diagnoseClusterOperationCallable() { 117 throw new UnsupportedOperationException("Not implemented: diagnoseClusterOperationCallable()"); 118 } 119 diagnoseClusterCallable()120 public UnaryCallable<DiagnoseClusterRequest, Operation> diagnoseClusterCallable() { 121 throw new UnsupportedOperationException("Not implemented: diagnoseClusterCallable()"); 122 } 123 124 @Override close()125 public abstract void close(); 126 } 127