@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonToolsStub extends ToolsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonToolsStub(ToolsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonToolsStub, using the given settings.
|
protected |
HttpJsonToolsStub(ToolsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonToolsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonToolsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonToolsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonToolsStub |
create(ToolsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateToolRequest,Tool> |
createToolCallable() |
com.google.api.gax.rpc.UnaryCallable<CreateToolVersionRequest,ToolVersion> |
createToolVersionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteToolRequest,com.google.protobuf.Empty> |
deleteToolCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteToolVersionRequest,com.google.protobuf.Empty> |
deleteToolVersionCallable() |
com.google.api.gax.rpc.UnaryCallable<ExportToolsRequest,com.google.longrunning.Operation> |
exportToolsCallable() |
com.google.api.gax.rpc.OperationCallable<ExportToolsRequest,ExportToolsResponse,ExportToolsMetadata> |
exportToolsOperationCallable() |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
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() |
com.google.api.gax.rpc.UnaryCallable<GetToolRequest,Tool> |
getToolCallable() |
com.google.api.gax.rpc.UnaryCallable<GetToolVersionRequest,ToolVersion> |
getToolVersionCallable() |
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,ToolsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListToolsRequest,ListToolsResponse> |
listToolsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListToolsRequest,ToolsClient.ListToolsPagedResponse> |
listToolsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListToolVersionsRequest,ListToolVersionsResponse> |
listToolVersionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListToolVersionsRequest,ToolsClient.ListToolVersionsPagedResponse> |
listToolVersionsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RestoreToolVersionRequest,RestoreToolVersionResponse> |
restoreToolVersionCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateToolRequest,Tool> |
updateToolCallable() |
getOperationsStubprotected HttpJsonToolsStub(ToolsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonToolsStub(ToolsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonToolsStub create(ToolsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonToolsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonToolsStub 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.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateToolRequest,Tool> createToolCallable()
createToolCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<ListToolsRequest,ListToolsResponse> listToolsCallable()
listToolsCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<ListToolsRequest,ToolsClient.ListToolsPagedResponse> listToolsPagedCallable()
listToolsPagedCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<ExportToolsRequest,com.google.longrunning.Operation> exportToolsCallable()
exportToolsCallable in class ToolsStubpublic com.google.api.gax.rpc.OperationCallable<ExportToolsRequest,ExportToolsResponse,ExportToolsMetadata> exportToolsOperationCallable()
exportToolsOperationCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<GetToolRequest,Tool> getToolCallable()
getToolCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateToolRequest,Tool> updateToolCallable()
updateToolCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteToolRequest,com.google.protobuf.Empty> deleteToolCallable()
deleteToolCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<ListToolVersionsRequest,ListToolVersionsResponse> listToolVersionsCallable()
listToolVersionsCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<ListToolVersionsRequest,ToolsClient.ListToolVersionsPagedResponse> listToolVersionsPagedCallable()
listToolVersionsPagedCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateToolVersionRequest,ToolVersion> createToolVersionCallable()
createToolVersionCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<GetToolVersionRequest,ToolVersion> getToolVersionCallable()
getToolVersionCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteToolVersionRequest,com.google.protobuf.Empty> deleteToolVersionCallable()
deleteToolVersionCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<RestoreToolVersionRequest,RestoreToolVersionResponse> restoreToolVersionCallable()
restoreToolVersionCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ToolsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ToolsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ToolsStubpublic final void close()
close in interface AutoCloseableclose in class ToolsStubpublic 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.