public class HttpJsonGenerativeQuestionServiceStub extends GenerativeQuestionServiceStub
REST stub implementation for the GenerativeQuestionService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonGenerativeQuestionServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGenerativeQuestionServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(GenerativeQuestionServiceStubSettings settings)
public static final HttpJsonGenerativeQuestionServiceStub create(GenerativeQuestionServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonGenerativeQuestionServiceStub(GenerativeQuestionServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonGenerativeQuestionServiceStub(GenerativeQuestionServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonGenerativeQuestionServiceStub, using the given settings. This
is protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
HttpJsonGenerativeQuestionServiceStub(GenerativeQuestionServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonGenerativeQuestionServiceStub(GenerativeQuestionServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGenerativeQuestionServiceStub, using the given settings. This
is protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchUpdateGenerativeQuestionConfigsCallable()
public UnaryCallable<BatchUpdateGenerativeQuestionConfigsRequest,BatchUpdateGenerativeQuestionConfigsResponse> batchUpdateGenerativeQuestionConfigsCallable()
Overrides
close()
public final void close()
Overrides
getGenerativeQuestionsFeatureConfigCallable()
public UnaryCallable<GetGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig> getGenerativeQuestionsFeatureConfigCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listGenerativeQuestionConfigsCallable()
public UnaryCallable<ListGenerativeQuestionConfigsRequest,ListGenerativeQuestionConfigsResponse> listGenerativeQuestionConfigsCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateGenerativeQuestionConfigCallable()
public UnaryCallable<UpdateGenerativeQuestionConfigRequest,GenerativeQuestionConfig> updateGenerativeQuestionConfigCallable()
Overrides
updateGenerativeQuestionsFeatureConfigCallable()
public UnaryCallable<UpdateGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig> updateGenerativeQuestionsFeatureConfigCallable()
Overrides