Class AnswerRecordsGrpc.AnswerRecordsFutureStub (4.58.0)

public static final class AnswerRecordsGrpc.AnswerRecordsFutureStub extends AbstractFutureStub<AnswerRecordsGrpc.AnswerRecordsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AnswerRecords.

Service for managing AnswerRecords.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AnswerRecordsGrpc.AnswerRecordsFutureStub
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected AnswerRecordsGrpc.AnswerRecordsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

listAnswerRecords(ListAnswerRecordsRequest request)

public ListenableFuture<ListAnswerRecordsResponse> listAnswerRecords(ListAnswerRecordsRequest request)

Returns the list of all answer records in the specified project in reverse chronological order.

Parameter
Name Description
request ListAnswerRecordsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAnswerRecordsResponse>

updateAnswerRecord(UpdateAnswerRecordRequest request)

public ListenableFuture<AnswerRecord> updateAnswerRecord(UpdateAnswerRecordRequest request)

Updates the specified answer record.

Parameter
Name Description
request UpdateAnswerRecordRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AnswerRecord>