Class GrpcVizierServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1.stub.VizierServiceStub
-
- com.google.cloud.aiplatform.v1.stub.GrpcVizierServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcVizierServiceStub(VizierServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcVizierServiceStub, using the given settings.protected
GrpcVizierServiceStub(VizierServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcVizierServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<AddTrialMeasurementRequest,Trial>
addTrialMeasurementCallable()
boolean
awaitTermination(long duration, TimeUnit unit)
com.google.api.gax.rpc.UnaryCallable<CheckTrialEarlyStoppingStateRequest,com.google.longrunning.Operation>
checkTrialEarlyStoppingStateCallable()
com.google.api.gax.rpc.OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata>
checkTrialEarlyStoppingStateOperationCallable()
void
close()
com.google.api.gax.rpc.UnaryCallable<CompleteTrialRequest,Trial>
completeTrialCallable()
static GrpcVizierServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcVizierServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcVizierServiceStub
create(VizierServiceStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateStudyRequest,Study>
createStudyCallable()
com.google.api.gax.rpc.UnaryCallable<CreateTrialRequest,Trial>
createTrialCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteStudyRequest,com.google.protobuf.Empty>
deleteStudyCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteTrialRequest,com.google.protobuf.Empty>
deleteTrialCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<GetStudyRequest,Study>
getStudyCallable()
com.google.api.gax.rpc.UnaryCallable<GetTrialRequest,Trial>
getTrialCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
listLocationsCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,VizierServiceClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListOptimalTrialsRequest,ListOptimalTrialsResponse>
listOptimalTrialsCallable()
com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,ListStudiesResponse>
listStudiesCallable()
com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,VizierServiceClient.ListStudiesPagedResponse>
listStudiesPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,ListTrialsResponse>
listTrialsCallable()
com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,VizierServiceClient.ListTrialsPagedResponse>
listTrialsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<LookupStudyRequest,Study>
lookupStudyCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicyCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<StopTrialRequest,Trial>
stopTrialCallable()
com.google.api.gax.rpc.UnaryCallable<SuggestTrialsRequest,com.google.longrunning.Operation>
suggestTrialsCallable()
com.google.api.gax.rpc.OperationCallable<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata>
suggestTrialsOperationCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
-
-
-
Constructor Detail
-
GrpcVizierServiceStub
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcVizierServiceStub
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcVizierServiceStub create(VizierServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcVizierServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcVizierServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classVizierServiceStub
-
createStudyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateStudyRequest,Study> createStudyCallable()
- Overrides:
createStudyCallable
in classVizierServiceStub
-
getStudyCallable
public com.google.api.gax.rpc.UnaryCallable<GetStudyRequest,Study> getStudyCallable()
- Overrides:
getStudyCallable
in classVizierServiceStub
-
listStudiesCallable
public com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,ListStudiesResponse> listStudiesCallable()
- Overrides:
listStudiesCallable
in classVizierServiceStub
-
listStudiesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,VizierServiceClient.ListStudiesPagedResponse> listStudiesPagedCallable()
- Overrides:
listStudiesPagedCallable
in classVizierServiceStub
-
deleteStudyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteStudyRequest,com.google.protobuf.Empty> deleteStudyCallable()
- Overrides:
deleteStudyCallable
in classVizierServiceStub
-
lookupStudyCallable
public com.google.api.gax.rpc.UnaryCallable<LookupStudyRequest,Study> lookupStudyCallable()
- Overrides:
lookupStudyCallable
in classVizierServiceStub
-
suggestTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestTrialsRequest,com.google.longrunning.Operation> suggestTrialsCallable()
- Overrides:
suggestTrialsCallable
in classVizierServiceStub
-
suggestTrialsOperationCallable
public com.google.api.gax.rpc.OperationCallable<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationCallable()
- Overrides:
suggestTrialsOperationCallable
in classVizierServiceStub
-
createTrialCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTrialRequest,Trial> createTrialCallable()
- Overrides:
createTrialCallable
in classVizierServiceStub
-
getTrialCallable
public com.google.api.gax.rpc.UnaryCallable<GetTrialRequest,Trial> getTrialCallable()
- Overrides:
getTrialCallable
in classVizierServiceStub
-
listTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,ListTrialsResponse> listTrialsCallable()
- Overrides:
listTrialsCallable
in classVizierServiceStub
-
listTrialsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,VizierServiceClient.ListTrialsPagedResponse> listTrialsPagedCallable()
- Overrides:
listTrialsPagedCallable
in classVizierServiceStub
-
addTrialMeasurementCallable
public com.google.api.gax.rpc.UnaryCallable<AddTrialMeasurementRequest,Trial> addTrialMeasurementCallable()
- Overrides:
addTrialMeasurementCallable
in classVizierServiceStub
-
completeTrialCallable
public com.google.api.gax.rpc.UnaryCallable<CompleteTrialRequest,Trial> completeTrialCallable()
- Overrides:
completeTrialCallable
in classVizierServiceStub
-
deleteTrialCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTrialRequest,com.google.protobuf.Empty> deleteTrialCallable()
- Overrides:
deleteTrialCallable
in classVizierServiceStub
-
checkTrialEarlyStoppingStateCallable
public com.google.api.gax.rpc.UnaryCallable<CheckTrialEarlyStoppingStateRequest,com.google.longrunning.Operation> checkTrialEarlyStoppingStateCallable()
- Overrides:
checkTrialEarlyStoppingStateCallable
in classVizierServiceStub
-
checkTrialEarlyStoppingStateOperationCallable
public com.google.api.gax.rpc.OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationCallable()
- Overrides:
checkTrialEarlyStoppingStateOperationCallable
in classVizierServiceStub
-
stopTrialCallable
public com.google.api.gax.rpc.UnaryCallable<StopTrialRequest,Trial> stopTrialCallable()
- Overrides:
stopTrialCallable
in classVizierServiceStub
-
listOptimalTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsCallable()
- Overrides:
listOptimalTrialsCallable
in classVizierServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classVizierServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,VizierServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classVizierServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classVizierServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classVizierServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classVizierServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classVizierServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classVizierServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-