@Generated(value="by gapic-generator-java") public class HttpJsonExperimentsStub extends ExperimentsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonExperimentsStub(ExperimentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonExperimentsStub, using the given settings.
|
protected |
HttpJsonExperimentsStub(ExperimentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonExperimentsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonExperimentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonExperimentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonExperimentsStub |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonExperimentsStub(ExperimentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonExperimentsStub(ExperimentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonExperimentsStub create(ExperimentsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonExperimentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonExperimentsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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.