Class HttpJsonGkeHubStub
java.lang.Object
com.google.cloud.gkehub.v1alpha.stub.GkeHubStub
com.google.cloud.gkehub.v1alpha.stub.HttpJsonGkeHubStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
REST stub implementation for the GkeHub service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonGkeHubStub, using the given settings.protectedHttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonGkeHubStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonGkeHubStubcreate(ClientContext clientContext) static final HttpJsonGkeHubStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonGkeHubStubcreate(GkeHubStubSettings settings) OperationCallable<DeleteFeatureRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.gkehub.v1alpha.stub.GkeHubStub
getOperationsStub
-
Constructor Details
-
HttpJsonGkeHubStub
protected HttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonGkeHubStub, 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
-
HttpJsonGkeHubStub
protected HttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonGkeHubStub, 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
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonGkeHubStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classGkeHubStub
-
listFeaturesCallable
- Overrides:
listFeaturesCallablein classGkeHubStub
-
listFeaturesPagedCallable
public UnaryCallable<ListFeaturesRequest,GkeHubClient.ListFeaturesPagedResponse> listFeaturesPagedCallable()- Overrides:
listFeaturesPagedCallablein classGkeHubStub
-
getFeatureCallable
- Overrides:
getFeatureCallablein classGkeHubStub
-
createFeatureCallable
- Overrides:
createFeatureCallablein classGkeHubStub
-
createFeatureOperationCallable
public OperationCallable<CreateFeatureRequest,Feature, createFeatureOperationCallable()OperationMetadata> - Overrides:
createFeatureOperationCallablein classGkeHubStub
-
deleteFeatureCallable
- Overrides:
deleteFeatureCallablein classGkeHubStub
-
deleteFeatureOperationCallable
public OperationCallable<DeleteFeatureRequest,com.google.protobuf.Empty, deleteFeatureOperationCallable()OperationMetadata> - Overrides:
deleteFeatureOperationCallablein classGkeHubStub
-
updateFeatureCallable
- Overrides:
updateFeatureCallablein classGkeHubStub
-
updateFeatureOperationCallable
public OperationCallable<UpdateFeatureRequest,Feature, updateFeatureOperationCallable()OperationMetadata> - Overrides:
updateFeatureOperationCallablein classGkeHubStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGkeHubStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-