@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonExamplesStub extends ExamplesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonExamplesStub(ExamplesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonExamplesStub, using the given settings.
|
protected |
HttpJsonExamplesStub(ExamplesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonExamplesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonExamplesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonExamplesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonExamplesStub |
create(ExamplesStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateExampleRequest,Example> |
createExampleCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteExampleRequest,com.google.protobuf.Empty> |
deleteExampleCallable() |
com.google.api.gax.rpc.UnaryCallable<GetExampleRequest,Example> |
getExampleCallable() |
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<ListExamplesRequest,ListExamplesResponse> |
listExamplesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListExamplesRequest,ExamplesClient.ListExamplesPagedResponse> |
listExamplesPagedCallable() |
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,ExamplesClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateExampleRequest,Example> |
updateExampleCallable() |
protected HttpJsonExamplesStub(ExamplesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonExamplesStub(ExamplesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonExamplesStub create(ExamplesStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonExamplesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonExamplesStub 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<CreateExampleRequest,Example> createExampleCallable()
createExampleCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteExampleRequest,com.google.protobuf.Empty> deleteExampleCallable()
deleteExampleCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
listExamplesCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<ListExamplesRequest,ExamplesClient.ListExamplesPagedResponse> listExamplesPagedCallable()
listExamplesPagedCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<GetExampleRequest,Example> getExampleCallable()
getExampleCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateExampleRequest,Example> updateExampleCallable()
updateExampleCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ExamplesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ExamplesStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ExamplesStubpublic final void close()
close in interface AutoCloseableclose in class ExamplesStubpublic 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.