@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonAdaptationStub extends AdaptationStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonAdaptationStub(AdaptationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAdaptationStub, using the given settings.
|
protected |
HttpJsonAdaptationStub(AdaptationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAdaptationStub, using the given settings.
|
protected HttpJsonAdaptationStub(AdaptationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonAdaptationStub(AdaptationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonAdaptationStub create(AdaptationStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonAdaptationStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonAdaptationStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<CreatePhraseSetRequest,PhraseSet> createPhraseSetCallable()
createPhraseSetCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<GetPhraseSetRequest,PhraseSet> getPhraseSetCallable()
getPhraseSetCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<ListPhraseSetRequest,ListPhraseSetResponse> listPhraseSetCallable()
listPhraseSetCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<ListPhraseSetRequest,AdaptationClient.ListPhraseSetPagedResponse> listPhraseSetPagedCallable()
listPhraseSetPagedCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<UpdatePhraseSetRequest,PhraseSet> updatePhraseSetCallable()
updatePhraseSetCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePhraseSetRequest,com.google.protobuf.Empty> deletePhraseSetCallable()
deletePhraseSetCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<CreateCustomClassRequest,CustomClass> createCustomClassCallable()
createCustomClassCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<GetCustomClassRequest,CustomClass> getCustomClassCallable()
getCustomClassCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<ListCustomClassesRequest,ListCustomClassesResponse> listCustomClassesCallable()
listCustomClassesCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<ListCustomClassesRequest,AdaptationClient.ListCustomClassesPagedResponse> listCustomClassesPagedCallable()
listCustomClassesPagedCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateCustomClassRequest,CustomClass> updateCustomClassCallable()
updateCustomClassCallable in class AdaptationStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCustomClassRequest,com.google.protobuf.Empty> deleteCustomClassCallable()
deleteCustomClassCallable in class AdaptationStubpublic final void close()
close in interface AutoCloseableclose in class AdaptationStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.