public final class AdaptationGrpc
Service that implements Google Cloud Speech Adaptation API.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getCreateCustomClassMethod()
public static MethodDescriptor<CreateCustomClassRequest,CustomClass> getCreateCustomClassMethod()
Returns
getCreatePhraseSetMethod()
public static MethodDescriptor<CreatePhraseSetRequest,PhraseSet> getCreatePhraseSetMethod()
Returns
getDeleteCustomClassMethod()
public static MethodDescriptor<DeleteCustomClassRequest,Empty> getDeleteCustomClassMethod()
Returns
getDeletePhraseSetMethod()
public static MethodDescriptor<DeletePhraseSetRequest,Empty> getDeletePhraseSetMethod()
Returns
getGetCustomClassMethod()
public static MethodDescriptor<GetCustomClassRequest,CustomClass> getGetCustomClassMethod()
Returns
getGetPhraseSetMethod()
public static MethodDescriptor<GetPhraseSetRequest,PhraseSet> getGetPhraseSetMethod()
Returns
getListCustomClassesMethod()
public static MethodDescriptor<ListCustomClassesRequest,ListCustomClassesResponse> getListCustomClassesMethod()
Returns
getListPhraseSetMethod()
public static MethodDescriptor<ListPhraseSetRequest,ListPhraseSetResponse> getListPhraseSetMethod()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateCustomClassMethod()
public static MethodDescriptor<UpdateCustomClassRequest,CustomClass> getUpdateCustomClassMethod()
Returns
getUpdatePhraseSetMethod()
public static MethodDescriptor<UpdatePhraseSetRequest,PhraseSet> getUpdatePhraseSetMethod()
Returns
newBlockingStub(Channel channel)
public static AdaptationGrpc.AdaptationBlockingStub 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
newFutureStub(Channel channel)
public static AdaptationGrpc.AdaptationFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newStub(Channel channel)
public static AdaptationGrpc.AdaptationStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns