@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonAnswerRecordsStub extends AnswerRecordsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAnswerRecordsStub(AnswerRecordsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonAnswerRecordsStub, using the given settings.
|
protected |
HttpJsonAnswerRecordsStub(AnswerRecordsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAnswerRecordsStub, using the given settings.
|
protected HttpJsonAnswerRecordsStub(AnswerRecordsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonAnswerRecordsStub(AnswerRecordsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAnswerRecordsStub create(AnswerRecordsStubSettings settings) throws IOException
IOException
public static final HttpJsonAnswerRecordsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAnswerRecordsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<ListAnswerRecordsRequest,ListAnswerRecordsResponse> listAnswerRecordsCallable()
listAnswerRecordsCallable
in class AnswerRecordsStub
public UnaryCallable<ListAnswerRecordsRequest,AnswerRecordsClient.ListAnswerRecordsPagedResponse> listAnswerRecordsPagedCallable()
listAnswerRecordsPagedCallable
in class AnswerRecordsStub
public UnaryCallable<UpdateAnswerRecordRequest,AnswerRecord> updateAnswerRecordCallable()
updateAnswerRecordCallable
in class AnswerRecordsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class AnswerRecordsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,AnswerRecordsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class AnswerRecordsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class AnswerRecordsStub
public final void close()
close
in interface AutoCloseable
close
in class AnswerRecordsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.