Class GrpcVizierServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1beta1.stub.VizierServiceStub
-
- com.google.cloud.aiplatform.v1beta1.stub.GrpcVizierServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @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 protectedGrpcVizierServiceStub(VizierServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcVizierServiceStub, using the given settings.protectedGrpcVizierServiceStub(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()booleanawaitTermination(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()voidclose()com.google.api.gax.rpc.UnaryCallable<CompleteTrialRequest,Trial>completeTrialCallable()static GrpcVizierServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcVizierServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcVizierServiceStubcreate(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.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetStudyRequest,Study>getStudyCallable()com.google.api.gax.rpc.UnaryCallable<GetTrialRequest,Trial>getTrialCallable()booleanisShutdown()booleanisTerminated()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()voidshutdown()voidshutdownNow()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:
getOperationsStubin classVizierServiceStub
-
createStudyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateStudyRequest,Study> createStudyCallable()
- Overrides:
createStudyCallablein classVizierServiceStub
-
getStudyCallable
public com.google.api.gax.rpc.UnaryCallable<GetStudyRequest,Study> getStudyCallable()
- Overrides:
getStudyCallablein classVizierServiceStub
-
listStudiesCallable
public com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,ListStudiesResponse> listStudiesCallable()
- Overrides:
listStudiesCallablein classVizierServiceStub
-
listStudiesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListStudiesRequest,VizierServiceClient.ListStudiesPagedResponse> listStudiesPagedCallable()
- Overrides:
listStudiesPagedCallablein classVizierServiceStub
-
deleteStudyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteStudyRequest,com.google.protobuf.Empty> deleteStudyCallable()
- Overrides:
deleteStudyCallablein classVizierServiceStub
-
lookupStudyCallable
public com.google.api.gax.rpc.UnaryCallable<LookupStudyRequest,Study> lookupStudyCallable()
- Overrides:
lookupStudyCallablein classVizierServiceStub
-
suggestTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestTrialsRequest,com.google.longrunning.Operation> suggestTrialsCallable()
- Overrides:
suggestTrialsCallablein classVizierServiceStub
-
suggestTrialsOperationCallable
public com.google.api.gax.rpc.OperationCallable<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationCallable()
- Overrides:
suggestTrialsOperationCallablein classVizierServiceStub
-
createTrialCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTrialRequest,Trial> createTrialCallable()
- Overrides:
createTrialCallablein classVizierServiceStub
-
getTrialCallable
public com.google.api.gax.rpc.UnaryCallable<GetTrialRequest,Trial> getTrialCallable()
- Overrides:
getTrialCallablein classVizierServiceStub
-
listTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,ListTrialsResponse> listTrialsCallable()
- Overrides:
listTrialsCallablein classVizierServiceStub
-
listTrialsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTrialsRequest,VizierServiceClient.ListTrialsPagedResponse> listTrialsPagedCallable()
- Overrides:
listTrialsPagedCallablein classVizierServiceStub
-
addTrialMeasurementCallable
public com.google.api.gax.rpc.UnaryCallable<AddTrialMeasurementRequest,Trial> addTrialMeasurementCallable()
- Overrides:
addTrialMeasurementCallablein classVizierServiceStub
-
completeTrialCallable
public com.google.api.gax.rpc.UnaryCallable<CompleteTrialRequest,Trial> completeTrialCallable()
- Overrides:
completeTrialCallablein classVizierServiceStub
-
deleteTrialCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTrialRequest,com.google.protobuf.Empty> deleteTrialCallable()
- Overrides:
deleteTrialCallablein classVizierServiceStub
-
checkTrialEarlyStoppingStateCallable
public com.google.api.gax.rpc.UnaryCallable<CheckTrialEarlyStoppingStateRequest,com.google.longrunning.Operation> checkTrialEarlyStoppingStateCallable()
- Overrides:
checkTrialEarlyStoppingStateCallablein classVizierServiceStub
-
checkTrialEarlyStoppingStateOperationCallable
public com.google.api.gax.rpc.OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationCallable()
- Overrides:
checkTrialEarlyStoppingStateOperationCallablein classVizierServiceStub
-
stopTrialCallable
public com.google.api.gax.rpc.UnaryCallable<StopTrialRequest,Trial> stopTrialCallable()
- Overrides:
stopTrialCallablein classVizierServiceStub
-
listOptimalTrialsCallable
public com.google.api.gax.rpc.UnaryCallable<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsCallable()
- Overrides:
listOptimalTrialsCallablein classVizierServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classVizierServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,VizierServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classVizierServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classVizierServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classVizierServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classVizierServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classVizierServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-