Class GenerativeQuestionServiceGrpc.GenerativeQuestionServiceStub (2.57.0)

public static final class GenerativeQuestionServiceGrpc.GenerativeQuestionServiceStub extends AbstractAsyncStub<GenerativeQuestionServiceGrpc.GenerativeQuestionServiceStub>

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

Service for managing LLM generated questions in search serving.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > GenerativeQuestionServiceGrpc.GenerativeQuestionServiceStub

Methods

batchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, StreamObserver<BatchUpdateGenerativeQuestionConfigsResponse> responseObserver)

public void batchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, StreamObserver<BatchUpdateGenerativeQuestionConfigsResponse> responseObserver)

Allows management of multiple questions.

Parameters
Name Description
request BatchUpdateGenerativeQuestionConfigsRequest
responseObserver io.grpc.stub.StreamObserver<BatchUpdateGenerativeQuestionConfigsResponse>

build(Channel channel, CallOptions callOptions)

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

getGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, StreamObserver<GenerativeQuestionsFeatureConfig> responseObserver)

public void getGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, StreamObserver<GenerativeQuestionsFeatureConfig> responseObserver)

Manages overal generative question feature state -- enables toggling feature on and off.

Parameters
Name Description
request GetGenerativeQuestionsFeatureConfigRequest
responseObserver io.grpc.stub.StreamObserver<GenerativeQuestionsFeatureConfig>

listGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, StreamObserver<ListGenerativeQuestionConfigsResponse> responseObserver)

public void listGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, StreamObserver<ListGenerativeQuestionConfigsResponse> responseObserver)

Returns all questions for a given catalog.

Parameters
Name Description
request ListGenerativeQuestionConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListGenerativeQuestionConfigsResponse>

updateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, StreamObserver<GenerativeQuestionConfig> responseObserver)

public void updateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, StreamObserver<GenerativeQuestionConfig> responseObserver)

Allows management of individual questions.

Parameters
Name Description
request UpdateGenerativeQuestionConfigRequest
responseObserver io.grpc.stub.StreamObserver<GenerativeQuestionConfig>

updateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, StreamObserver<GenerativeQuestionsFeatureConfig> responseObserver)

public void updateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, StreamObserver<GenerativeQuestionsFeatureConfig> responseObserver)

Manages overal generative question feature state -- enables toggling feature on and off.

Parameters
Name Description
request UpdateGenerativeQuestionsFeatureConfigRequest
responseObserver io.grpc.stub.StreamObserver<GenerativeQuestionsFeatureConfig>