Class AdaptationGrpc (4.49.0)

public final class AdaptationGrpc

Service that implements Google Cloud Speech Adaptation API.

Inheritance

java.lang.Object > AdaptationGrpc

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)
Parameter
Name Description
service AdaptationGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateCustomClassMethod()

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

getCreatePhraseSetMethod()

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

getDeleteCustomClassMethod()

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

getDeletePhraseSetMethod()

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

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>

getListCustomClassesMethod()

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

getListPhraseSetMethod()

public static MethodDescriptor<ListPhraseSetRequest,ListPhraseSetResponse> getListPhraseSetMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListPhraseSetRequest,ListPhraseSetResponse>

getServiceDescriptor()

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

getUpdateCustomClassMethod()

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

getUpdatePhraseSetMethod()

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

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
Type Description
AdaptationGrpc.AdaptationBlockingStub

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
Type Description
AdaptationGrpc.AdaptationFutureStub

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
Type Description
AdaptationGrpc.AdaptationStub