• 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.retail.v2.stub;
18 
19 import static com.google.cloud.retail.v2.CatalogServiceClient.ListCatalogsPagedResponse;
20 
21 import com.google.api.gax.core.BackgroundResource;
22 import com.google.api.gax.rpc.UnaryCallable;
23 import com.google.cloud.retail.v2.AddCatalogAttributeRequest;
24 import com.google.cloud.retail.v2.AttributesConfig;
25 import com.google.cloud.retail.v2.Catalog;
26 import com.google.cloud.retail.v2.CompletionConfig;
27 import com.google.cloud.retail.v2.GetAttributesConfigRequest;
28 import com.google.cloud.retail.v2.GetCompletionConfigRequest;
29 import com.google.cloud.retail.v2.GetDefaultBranchRequest;
30 import com.google.cloud.retail.v2.GetDefaultBranchResponse;
31 import com.google.cloud.retail.v2.ListCatalogsRequest;
32 import com.google.cloud.retail.v2.ListCatalogsResponse;
33 import com.google.cloud.retail.v2.RemoveCatalogAttributeRequest;
34 import com.google.cloud.retail.v2.ReplaceCatalogAttributeRequest;
35 import com.google.cloud.retail.v2.SetDefaultBranchRequest;
36 import com.google.cloud.retail.v2.UpdateAttributesConfigRequest;
37 import com.google.cloud.retail.v2.UpdateCatalogRequest;
38 import com.google.cloud.retail.v2.UpdateCompletionConfigRequest;
39 import com.google.protobuf.Empty;
40 import javax.annotation.Generated;
41 
42 // AUTO-GENERATED DOCUMENTATION AND CLASS.
43 /**
44  * Base stub class for the CatalogService service API.
45  *
46  * <p>This class is for advanced usage and reflects the underlying API directly.
47  */
48 @Generated("by gapic-generator-java")
49 public abstract class CatalogServiceStub implements BackgroundResource {
50 
listCatalogsPagedCallable()51   public UnaryCallable<ListCatalogsRequest, ListCatalogsPagedResponse> listCatalogsPagedCallable() {
52     throw new UnsupportedOperationException("Not implemented: listCatalogsPagedCallable()");
53   }
54 
listCatalogsCallable()55   public UnaryCallable<ListCatalogsRequest, ListCatalogsResponse> listCatalogsCallable() {
56     throw new UnsupportedOperationException("Not implemented: listCatalogsCallable()");
57   }
58 
updateCatalogCallable()59   public UnaryCallable<UpdateCatalogRequest, Catalog> updateCatalogCallable() {
60     throw new UnsupportedOperationException("Not implemented: updateCatalogCallable()");
61   }
62 
setDefaultBranchCallable()63   public UnaryCallable<SetDefaultBranchRequest, Empty> setDefaultBranchCallable() {
64     throw new UnsupportedOperationException("Not implemented: setDefaultBranchCallable()");
65   }
66 
67   public UnaryCallable<GetDefaultBranchRequest, GetDefaultBranchResponse>
getDefaultBranchCallable()68       getDefaultBranchCallable() {
69     throw new UnsupportedOperationException("Not implemented: getDefaultBranchCallable()");
70   }
71 
getCompletionConfigCallable()72   public UnaryCallable<GetCompletionConfigRequest, CompletionConfig> getCompletionConfigCallable() {
73     throw new UnsupportedOperationException("Not implemented: getCompletionConfigCallable()");
74   }
75 
76   public UnaryCallable<UpdateCompletionConfigRequest, CompletionConfig>
updateCompletionConfigCallable()77       updateCompletionConfigCallable() {
78     throw new UnsupportedOperationException("Not implemented: updateCompletionConfigCallable()");
79   }
80 
getAttributesConfigCallable()81   public UnaryCallable<GetAttributesConfigRequest, AttributesConfig> getAttributesConfigCallable() {
82     throw new UnsupportedOperationException("Not implemented: getAttributesConfigCallable()");
83   }
84 
85   public UnaryCallable<UpdateAttributesConfigRequest, AttributesConfig>
updateAttributesConfigCallable()86       updateAttributesConfigCallable() {
87     throw new UnsupportedOperationException("Not implemented: updateAttributesConfigCallable()");
88   }
89 
addCatalogAttributeCallable()90   public UnaryCallable<AddCatalogAttributeRequest, AttributesConfig> addCatalogAttributeCallable() {
91     throw new UnsupportedOperationException("Not implemented: addCatalogAttributeCallable()");
92   }
93 
94   public UnaryCallable<RemoveCatalogAttributeRequest, AttributesConfig>
removeCatalogAttributeCallable()95       removeCatalogAttributeCallable() {
96     throw new UnsupportedOperationException("Not implemented: removeCatalogAttributeCallable()");
97   }
98 
99   public UnaryCallable<ReplaceCatalogAttributeRequest, AttributesConfig>
replaceCatalogAttributeCallable()100       replaceCatalogAttributeCallable() {
101     throw new UnsupportedOperationException("Not implemented: replaceCatalogAttributeCallable()");
102   }
103 
104   @Override
close()105   public abstract void close();
106 }
107