Class GenerativeQuestionServiceGrpc.GenerativeQuestionServiceBlockingStub (2.56.0)

public static final class GenerativeQuestionServiceGrpc.GenerativeQuestionServiceBlockingStub extends AbstractBlockingStub<GenerativeQuestionServiceGrpc.GenerativeQuestionServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > GenerativeQuestionServiceGrpc.GenerativeQuestionServiceBlockingStub

Methods

batchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request)

public BatchUpdateGenerativeQuestionConfigsResponse batchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request)

Allows management of multiple questions.

Parameter
Name Description
request BatchUpdateGenerativeQuestionConfigsRequest
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse

build(Channel channel, CallOptions callOptions)

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

getGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request)

public GenerativeQuestionsFeatureConfig getGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request)

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

Parameter
Name Description
request GetGenerativeQuestionsFeatureConfigRequest
Returns
Type Description
GenerativeQuestionsFeatureConfig

listGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request)

public ListGenerativeQuestionConfigsResponse listGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request)

Returns all questions for a given catalog.

Parameter
Name Description
request ListGenerativeQuestionConfigsRequest
Returns
Type Description
ListGenerativeQuestionConfigsResponse

updateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request)

public GenerativeQuestionConfig updateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request)

Allows management of individual questions.

Parameter
Name Description
request UpdateGenerativeQuestionConfigRequest
Returns
Type Description
GenerativeQuestionConfig

updateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request)

public GenerativeQuestionsFeatureConfig updateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request)

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

Parameter
Name Description
request UpdateGenerativeQuestionsFeatureConfigRequest
Returns
Type Description
GenerativeQuestionsFeatureConfig