Class AnswerRecordsGrpc.AnswerRecordsStub (4.46.0)

public static final class AnswerRecordsGrpc.AnswerRecordsStub extends AbstractAsyncStub<AnswerRecordsGrpc.AnswerRecordsStub>

A stub to allow clients to do asynchronous rpc calls to service AnswerRecords.

Service for managing AnswerRecords.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AnswerRecordsGrpc.AnswerRecordsStub

Methods

build(Channel channel, CallOptions callOptions)

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

getAnswerRecord(GetAnswerRecordRequest request, StreamObserver<AnswerRecord> responseObserver) (deprecated)

public void getAnswerRecord(GetAnswerRecordRequest request, StreamObserver<AnswerRecord> responseObserver)

Deprecated. Retrieves a specific answer record.

Parameters
Name Description
request GetAnswerRecordRequest
responseObserver io.grpc.stub.StreamObserver<AnswerRecord>

listAnswerRecords(ListAnswerRecordsRequest request, StreamObserver<ListAnswerRecordsResponse> responseObserver)

public void listAnswerRecords(ListAnswerRecordsRequest request, StreamObserver<ListAnswerRecordsResponse> responseObserver)

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

Parameters
Name Description
request ListAnswerRecordsRequest
responseObserver io.grpc.stub.StreamObserver<ListAnswerRecordsResponse>

updateAnswerRecord(UpdateAnswerRecordRequest request, StreamObserver<AnswerRecord> responseObserver)

public void updateAnswerRecord(UpdateAnswerRecordRequest request, StreamObserver<AnswerRecord> responseObserver)

Updates the specified answer record.

Parameters
Name Description
request UpdateAnswerRecordRequest
responseObserver io.grpc.stub.StreamObserver<AnswerRecord>