Class GrpcAppConnectionsServiceStub (0.6.0)

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.

Inheritance

java.lang.Object > AppConnectionsServiceStub > GrpcAppConnectionsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAppConnectionsServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcAppConnectionsServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAppConnectionsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAppConnectionsServiceStub
Exceptions
TypeDescription
IOException

create(AppConnectionsServiceStubSettings settings)

public static final GrpcAppConnectionsServiceStub create(AppConnectionsServiceStubSettings settings)
Parameter
NameDescription
settingsAppConnectionsServiceStubSettings
Returns
TypeDescription
GrpcAppConnectionsServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, ClientContext clientContext)

protected GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsAppConnectionsServiceStubSettings
clientContextClientContext

GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAppConnectionsServiceStub(AppConnectionsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsAppConnectionsServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createAppConnectionCallable()

public UnaryCallable<CreateAppConnectionRequest,Operation> createAppConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreateAppConnectionRequest,Operation>
Overrides

createAppConnectionOperationCallable()

public OperationCallable<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> createAppConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>
Overrides

deleteAppConnectionCallable()

public UnaryCallable<DeleteAppConnectionRequest,Operation> deleteAppConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeleteAppConnectionRequest,Operation>
Overrides

deleteAppConnectionOperationCallable()

public OperationCallable<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata> deleteAppConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata>
Overrides

getAppConnectionCallable()

public UnaryCallable<GetAppConnectionRequest,AppConnection> getAppConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetAppConnectionRequest,AppConnection>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAppConnectionsCallable()

public UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsResponse> listAppConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsResponse>
Overrides

listAppConnectionsPagedCallable()

public UnaryCallable<ListAppConnectionsRequest,AppConnectionsServiceClient.ListAppConnectionsPagedResponse> listAppConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAppConnectionsRequest,ListAppConnectionsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,AppConnectionsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

resolveAppConnectionsCallable()

public UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse> resolveAppConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse>
Overrides

resolveAppConnectionsPagedCallable()

public UnaryCallable<ResolveAppConnectionsRequest,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse> resolveAppConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ResolveAppConnectionsRequest,ResolveAppConnectionsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAppConnectionCallable()

public UnaryCallable<UpdateAppConnectionRequest,Operation> updateAppConnectionCallable()
Returns
TypeDescription
UnaryCallable<UpdateAppConnectionRequest,Operation>
Overrides

updateAppConnectionOperationCallable()

public OperationCallable<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> updateAppConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>
Overrides