public final class SpeechGrpc
Enables speech transcription and resource management.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(SpeechGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(SpeechGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getBatchRecognizeMethod()
public static MethodDescriptor<BatchRecognizeRequest,Operation> getBatchRecognizeMethod()
getCreateCustomClassMethod()
public static MethodDescriptor<CreateCustomClassRequest,Operation> getCreateCustomClassMethod()
getCreatePhraseSetMethod()
public static MethodDescriptor<CreatePhraseSetRequest,Operation> getCreatePhraseSetMethod()
getCreateRecognizerMethod()
public static MethodDescriptor<CreateRecognizerRequest,Operation> getCreateRecognizerMethod()
getDeleteCustomClassMethod()
public static MethodDescriptor<DeleteCustomClassRequest,Operation> getDeleteCustomClassMethod()
getDeletePhraseSetMethod()
public static MethodDescriptor<DeletePhraseSetRequest,Operation> getDeletePhraseSetMethod()
getDeleteRecognizerMethod()
public static MethodDescriptor<DeleteRecognizerRequest,Operation> getDeleteRecognizerMethod()
getGetConfigMethod()
public static MethodDescriptor<GetConfigRequest,Config> getGetConfigMethod()
getGetCustomClassMethod()
public static MethodDescriptor<GetCustomClassRequest,CustomClass> getGetCustomClassMethod()
getGetPhraseSetMethod()
public static MethodDescriptor<GetPhraseSetRequest,PhraseSet> getGetPhraseSetMethod()
getGetRecognizerMethod()
public static MethodDescriptor<GetRecognizerRequest,Recognizer> getGetRecognizerMethod()
getListCustomClassesMethod()
public static MethodDescriptor<ListCustomClassesRequest,ListCustomClassesResponse> getListCustomClassesMethod()
getListPhraseSetsMethod()
public static MethodDescriptor<ListPhraseSetsRequest,ListPhraseSetsResponse> getListPhraseSetsMethod()
getListRecognizersMethod()
public static MethodDescriptor<ListRecognizersRequest,ListRecognizersResponse> getListRecognizersMethod()
getRecognizeMethod()
public static MethodDescriptor<RecognizeRequest,RecognizeResponse> getRecognizeMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getStreamingRecognizeMethod()
public static MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse> getStreamingRecognizeMethod()
getUndeleteCustomClassMethod()
public static MethodDescriptor<UndeleteCustomClassRequest,Operation> getUndeleteCustomClassMethod()
getUndeletePhraseSetMethod()
public static MethodDescriptor<UndeletePhraseSetRequest,Operation> getUndeletePhraseSetMethod()
getUndeleteRecognizerMethod()
public static MethodDescriptor<UndeleteRecognizerRequest,Operation> getUndeleteRecognizerMethod()
getUpdateConfigMethod()
public static MethodDescriptor<UpdateConfigRequest,Config> getUpdateConfigMethod()
getUpdateCustomClassMethod()
public static MethodDescriptor<UpdateCustomClassRequest,Operation> getUpdateCustomClassMethod()
getUpdatePhraseSetMethod()
public static MethodDescriptor<UpdatePhraseSetRequest,Operation> getUpdatePhraseSetMethod()
getUpdateRecognizerMethod()
public static MethodDescriptor<UpdateRecognizerRequest,Operation> getUpdateRecognizerMethod()
newBlockingStub(Channel channel)
public static SpeechGrpc.SpeechBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newFutureStub(Channel channel)
public static SpeechGrpc.SpeechFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static SpeechGrpc.SpeechStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|