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 protected
GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAppConnectionsServiceStub, using the given settings.protected
GrpcAppConnectionsServiceStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcAppConnectionsServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcAppConnectionsServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcAppConnectionsServiceStub
create(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.GrpcOperationsStub
getOperationsStub()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getOperationsStub
in classAppConnectionsServiceStub
-
listAppConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsResponse> listAppConnectionsCallable()
- Overrides:
listAppConnectionsCallable
in classAppConnectionsServiceStub
-
listAppConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAppConnectionsRequest,AppConnectionsServiceClient.ListAppConnectionsPagedResponse> listAppConnectionsPagedCallable()
- Overrides:
listAppConnectionsPagedCallable
in classAppConnectionsServiceStub
-
getAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<GetAppConnectionRequest,AppConnection> getAppConnectionCallable()
- Overrides:
getAppConnectionCallable
in classAppConnectionsServiceStub
-
createAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAppConnectionRequest,com.google.longrunning.Operation> createAppConnectionCallable()
- Overrides:
createAppConnectionCallable
in classAppConnectionsServiceStub
-
createAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> createAppConnectionOperationCallable()
- Overrides:
createAppConnectionOperationCallable
in classAppConnectionsServiceStub
-
updateAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAppConnectionRequest,com.google.longrunning.Operation> updateAppConnectionCallable()
- Overrides:
updateAppConnectionCallable
in classAppConnectionsServiceStub
-
updateAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> updateAppConnectionOperationCallable()
- Overrides:
updateAppConnectionOperationCallable
in classAppConnectionsServiceStub
-
deleteAppConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAppConnectionRequest,com.google.longrunning.Operation> deleteAppConnectionCallable()
- Overrides:
deleteAppConnectionCallable
in classAppConnectionsServiceStub
-
deleteAppConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteAppConnectionRequest,com.google.protobuf.Empty,AppConnectionOperationMetadata> deleteAppConnectionOperationCallable()
- Overrides:
deleteAppConnectionOperationCallable
in classAppConnectionsServiceStub
-
resolveAppConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse> resolveAppConnectionsCallable()
- Overrides:
resolveAppConnectionsCallable
in classAppConnectionsServiceStub
-
resolveAppConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ResolveAppConnectionsRequest,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse> resolveAppConnectionsPagedCallable()
- Overrides:
resolveAppConnectionsPagedCallable
in classAppConnectionsServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classAppConnectionsServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,AppConnectionsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classAppConnectionsServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classAppConnectionsServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classAppConnectionsServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classAppConnectionsServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classAppConnectionsServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-