Package com.google.cloud.dialogflow.v2
Class AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub>
com.google.cloud.dialogflow.v2.AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub
- Enclosing class:
- AnswerRecordsGrpc
public static final class AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AnswerRecords.
Service for managing [AnswerRecords][google.cloud.dialogflow.v2.AnswerRecord].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Returns the list of all answer records in the specified project in reverse chronological order.Updates the specified answer record.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AnswerRecordsGrpc.AnswerRecordsBlockingV2Stub>
-
listAnswerRecords
public ListAnswerRecordsResponse listAnswerRecords(ListAnswerRecordsRequest request) throws io.grpc.StatusException Returns the list of all answer records in the specified project in reverse chronological order.
- Throws:
io.grpc.StatusException
-
updateAnswerRecord
public AnswerRecord updateAnswerRecord(UpdateAnswerRecordRequest request) throws io.grpc.StatusException Updates the specified answer record.
- Throws:
io.grpc.StatusException
-