• 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 com.google.cloud.recommender.v1.stub;
18 
19 import static com.google.cloud.recommender.v1.RecommenderClient.ListInsightsPagedResponse;
20 import static com.google.cloud.recommender.v1.RecommenderClient.ListRecommendationsPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.recommender.v1.GetInsightRequest;
25 import com.google.cloud.recommender.v1.GetInsightTypeConfigRequest;
26 import com.google.cloud.recommender.v1.GetRecommendationRequest;
27 import com.google.cloud.recommender.v1.GetRecommenderConfigRequest;
28 import com.google.cloud.recommender.v1.Insight;
29 import com.google.cloud.recommender.v1.InsightTypeConfig;
30 import com.google.cloud.recommender.v1.ListInsightsRequest;
31 import com.google.cloud.recommender.v1.ListInsightsResponse;
32 import com.google.cloud.recommender.v1.ListRecommendationsRequest;
33 import com.google.cloud.recommender.v1.ListRecommendationsResponse;
34 import com.google.cloud.recommender.v1.MarkInsightAcceptedRequest;
35 import com.google.cloud.recommender.v1.MarkRecommendationClaimedRequest;
36 import com.google.cloud.recommender.v1.MarkRecommendationFailedRequest;
37 import com.google.cloud.recommender.v1.MarkRecommendationSucceededRequest;
38 import com.google.cloud.recommender.v1.Recommendation;
39 import com.google.cloud.recommender.v1.RecommenderConfig;
40 import com.google.cloud.recommender.v1.UpdateInsightTypeConfigRequest;
41 import com.google.cloud.recommender.v1.UpdateRecommenderConfigRequest;
42 import javax.annotation.Generated;
43 
44 // AUTO-GENERATED DOCUMENTATION AND CLASS.
45 /**
46  * Base stub class for the Recommender service API.
47  *
48  * <p>This class is for advanced usage and reflects the underlying API directly.
49  */
50 @Generated("by gapic-generator-java")
51 public abstract class RecommenderStub implements BackgroundResource {
52 
listInsightsPagedCallable()53   public UnaryCallable<ListInsightsRequest, ListInsightsPagedResponse> listInsightsPagedCallable() {
54     throw new UnsupportedOperationException("Not implemented: listInsightsPagedCallable()");
55   }
56 
listInsightsCallable()57   public UnaryCallable<ListInsightsRequest, ListInsightsResponse> listInsightsCallable() {
58     throw new UnsupportedOperationException("Not implemented: listInsightsCallable()");
59   }
60 
getInsightCallable()61   public UnaryCallable<GetInsightRequest, Insight> getInsightCallable() {
62     throw new UnsupportedOperationException("Not implemented: getInsightCallable()");
63   }
64 
markInsightAcceptedCallable()65   public UnaryCallable<MarkInsightAcceptedRequest, Insight> markInsightAcceptedCallable() {
66     throw new UnsupportedOperationException("Not implemented: markInsightAcceptedCallable()");
67   }
68 
69   public UnaryCallable<ListRecommendationsRequest, ListRecommendationsPagedResponse>
listRecommendationsPagedCallable()70       listRecommendationsPagedCallable() {
71     throw new UnsupportedOperationException("Not implemented: listRecommendationsPagedCallable()");
72   }
73 
74   public UnaryCallable<ListRecommendationsRequest, ListRecommendationsResponse>
listRecommendationsCallable()75       listRecommendationsCallable() {
76     throw new UnsupportedOperationException("Not implemented: listRecommendationsCallable()");
77   }
78 
getRecommendationCallable()79   public UnaryCallable<GetRecommendationRequest, Recommendation> getRecommendationCallable() {
80     throw new UnsupportedOperationException("Not implemented: getRecommendationCallable()");
81   }
82 
83   public UnaryCallable<MarkRecommendationClaimedRequest, Recommendation>
markRecommendationClaimedCallable()84       markRecommendationClaimedCallable() {
85     throw new UnsupportedOperationException("Not implemented: markRecommendationClaimedCallable()");
86   }
87 
88   public UnaryCallable<MarkRecommendationSucceededRequest, Recommendation>
markRecommendationSucceededCallable()89       markRecommendationSucceededCallable() {
90     throw new UnsupportedOperationException(
91         "Not implemented: markRecommendationSucceededCallable()");
92   }
93 
94   public UnaryCallable<MarkRecommendationFailedRequest, Recommendation>
markRecommendationFailedCallable()95       markRecommendationFailedCallable() {
96     throw new UnsupportedOperationException("Not implemented: markRecommendationFailedCallable()");
97   }
98 
99   public UnaryCallable<GetRecommenderConfigRequest, RecommenderConfig>
getRecommenderConfigCallable()100       getRecommenderConfigCallable() {
101     throw new UnsupportedOperationException("Not implemented: getRecommenderConfigCallable()");
102   }
103 
104   public UnaryCallable<UpdateRecommenderConfigRequest, RecommenderConfig>
updateRecommenderConfigCallable()105       updateRecommenderConfigCallable() {
106     throw new UnsupportedOperationException("Not implemented: updateRecommenderConfigCallable()");
107   }
108 
109   public UnaryCallable<GetInsightTypeConfigRequest, InsightTypeConfig>
getInsightTypeConfigCallable()110       getInsightTypeConfigCallable() {
111     throw new UnsupportedOperationException("Not implemented: getInsightTypeConfigCallable()");
112   }
113 
114   public UnaryCallable<UpdateInsightTypeConfigRequest, InsightTypeConfig>
updateInsightTypeConfigCallable()115       updateInsightTypeConfigCallable() {
116     throw new UnsupportedOperationException("Not implemented: updateInsightTypeConfigCallable()");
117   }
118 
119   @Override
close()120   public abstract void close();
121 }
122