@Generated(value="by gapic-generator-java") public class GrpcExperimentsStub extends ExperimentsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcExperimentsStub(ExperimentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcExperimentsStub, using the given settings.
|
protected |
GrpcExperimentsStub(ExperimentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcExperimentsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcExperimentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcExperimentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcExperimentsStub |
create(ExperimentsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateExperimentRequest,Experiment> |
createExperimentCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteExperimentRequest,com.google.protobuf.Empty> |
deleteExperimentCallable() |
com.google.api.gax.rpc.UnaryCallable<GetExperimentRequest,Experiment> |
getExperimentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListExperimentsRequest,ListExperimentsResponse> |
listExperimentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListExperimentsRequest,ExperimentsClient.ListExperimentsPagedResponse> |
listExperimentsPagedCallable() |
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,ExperimentsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<StartExperimentRequest,Experiment> |
startExperimentCallable() |
com.google.api.gax.rpc.UnaryCallable<StopExperimentRequest,Experiment> |
stopExperimentCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateExperimentRequest,Experiment> |
updateExperimentCallable() |
protected GrpcExperimentsStub(ExperimentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcExperimentsStub(ExperimentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcExperimentsStub create(ExperimentsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcExperimentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcExperimentsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListExperimentsRequest,ListExperimentsResponse> listExperimentsCallable()
listExperimentsCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<ListExperimentsRequest,ExperimentsClient.ListExperimentsPagedResponse> listExperimentsPagedCallable()
listExperimentsPagedCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<GetExperimentRequest,Experiment> getExperimentCallable()
getExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateExperimentRequest,Experiment> createExperimentCallable()
createExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateExperimentRequest,Experiment> updateExperimentCallable()
updateExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteExperimentRequest,com.google.protobuf.Empty> deleteExperimentCallable()
deleteExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<StartExperimentRequest,Experiment> startExperimentCallable()
startExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<StopExperimentRequest,Experiment> stopExperimentCallable()
stopExperimentCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ExperimentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ExperimentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ExperimentsStubpublic final void close()
close in interface AutoCloseableclose in class ExperimentsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.