public class GrpcVizierServiceStub extends VizierServiceStub
gRPC stub implementation for the VizierService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcVizierServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcVizierServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcVizierServiceStub create(VizierServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext)
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcVizierServiceStub, 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.
Parameters
GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcVizierServiceStub, 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.
Parameters
Methods
public UnaryCallable<AddTrialMeasurementRequest,Trial> addTrialMeasurementCallable()
Returns
Overrides
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public UnaryCallable<CheckTrialEarlyStoppingStateRequest,Operation> checkTrialEarlyStoppingStateCallable()
Returns
Overrides
public OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationCallable()
Returns
Overrides
public final void close()
Overrides
public UnaryCallable<CompleteTrialRequest,Trial> completeTrialCallable()
Returns
Overrides
public UnaryCallable<CreateStudyRequest,Study> createStudyCallable()
Returns
Overrides
public UnaryCallable<CreateTrialRequest,Trial> createTrialCallable()
Returns
Overrides
public UnaryCallable<DeleteStudyRequest,Empty> deleteStudyCallable()
Returns
Overrides
public UnaryCallable<DeleteTrialRequest,Empty> deleteTrialCallable()
Returns
Overrides
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
public UnaryCallable<GetStudyRequest,Study> getStudyCallable()
Returns
Overrides
public UnaryCallable<GetTrialRequest,Trial> getTrialCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsCallable()
Returns
Overrides
public UnaryCallable<ListStudiesRequest,ListStudiesResponse> listStudiesCallable()
Returns
Overrides
listStudiesPagedCallable()
public UnaryCallable<ListStudiesRequest,VizierServiceClient.ListStudiesPagedResponse> listStudiesPagedCallable()
Returns
Overrides
public UnaryCallable<ListTrialsRequest,ListTrialsResponse> listTrialsCallable()
Returns
Overrides
listTrialsPagedCallable()
public UnaryCallable<ListTrialsRequest,VizierServiceClient.ListTrialsPagedResponse> listTrialsPagedCallable()
Returns
Overrides
public UnaryCallable<LookupStudyRequest,Study> lookupStudyCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<StopTrialRequest,Trial> stopTrialCallable()
Returns
Overrides
public UnaryCallable<SuggestTrialsRequest,Operation> suggestTrialsCallable()
Returns
Overrides
public OperationCallable<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationCallable()
Returns
Overrides