Class SpeechGrpc (4.36.0)

public final class SpeechGrpc

Enables speech transcription and resource management.

Inheritance

java.lang.Object > SpeechGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SpeechGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SpeechGrpc.AsyncService service)
Parameter
NameDescription
serviceSpeechGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getBatchRecognizeMethod()

public static MethodDescriptor<BatchRecognizeRequest,Operation> getBatchRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchRecognizeRequest,Operation>

getCreateCustomClassMethod()

public static MethodDescriptor<CreateCustomClassRequest,Operation> getCreateCustomClassMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateCustomClassRequest,Operation>

getCreatePhraseSetMethod()

public static MethodDescriptor<CreatePhraseSetRequest,Operation> getCreatePhraseSetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreatePhraseSetRequest,Operation>

getCreateRecognizerMethod()

public static MethodDescriptor<CreateRecognizerRequest,Operation> getCreateRecognizerMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateRecognizerRequest,Operation>

getDeleteCustomClassMethod()

public static MethodDescriptor<DeleteCustomClassRequest,Operation> getDeleteCustomClassMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteCustomClassRequest,Operation>

getDeletePhraseSetMethod()

public static MethodDescriptor<DeletePhraseSetRequest,Operation> getDeletePhraseSetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeletePhraseSetRequest,Operation>

getDeleteRecognizerMethod()

public static MethodDescriptor<DeleteRecognizerRequest,Operation> getDeleteRecognizerMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteRecognizerRequest,Operation>

getGetConfigMethod()

public static MethodDescriptor<GetConfigRequest,Config> getGetConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetConfigRequest,Config>

getGetCustomClassMethod()

public static MethodDescriptor<GetCustomClassRequest,CustomClass> getGetCustomClassMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetCustomClassRequest,CustomClass>

getGetPhraseSetMethod()

public static MethodDescriptor<GetPhraseSetRequest,PhraseSet> getGetPhraseSetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPhraseSetRequest,PhraseSet>

getGetRecognizerMethod()

public static MethodDescriptor<GetRecognizerRequest,Recognizer> getGetRecognizerMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetRecognizerRequest,Recognizer>

getListCustomClassesMethod()

public static MethodDescriptor<ListCustomClassesRequest,ListCustomClassesResponse> getListCustomClassesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListCustomClassesRequest,ListCustomClassesResponse>

getListPhraseSetsMethod()

public static MethodDescriptor<ListPhraseSetsRequest,ListPhraseSetsResponse> getListPhraseSetsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPhraseSetsRequest,ListPhraseSetsResponse>

getListRecognizersMethod()

public static MethodDescriptor<ListRecognizersRequest,ListRecognizersResponse> getListRecognizersMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListRecognizersRequest,ListRecognizersResponse>

getRecognizeMethod()

public static MethodDescriptor<RecognizeRequest,RecognizeResponse> getRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RecognizeRequest,RecognizeResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStreamingRecognizeMethod()

public static MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse> getStreamingRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse>

getUndeleteCustomClassMethod()

public static MethodDescriptor<UndeleteCustomClassRequest,Operation> getUndeleteCustomClassMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UndeleteCustomClassRequest,Operation>

getUndeletePhraseSetMethod()

public static MethodDescriptor<UndeletePhraseSetRequest,Operation> getUndeletePhraseSetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UndeletePhraseSetRequest,Operation>

getUndeleteRecognizerMethod()

public static MethodDescriptor<UndeleteRecognizerRequest,Operation> getUndeleteRecognizerMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UndeleteRecognizerRequest,Operation>

getUpdateConfigMethod()

public static MethodDescriptor<UpdateConfigRequest,Config> getUpdateConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateConfigRequest,Config>

getUpdateCustomClassMethod()

public static MethodDescriptor<UpdateCustomClassRequest,Operation> getUpdateCustomClassMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateCustomClassRequest,Operation>

getUpdatePhraseSetMethod()

public static MethodDescriptor<UpdatePhraseSetRequest,Operation> getUpdatePhraseSetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdatePhraseSetRequest,Operation>

getUpdateRecognizerMethod()

public static MethodDescriptor<UpdateRecognizerRequest,Operation> getUpdateRecognizerMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateRecognizerRequest,Operation>

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechBlockingStub

newFutureStub(Channel channel)

public static SpeechGrpc.SpeechFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechFutureStub

newStub(Channel channel)

public static SpeechGrpc.SpeechStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechStub