Class AdaptationGrpc (4.4.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
TypeDescription
String

Static Methods

getCreateCustomClassMethod()

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

getCreatePhraseSetMethod()

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

getDeleteCustomClassMethod()

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

getDeletePhraseSetMethod()

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

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>

getListCustomClassesMethod()

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

getListPhraseSetMethod()

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

getServiceDescriptor()

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

getUpdateCustomClassMethod()

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

getUpdatePhraseSetMethod()

public static MethodDescriptor<UpdatePhraseSetRequest,PhraseSet> getUpdatePhraseSetMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdaptationGrpc.AdaptationStub