public final class AdaptationGrpc
Service that implements Google Cloud Speech Adaptation API.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
---|
Type | Description |
String | |
Static Methods
bindService(AdaptationGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(AdaptationGrpc.AsyncService service)
Returns |
---|
Type | Description |
io.grpc.ServerServiceDefinition | |
getCreateCustomClassMethod()
public static MethodDescriptor<CreateCustomClassRequest,CustomClass> getCreateCustomClassMethod()
getCreatePhraseSetMethod()
public static MethodDescriptor<CreatePhraseSetRequest,PhraseSet> getCreatePhraseSetMethod()
getDeleteCustomClassMethod()
public static MethodDescriptor<DeleteCustomClassRequest,Empty> getDeleteCustomClassMethod()
getDeletePhraseSetMethod()
public static MethodDescriptor<DeletePhraseSetRequest,Empty> getDeletePhraseSetMethod()
getGetCustomClassMethod()
public static MethodDescriptor<GetCustomClassRequest,CustomClass> getGetCustomClassMethod()
getGetPhraseSetMethod()
public static MethodDescriptor<GetPhraseSetRequest,PhraseSet> getGetPhraseSetMethod()
getListCustomClassesMethod()
public static MethodDescriptor<ListCustomClassesRequest,ListCustomClassesResponse> getListCustomClassesMethod()
getListPhraseSetMethod()
public static MethodDescriptor<ListPhraseSetRequest,ListPhraseSetResponse> getListPhraseSetMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
---|
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateCustomClassMethod()
public static MethodDescriptor<UpdateCustomClassRequest,CustomClass> getUpdateCustomClassMethod()
getUpdatePhraseSetMethod()
public static MethodDescriptor<UpdatePhraseSetRequest,PhraseSet> getUpdatePhraseSetMethod()
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
|
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
|
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
|