Package com.google.cloud.apihub.v1.stub
Class HttpJsonApiHubDependenciesStub
java.lang.Object
com.google.cloud.apihub.v1.stub.ApiHubDependenciesStub
com.google.cloud.apihub.v1.stub.HttpJsonApiHubDependenciesStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonApiHubDependenciesStub
extends ApiHubDependenciesStub
REST stub implementation for the ApiHubDependencies service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonApiHubDependenciesStub(ApiHubDependenciesStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonApiHubDependenciesStub, using the given settings.protectedHttpJsonApiHubDependenciesStub(ApiHubDependenciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonApiHubDependenciesStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonApiHubDependenciesStubcreate(ClientContext clientContext) static final HttpJsonApiHubDependenciesStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonApiHubDependenciesStubcreate(ApiHubDependenciesStubSettings settings) UnaryCallable<DeleteDependencyRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonApiHubDependenciesStub
protected HttpJsonApiHubDependenciesStub(ApiHubDependenciesStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonApiHubDependenciesStub, 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
-
HttpJsonApiHubDependenciesStub
protected HttpJsonApiHubDependenciesStub(ApiHubDependenciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonApiHubDependenciesStub, 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 Details
-
create
public static final HttpJsonApiHubDependenciesStub create(ApiHubDependenciesStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonApiHubDependenciesStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonApiHubDependenciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
createDependencyCallable
- Overrides:
createDependencyCallablein classApiHubDependenciesStub
-
getDependencyCallable
- Overrides:
getDependencyCallablein classApiHubDependenciesStub
-
updateDependencyCallable
- Overrides:
updateDependencyCallablein classApiHubDependenciesStub
-
deleteDependencyCallable
- Overrides:
deleteDependencyCallablein classApiHubDependenciesStub
-
listDependenciesCallable
- Overrides:
listDependenciesCallablein classApiHubDependenciesStub
-
listDependenciesPagedCallable
public UnaryCallable<ListDependenciesRequest,ApiHubDependenciesClient.ListDependenciesPagedResponse> listDependenciesPagedCallable()- Overrides:
listDependenciesPagedCallablein classApiHubDependenciesStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classApiHubDependenciesStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ApiHubDependenciesClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classApiHubDependenciesStub
-
getLocationCallable
- Overrides:
getLocationCallablein classApiHubDependenciesStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classApiHubDependenciesStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-