Class AdaptationStub (4.24.0)

public abstract class AdaptationStub implements BackgroundResource

Base stub class for the Adaptation service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AdaptationStub

Implements

BackgroundResource

Constructors

AdaptationStub()

public AdaptationStub()

Methods

close()

public abstract void close()

createCustomClassCallable()

public UnaryCallable<CreateCustomClassRequest,CustomClass> createCustomClassCallable()
Returns
TypeDescription
UnaryCallable<CreateCustomClassRequest,CustomClass>

createPhraseSetCallable()

public UnaryCallable<CreatePhraseSetRequest,PhraseSet> createPhraseSetCallable()
Returns
TypeDescription
UnaryCallable<CreatePhraseSetRequest,PhraseSet>

deleteCustomClassCallable()

public UnaryCallable<DeleteCustomClassRequest,Empty> deleteCustomClassCallable()
Returns
TypeDescription
UnaryCallable<DeleteCustomClassRequest,Empty>

deletePhraseSetCallable()

public UnaryCallable<DeletePhraseSetRequest,Empty> deletePhraseSetCallable()
Returns
TypeDescription
UnaryCallable<DeletePhraseSetRequest,Empty>

getCustomClassCallable()

public UnaryCallable<GetCustomClassRequest,CustomClass> getCustomClassCallable()
Returns
TypeDescription
UnaryCallable<GetCustomClassRequest,CustomClass>

getPhraseSetCallable()

public UnaryCallable<GetPhraseSetRequest,PhraseSet> getPhraseSetCallable()
Returns
TypeDescription
UnaryCallable<GetPhraseSetRequest,PhraseSet>

listCustomClassesCallable()

public UnaryCallable<ListCustomClassesRequest,ListCustomClassesResponse> listCustomClassesCallable()
Returns
TypeDescription
UnaryCallable<ListCustomClassesRequest,ListCustomClassesResponse>

listCustomClassesPagedCallable()

public UnaryCallable<ListCustomClassesRequest,AdaptationClient.ListCustomClassesPagedResponse> listCustomClassesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCustomClassesRequest,ListCustomClassesPagedResponse>

listPhraseSetCallable()

public UnaryCallable<ListPhraseSetRequest,ListPhraseSetResponse> listPhraseSetCallable()
Returns
TypeDescription
UnaryCallable<ListPhraseSetRequest,ListPhraseSetResponse>

listPhraseSetPagedCallable()

public UnaryCallable<ListPhraseSetRequest,AdaptationClient.ListPhraseSetPagedResponse> listPhraseSetPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPhraseSetRequest,ListPhraseSetPagedResponse>

updateCustomClassCallable()

public UnaryCallable<UpdateCustomClassRequest,CustomClass> updateCustomClassCallable()
Returns
TypeDescription
UnaryCallable<UpdateCustomClassRequest,CustomClass>

updatePhraseSetCallable()

public UnaryCallable<UpdatePhraseSetRequest,PhraseSet> updatePhraseSetCallable()
Returns
TypeDescription
UnaryCallable<UpdatePhraseSetRequest,PhraseSet>