Class HttpJsonVpcAccessServiceStub
java.lang.Object
com.google.cloud.vpcaccess.v1.stub.VpcAccessServiceStub
com.google.cloud.vpcaccess.v1.stub.HttpJsonVpcAccessServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonVpcAccessServiceStub
extends VpcAccessServiceStub
REST stub implementation for the VpcAccessService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonVpcAccessServiceStub, using the given settings.protectedHttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonVpcAccessServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonVpcAccessServiceStubcreate(ClientContext clientContext) static final HttpJsonVpcAccessServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonVpcAccessServiceStubcreate(VpcAccessServiceStubSettings settings) OperationCallable<DeleteConnectorRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.vpcaccess.v1.stub.VpcAccessServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonVpcAccessServiceStub
protected HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonVpcAccessServiceStub, 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
-
HttpJsonVpcAccessServiceStub
protected HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonVpcAccessServiceStub, 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 HttpJsonVpcAccessServiceStub create(VpcAccessServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classVpcAccessServiceStub
-
createConnectorCallable
- Overrides:
createConnectorCallablein classVpcAccessServiceStub
-
createConnectorOperationCallable
public OperationCallable<CreateConnectorRequest,Connector, createConnectorOperationCallable()OperationMetadata> - Overrides:
createConnectorOperationCallablein classVpcAccessServiceStub
-
getConnectorCallable
- Overrides:
getConnectorCallablein classVpcAccessServiceStub
-
listConnectorsCallable
- Overrides:
listConnectorsCallablein classVpcAccessServiceStub
-
listConnectorsPagedCallable
public UnaryCallable<ListConnectorsRequest,VpcAccessServiceClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()- Overrides:
listConnectorsPagedCallablein classVpcAccessServiceStub
-
deleteConnectorCallable
- Overrides:
deleteConnectorCallablein classVpcAccessServiceStub
-
deleteConnectorOperationCallable
public OperationCallable<DeleteConnectorRequest,com.google.protobuf.Empty, deleteConnectorOperationCallable()OperationMetadata> - Overrides:
deleteConnectorOperationCallablein classVpcAccessServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVpcAccessServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VpcAccessServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVpcAccessServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVpcAccessServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-