Class AnswerRecordsGrpc.AnswerRecordsFutureStub (4.27.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

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
Returns
Type Description
AnswerRecordsGrpc.AnswerRecordsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAnswerRecord(GetAnswerRecordRequest request)

public ListenableFuture<AnswerRecord> getAnswerRecord(GetAnswerRecordRequest request)

Deprecated. Retrieves a specific answer record.

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

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>