Class GrpcAppConnectionsServiceStub
- java.lang.Object
-
- com.google.cloud.beyondcorp.appconnections.v1.stub.AppConnectionsServiceStub
-
- com.google.cloud.beyondcorp.appconnections.v1.stub.GrpcAppConnectionsServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcAppConnectionsServiceStub extends AppConnectionsServiceStub
gRPC stub implementation for the AppConnectionsService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcAppConnectionsServiceStub, using the given settings.protectedGrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcAppConnectionsServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcAppConnectionsServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcAppConnectionsServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcAppConnectionsServiceStubcreate(AppConnectionsServiceStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateAppConnectionRequest,com.google.longrunning.Operation>createAppConnectionCallable()com.google.api.gax.rpc.OperationCallable<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>createAppConnectionOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteAppConnectionRequest,com.google.longrunning.Operation>deleteAppConnectionCallable()com.google.api.gax.rpc.OperationCallable<DeleteAppConnectionRequest,com.google.protobuf.Empty,AppConnectionOperationMetadata>deleteAppConnectionOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetAppConnectionRequest,AppConnection>getAppConnectionCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsResponse>listAppConnectionsCallable()com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,AppConnectionsServiceClient.ListAppConnectionsPagedResponse>listAppConnectionsPagedCallable()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,AppConnectionsServiceClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse>resolveAppConnectionsCallable()com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse>resolveAppConnectionsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateAppConnectionRequest,com.google.longrunning.Operation>updateAppConnectionCallable()com.google.api.gax.rpc.OperationCallable<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>updateAppConnectionOperationCallable()
-
-
-
Constructor Detail
-
GrpcAppConnectionsServiceStub
protected GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcAppConnectionsServiceStub, 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
-
GrpcAppConnectionsServiceStub
protected GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcAppConnectionsServiceStub, 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 Detail
-
create
public static final GrpcAppConnectionsServiceStub create(AppConnectionsServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcAppConnectionsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcAppConnectionsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classAppConnectionsServiceStub
-
listAppConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsResponse> listAppConnectionsCallable()
- Overrides:
listAppConnectionsCallablein classAppConnectionsServiceStub
-
listAppConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,AppConnectionsServiceClient.ListAppConnectionsPagedResponse> listAppConnectionsPagedCallable()
- Overrides:
listAppConnectionsPagedCallablein classAppConnectionsServiceStub
-
getAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<GetAppConnectionRequest,AppConnection> getAppConnectionCallable()
- Overrides:
getAppConnectionCallablein classAppConnectionsServiceStub
-
createAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAppConnectionRequest,com.google.longrunning.Operation> createAppConnectionCallable()
- Overrides:
createAppConnectionCallablein classAppConnectionsServiceStub
-
createAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> createAppConnectionOperationCallable()
- Overrides:
createAppConnectionOperationCallablein classAppConnectionsServiceStub
-
updateAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAppConnectionRequest,com.google.longrunning.Operation> updateAppConnectionCallable()
- Overrides:
updateAppConnectionCallablein classAppConnectionsServiceStub
-
updateAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> updateAppConnectionOperationCallable()
- Overrides:
updateAppConnectionOperationCallablein classAppConnectionsServiceStub
-
deleteAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAppConnectionRequest,com.google.longrunning.Operation> deleteAppConnectionCallable()
- Overrides:
deleteAppConnectionCallablein classAppConnectionsServiceStub
-
deleteAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAppConnectionRequest,com.google.protobuf.Empty,AppConnectionOperationMetadata> deleteAppConnectionOperationCallable()
- Overrides:
deleteAppConnectionOperationCallablein classAppConnectionsServiceStub
-
resolveAppConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse> resolveAppConnectionsCallable()
- Overrides:
resolveAppConnectionsCallablein classAppConnectionsServiceStub
-
resolveAppConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse> resolveAppConnectionsPagedCallable()
- Overrides:
resolveAppConnectionsPagedCallablein classAppConnectionsServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classAppConnectionsServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,AppConnectionsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classAppConnectionsServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classAppConnectionsServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classAppConnectionsServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classAppConnectionsServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classAppConnectionsServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAppConnectionsServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-