com.google.cloud.speech.v2.stub.SpeechStub Maven / Gradle / Ivy
Show all versions of google-cloud-speech Show documentation
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.speech.v2.stub;
import static com.google.cloud.speech.v2.SpeechClient.ListCustomClassesPagedResponse;
import static com.google.cloud.speech.v2.SpeechClient.ListLocationsPagedResponse;
import static com.google.cloud.speech.v2.SpeechClient.ListPhraseSetsPagedResponse;
import static com.google.cloud.speech.v2.SpeechClient.ListRecognizersPagedResponse;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.cloud.speech.v2.BatchRecognizeRequest;
import com.google.cloud.speech.v2.BatchRecognizeResponse;
import com.google.cloud.speech.v2.Config;
import com.google.cloud.speech.v2.CreateCustomClassRequest;
import com.google.cloud.speech.v2.CreatePhraseSetRequest;
import com.google.cloud.speech.v2.CreateRecognizerRequest;
import com.google.cloud.speech.v2.CustomClass;
import com.google.cloud.speech.v2.DeleteCustomClassRequest;
import com.google.cloud.speech.v2.DeletePhraseSetRequest;
import com.google.cloud.speech.v2.DeleteRecognizerRequest;
import com.google.cloud.speech.v2.GetConfigRequest;
import com.google.cloud.speech.v2.GetCustomClassRequest;
import com.google.cloud.speech.v2.GetPhraseSetRequest;
import com.google.cloud.speech.v2.GetRecognizerRequest;
import com.google.cloud.speech.v2.ListCustomClassesRequest;
import com.google.cloud.speech.v2.ListCustomClassesResponse;
import com.google.cloud.speech.v2.ListPhraseSetsRequest;
import com.google.cloud.speech.v2.ListPhraseSetsResponse;
import com.google.cloud.speech.v2.ListRecognizersRequest;
import com.google.cloud.speech.v2.ListRecognizersResponse;
import com.google.cloud.speech.v2.OperationMetadata;
import com.google.cloud.speech.v2.PhraseSet;
import com.google.cloud.speech.v2.RecognizeRequest;
import com.google.cloud.speech.v2.RecognizeResponse;
import com.google.cloud.speech.v2.Recognizer;
import com.google.cloud.speech.v2.StreamingRecognizeRequest;
import com.google.cloud.speech.v2.StreamingRecognizeResponse;
import com.google.cloud.speech.v2.UndeleteCustomClassRequest;
import com.google.cloud.speech.v2.UndeletePhraseSetRequest;
import com.google.cloud.speech.v2.UndeleteRecognizerRequest;
import com.google.cloud.speech.v2.UpdateConfigRequest;
import com.google.cloud.speech.v2.UpdateCustomClassRequest;
import com.google.cloud.speech.v2.UpdatePhraseSetRequest;
import com.google.cloud.speech.v2.UpdateRecognizerRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Base stub class for the Speech service API.
*
* This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
public abstract class SpeechStub implements BackgroundResource {
public OperationsStub getOperationsStub() {
return null;
}
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
return null;
}
public OperationCallable
createRecognizerOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createRecognizerOperationCallable()");
}
public UnaryCallable createRecognizerCallable() {
throw new UnsupportedOperationException("Not implemented: createRecognizerCallable()");
}
public UnaryCallable
listRecognizersPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listRecognizersPagedCallable()");
}
public UnaryCallable listRecognizersCallable() {
throw new UnsupportedOperationException("Not implemented: listRecognizersCallable()");
}
public UnaryCallable getRecognizerCallable() {
throw new UnsupportedOperationException("Not implemented: getRecognizerCallable()");
}
public OperationCallable
updateRecognizerOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updateRecognizerOperationCallable()");
}
public UnaryCallable updateRecognizerCallable() {
throw new UnsupportedOperationException("Not implemented: updateRecognizerCallable()");
}
public OperationCallable
deleteRecognizerOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteRecognizerOperationCallable()");
}
public UnaryCallable deleteRecognizerCallable() {
throw new UnsupportedOperationException("Not implemented: deleteRecognizerCallable()");
}
public OperationCallable
undeleteRecognizerOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: undeleteRecognizerOperationCallable()");
}
public UnaryCallable undeleteRecognizerCallable() {
throw new UnsupportedOperationException("Not implemented: undeleteRecognizerCallable()");
}
public UnaryCallable recognizeCallable() {
throw new UnsupportedOperationException("Not implemented: recognizeCallable()");
}
public BidiStreamingCallable
streamingRecognizeCallable() {
throw new UnsupportedOperationException("Not implemented: streamingRecognizeCallable()");
}
public OperationCallable
batchRecognizeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: batchRecognizeOperationCallable()");
}
public UnaryCallable batchRecognizeCallable() {
throw new UnsupportedOperationException("Not implemented: batchRecognizeCallable()");
}
public UnaryCallable getConfigCallable() {
throw new UnsupportedOperationException("Not implemented: getConfigCallable()");
}
public UnaryCallable updateConfigCallable() {
throw new UnsupportedOperationException("Not implemented: updateConfigCallable()");
}
public OperationCallable
createCustomClassOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCustomClassOperationCallable()");
}
public UnaryCallable createCustomClassCallable() {
throw new UnsupportedOperationException("Not implemented: createCustomClassCallable()");
}
public UnaryCallable
listCustomClassesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listCustomClassesPagedCallable()");
}
public UnaryCallable
listCustomClassesCallable() {
throw new UnsupportedOperationException("Not implemented: listCustomClassesCallable()");
}
public UnaryCallable getCustomClassCallable() {
throw new UnsupportedOperationException("Not implemented: getCustomClassCallable()");
}
public OperationCallable
updateCustomClassOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: updateCustomClassOperationCallable()");
}
public UnaryCallable updateCustomClassCallable() {
throw new UnsupportedOperationException("Not implemented: updateCustomClassCallable()");
}
public OperationCallable
deleteCustomClassOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteCustomClassOperationCallable()");
}
public UnaryCallable deleteCustomClassCallable() {
throw new UnsupportedOperationException("Not implemented: deleteCustomClassCallable()");
}
public OperationCallable
undeleteCustomClassOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: undeleteCustomClassOperationCallable()");
}
public UnaryCallable undeleteCustomClassCallable() {
throw new UnsupportedOperationException("Not implemented: undeleteCustomClassCallable()");
}
public OperationCallable
createPhraseSetOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createPhraseSetOperationCallable()");
}
public UnaryCallable createPhraseSetCallable() {
throw new UnsupportedOperationException("Not implemented: createPhraseSetCallable()");
}
public UnaryCallable
listPhraseSetsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listPhraseSetsPagedCallable()");
}
public UnaryCallable listPhraseSetsCallable() {
throw new UnsupportedOperationException("Not implemented: listPhraseSetsCallable()");
}
public UnaryCallable getPhraseSetCallable() {
throw new UnsupportedOperationException("Not implemented: getPhraseSetCallable()");
}
public OperationCallable
updatePhraseSetOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updatePhraseSetOperationCallable()");
}
public UnaryCallable updatePhraseSetCallable() {
throw new UnsupportedOperationException("Not implemented: updatePhraseSetCallable()");
}
public OperationCallable
deletePhraseSetOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deletePhraseSetOperationCallable()");
}
public UnaryCallable deletePhraseSetCallable() {
throw new UnsupportedOperationException("Not implemented: deletePhraseSetCallable()");
}
public OperationCallable
undeletePhraseSetOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: undeletePhraseSetOperationCallable()");
}
public UnaryCallable undeletePhraseSetCallable() {
throw new UnsupportedOperationException("Not implemented: undeletePhraseSetCallable()");
}
public UnaryCallable
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
}
public UnaryCallable listLocationsCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
}
public UnaryCallable getLocationCallable() {
throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
}
@Override
public abstract void close();
}