@Generated(value="by gapic-generator-java") public class GrpcAnswerRecordsStub extends AnswerRecordsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcAnswerRecordsStub(AnswerRecordsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcAnswerRecordsStub, using the given settings.
|
protected |
GrpcAnswerRecordsStub(AnswerRecordsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAnswerRecordsStub, using the given settings.
|
protected GrpcAnswerRecordsStub(AnswerRecordsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcAnswerRecordsStub(AnswerRecordsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAnswerRecordsStub create(AnswerRecordsStubSettings settings) throws IOException
IOException
public static final GrpcAnswerRecordsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcAnswerRecordsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
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.