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.speech.v1p1beta1.stub; 18 19 import static com.google.cloud.speech.v1p1beta1.AdaptationClient.ListCustomClassesPagedResponse; 20 import static com.google.cloud.speech.v1p1beta1.AdaptationClient.ListPhraseSetPagedResponse; 21 22 import com.google.api.core.BetaApi; 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.speech.v1p1beta1.CreateCustomClassRequest; 26 import com.google.cloud.speech.v1p1beta1.CreatePhraseSetRequest; 27 import com.google.cloud.speech.v1p1beta1.CustomClass; 28 import com.google.cloud.speech.v1p1beta1.DeleteCustomClassRequest; 29 import com.google.cloud.speech.v1p1beta1.DeletePhraseSetRequest; 30 import com.google.cloud.speech.v1p1beta1.GetCustomClassRequest; 31 import com.google.cloud.speech.v1p1beta1.GetPhraseSetRequest; 32 import com.google.cloud.speech.v1p1beta1.ListCustomClassesRequest; 33 import com.google.cloud.speech.v1p1beta1.ListCustomClassesResponse; 34 import com.google.cloud.speech.v1p1beta1.ListPhraseSetRequest; 35 import com.google.cloud.speech.v1p1beta1.ListPhraseSetResponse; 36 import com.google.cloud.speech.v1p1beta1.PhraseSet; 37 import com.google.cloud.speech.v1p1beta1.UpdateCustomClassRequest; 38 import com.google.cloud.speech.v1p1beta1.UpdatePhraseSetRequest; 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 Adaptation service API. 45 * 46 * <p>This class is for advanced usage and reflects the underlying API directly. 47 */ 48 @BetaApi 49 @Generated("by gapic-generator-java") 50 public abstract class AdaptationStub implements BackgroundResource { 51 createPhraseSetCallable()52 public UnaryCallable<CreatePhraseSetRequest, PhraseSet> createPhraseSetCallable() { 53 throw new UnsupportedOperationException("Not implemented: createPhraseSetCallable()"); 54 } 55 getPhraseSetCallable()56 public UnaryCallable<GetPhraseSetRequest, PhraseSet> getPhraseSetCallable() { 57 throw new UnsupportedOperationException("Not implemented: getPhraseSetCallable()"); 58 } 59 60 public UnaryCallable<ListPhraseSetRequest, ListPhraseSetPagedResponse> listPhraseSetPagedCallable()61 listPhraseSetPagedCallable() { 62 throw new UnsupportedOperationException("Not implemented: listPhraseSetPagedCallable()"); 63 } 64 listPhraseSetCallable()65 public UnaryCallable<ListPhraseSetRequest, ListPhraseSetResponse> listPhraseSetCallable() { 66 throw new UnsupportedOperationException("Not implemented: listPhraseSetCallable()"); 67 } 68 updatePhraseSetCallable()69 public UnaryCallable<UpdatePhraseSetRequest, PhraseSet> updatePhraseSetCallable() { 70 throw new UnsupportedOperationException("Not implemented: updatePhraseSetCallable()"); 71 } 72 deletePhraseSetCallable()73 public UnaryCallable<DeletePhraseSetRequest, Empty> deletePhraseSetCallable() { 74 throw new UnsupportedOperationException("Not implemented: deletePhraseSetCallable()"); 75 } 76 createCustomClassCallable()77 public UnaryCallable<CreateCustomClassRequest, CustomClass> createCustomClassCallable() { 78 throw new UnsupportedOperationException("Not implemented: createCustomClassCallable()"); 79 } 80 getCustomClassCallable()81 public UnaryCallable<GetCustomClassRequest, CustomClass> getCustomClassCallable() { 82 throw new UnsupportedOperationException("Not implemented: getCustomClassCallable()"); 83 } 84 85 public UnaryCallable<ListCustomClassesRequest, ListCustomClassesPagedResponse> listCustomClassesPagedCallable()86 listCustomClassesPagedCallable() { 87 throw new UnsupportedOperationException("Not implemented: listCustomClassesPagedCallable()"); 88 } 89 90 public UnaryCallable<ListCustomClassesRequest, ListCustomClassesResponse> listCustomClassesCallable()91 listCustomClassesCallable() { 92 throw new UnsupportedOperationException("Not implemented: listCustomClassesCallable()"); 93 } 94 updateCustomClassCallable()95 public UnaryCallable<UpdateCustomClassRequest, CustomClass> updateCustomClassCallable() { 96 throw new UnsupportedOperationException("Not implemented: updateCustomClassCallable()"); 97 } 98 deleteCustomClassCallable()99 public UnaryCallable<DeleteCustomClassRequest, Empty> deleteCustomClassCallable() { 100 throw new UnsupportedOperationException("Not implemented: deleteCustomClassCallable()"); 101 } 102 103 @Override close()104 public abstract void close(); 105 } 106