Class SpeechGrpc (4.50.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
Type Description
String

Static Methods

bindService(SpeechGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SpeechGrpc.AsyncService service)
Parameter
Name Description
service SpeechGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchRecognizeMethod()

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

getCreateCustomClassMethod()

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

getCreatePhraseSetMethod()

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

getCreateRecognizerMethod()

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

getDeleteCustomClassMethod()

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

getDeletePhraseSetMethod()

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

getDeleteRecognizerMethod()

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

getGetConfigMethod()

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

getGetCustomClassMethod()

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

getGetPhraseSetMethod()

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

getGetRecognizerMethod()

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

getListCustomClassesMethod()

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

getListPhraseSetsMethod()

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

getListRecognizersMethod()

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

getRecognizeMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStreamingRecognizeMethod()

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

getUndeleteCustomClassMethod()

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

getUndeletePhraseSetMethod()

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

getUndeleteRecognizerMethod()

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

getUpdateConfigMethod()

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

getUpdateCustomClassMethod()

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

getUpdatePhraseSetMethod()

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

getUpdateRecognizerMethod()

public static MethodDescriptor<UpdateRecognizerRequest,Operation> getUpdateRecognizerMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SpeechGrpc.SpeechStub