- 4.48.0 (latest)
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public class HttpJsonSpeechStub extends SpeechStub
REST stub implementation for the Speech service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSpeechStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonSpeechStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSpeechStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonSpeechStub |
Type | Description |
IOException |
create(SpeechStubSettings settings)
public static final HttpJsonSpeechStub create(SpeechStubSettings settings)
Name | Description |
settings | SpeechStubSettings |
Type | Description |
HttpJsonSpeechStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)
protected HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | SpeechStubSettings |
clientContext | ClientContext |
HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | SpeechStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
batchRecognizeCallable()
public UnaryCallable<BatchRecognizeRequest,Operation> batchRecognizeCallable()
Type | Description |
UnaryCallable<BatchRecognizeRequest,Operation> |
batchRecognizeOperationCallable()
public OperationCallable<BatchRecognizeRequest,BatchRecognizeResponse,OperationMetadata> batchRecognizeOperationCallable()
Type | Description |
OperationCallable<BatchRecognizeRequest,BatchRecognizeResponse,OperationMetadata> |
close()
public final void close()
createCustomClassCallable()
public UnaryCallable<CreateCustomClassRequest,Operation> createCustomClassCallable()
Type | Description |
UnaryCallable<CreateCustomClassRequest,Operation> |
createCustomClassOperationCallable()
public OperationCallable<CreateCustomClassRequest,CustomClass,OperationMetadata> createCustomClassOperationCallable()
Type | Description |
OperationCallable<CreateCustomClassRequest,CustomClass,OperationMetadata> |
createPhraseSetCallable()
public UnaryCallable<CreatePhraseSetRequest,Operation> createPhraseSetCallable()
Type | Description |
UnaryCallable<CreatePhraseSetRequest,Operation> |
createPhraseSetOperationCallable()
public OperationCallable<CreatePhraseSetRequest,PhraseSet,OperationMetadata> createPhraseSetOperationCallable()
Type | Description |
OperationCallable<CreatePhraseSetRequest,PhraseSet,OperationMetadata> |
createRecognizerCallable()
public UnaryCallable<CreateRecognizerRequest,Operation> createRecognizerCallable()
Type | Description |
UnaryCallable<CreateRecognizerRequest,Operation> |
createRecognizerOperationCallable()
public OperationCallable<CreateRecognizerRequest,Recognizer,OperationMetadata> createRecognizerOperationCallable()
Type | Description |
OperationCallable<CreateRecognizerRequest,Recognizer,OperationMetadata> |
deleteCustomClassCallable()
public UnaryCallable<DeleteCustomClassRequest,Operation> deleteCustomClassCallable()
Type | Description |
UnaryCallable<DeleteCustomClassRequest,Operation> |
deleteCustomClassOperationCallable()
public OperationCallable<DeleteCustomClassRequest,CustomClass,OperationMetadata> deleteCustomClassOperationCallable()
Type | Description |
OperationCallable<DeleteCustomClassRequest,CustomClass,OperationMetadata> |
deletePhraseSetCallable()
public UnaryCallable<DeletePhraseSetRequest,Operation> deletePhraseSetCallable()
Type | Description |
UnaryCallable<DeletePhraseSetRequest,Operation> |
deletePhraseSetOperationCallable()
public OperationCallable<DeletePhraseSetRequest,PhraseSet,OperationMetadata> deletePhraseSetOperationCallable()
Type | Description |
OperationCallable<DeletePhraseSetRequest,PhraseSet,OperationMetadata> |
deleteRecognizerCallable()
public UnaryCallable<DeleteRecognizerRequest,Operation> deleteRecognizerCallable()
Type | Description |
UnaryCallable<DeleteRecognizerRequest,Operation> |
deleteRecognizerOperationCallable()
public OperationCallable<DeleteRecognizerRequest,Recognizer,OperationMetadata> deleteRecognizerOperationCallable()
Type | Description |
OperationCallable<DeleteRecognizerRequest,Recognizer,OperationMetadata> |
getConfigCallable()
public UnaryCallable<GetConfigRequest,Config> getConfigCallable()
Type | Description |
UnaryCallable<GetConfigRequest,Config> |
getCustomClassCallable()
public UnaryCallable<GetCustomClassRequest,CustomClass> getCustomClassCallable()
Type | Description |
UnaryCallable<GetCustomClassRequest,CustomClass> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getPhraseSetCallable()
public UnaryCallable<GetPhraseSetRequest,PhraseSet> getPhraseSetCallable()
Type | Description |
UnaryCallable<GetPhraseSetRequest,PhraseSet> |
getRecognizerCallable()
public UnaryCallable<GetRecognizerRequest,Recognizer> getRecognizerCallable()
Type | Description |
UnaryCallable<GetRecognizerRequest,Recognizer> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listCustomClassesCallable()
public UnaryCallable<ListCustomClassesRequest,ListCustomClassesResponse> listCustomClassesCallable()
Type | Description |
UnaryCallable<ListCustomClassesRequest,ListCustomClassesResponse> |
listCustomClassesPagedCallable()
public UnaryCallable<ListCustomClassesRequest,SpeechClient.ListCustomClassesPagedResponse> listCustomClassesPagedCallable()
Type | Description |
UnaryCallable<ListCustomClassesRequest,ListCustomClassesPagedResponse> |
listPhraseSetsCallable()
public UnaryCallable<ListPhraseSetsRequest,ListPhraseSetsResponse> listPhraseSetsCallable()
Type | Description |
UnaryCallable<ListPhraseSetsRequest,ListPhraseSetsResponse> |
listPhraseSetsPagedCallable()
public UnaryCallable<ListPhraseSetsRequest,SpeechClient.ListPhraseSetsPagedResponse> listPhraseSetsPagedCallable()
Type | Description |
UnaryCallable<ListPhraseSetsRequest,ListPhraseSetsPagedResponse> |
listRecognizersCallable()
public UnaryCallable<ListRecognizersRequest,ListRecognizersResponse> listRecognizersCallable()
Type | Description |
UnaryCallable<ListRecognizersRequest,ListRecognizersResponse> |
listRecognizersPagedCallable()
public UnaryCallable<ListRecognizersRequest,SpeechClient.ListRecognizersPagedResponse> listRecognizersPagedCallable()
Type | Description |
UnaryCallable<ListRecognizersRequest,ListRecognizersPagedResponse> |
recognizeCallable()
public UnaryCallable<RecognizeRequest,RecognizeResponse> recognizeCallable()
Type | Description |
UnaryCallable<RecognizeRequest,RecognizeResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
streamingRecognizeCallable()
public BidiStreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse> streamingRecognizeCallable()
Type | Description |
BidiStreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse> |
undeleteCustomClassCallable()
public UnaryCallable<UndeleteCustomClassRequest,Operation> undeleteCustomClassCallable()
Type | Description |
UnaryCallable<UndeleteCustomClassRequest,Operation> |
undeleteCustomClassOperationCallable()
public OperationCallable<UndeleteCustomClassRequest,CustomClass,OperationMetadata> undeleteCustomClassOperationCallable()
Type | Description |
OperationCallable<UndeleteCustomClassRequest,CustomClass,OperationMetadata> |
undeletePhraseSetCallable()
public UnaryCallable<UndeletePhraseSetRequest,Operation> undeletePhraseSetCallable()
Type | Description |
UnaryCallable<UndeletePhraseSetRequest,Operation> |
undeletePhraseSetOperationCallable()
public OperationCallable<UndeletePhraseSetRequest,PhraseSet,OperationMetadata> undeletePhraseSetOperationCallable()
Type | Description |
OperationCallable<UndeletePhraseSetRequest,PhraseSet,OperationMetadata> |
undeleteRecognizerCallable()
public UnaryCallable<UndeleteRecognizerRequest,Operation> undeleteRecognizerCallable()
Type | Description |
UnaryCallable<UndeleteRecognizerRequest,Operation> |
undeleteRecognizerOperationCallable()
public OperationCallable<UndeleteRecognizerRequest,Recognizer,OperationMetadata> undeleteRecognizerOperationCallable()
Type | Description |
OperationCallable<UndeleteRecognizerRequest,Recognizer,OperationMetadata> |
updateConfigCallable()
public UnaryCallable<UpdateConfigRequest,Config> updateConfigCallable()
Type | Description |
UnaryCallable<UpdateConfigRequest,Config> |
updateCustomClassCallable()
public UnaryCallable<UpdateCustomClassRequest,Operation> updateCustomClassCallable()
Type | Description |
UnaryCallable<UpdateCustomClassRequest,Operation> |
updateCustomClassOperationCallable()
public OperationCallable<UpdateCustomClassRequest,CustomClass,OperationMetadata> updateCustomClassOperationCallable()
Type | Description |
OperationCallable<UpdateCustomClassRequest,CustomClass,OperationMetadata> |
updatePhraseSetCallable()
public UnaryCallable<UpdatePhraseSetRequest,Operation> updatePhraseSetCallable()
Type | Description |
UnaryCallable<UpdatePhraseSetRequest,Operation> |
updatePhraseSetOperationCallable()
public OperationCallable<UpdatePhraseSetRequest,PhraseSet,OperationMetadata> updatePhraseSetOperationCallable()
Type | Description |
OperationCallable<UpdatePhraseSetRequest,PhraseSet,OperationMetadata> |
updateRecognizerCallable()
public UnaryCallable<UpdateRecognizerRequest,Operation> updateRecognizerCallable()
Type | Description |
UnaryCallable<UpdateRecognizerRequest,Operation> |
updateRecognizerOperationCallable()
public OperationCallable<UpdateRecognizerRequest,Recognizer,OperationMetadata> updateRecognizerOperationCallable()
Type | Description |
OperationCallable<UpdateRecognizerRequest,Recognizer,OperationMetadata> |