Class GrpcClientConnectorServicesServiceStub (0.43.0)

public class GrpcClientConnectorServicesServiceStub extends ClientConnectorServicesServiceStub

gRPC stub implementation for the ClientConnectorServicesService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ClientConnectorServicesServiceStub > GrpcClientConnectorServicesServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcClientConnectorServicesServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcClientConnectorServicesServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcClientConnectorServicesServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcClientConnectorServicesServiceStub
Exceptions
Type Description
IOException

create(ClientConnectorServicesServiceStubSettings settings)

public static final GrpcClientConnectorServicesServiceStub create(ClientConnectorServicesServiceStubSettings settings)
Parameter
Name Description
settings ClientConnectorServicesServiceStubSettings
Returns
Type Description
GrpcClientConnectorServicesServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcClientConnectorServicesServiceStub(ClientConnectorServicesServiceStubSettings settings, ClientContext clientContext)

protected GrpcClientConnectorServicesServiceStub(ClientConnectorServicesServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcClientConnectorServicesServiceStub, 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
Name Description
settings ClientConnectorServicesServiceStubSettings
clientContext ClientContext

GrpcClientConnectorServicesServiceStub(ClientConnectorServicesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcClientConnectorServicesServiceStub(ClientConnectorServicesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcClientConnectorServicesServiceStub, 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
Name Description
settings ClientConnectorServicesServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createClientConnectorServiceCallable()

public UnaryCallable<CreateClientConnectorServiceRequest,Operation> createClientConnectorServiceCallable()
Returns
Type Description
UnaryCallable<CreateClientConnectorServiceRequest,Operation>
Overrides

createClientConnectorServiceOperationCallable()

public OperationCallable<CreateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata> createClientConnectorServiceOperationCallable()
Returns
Type Description
OperationCallable<CreateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata>
Overrides

deleteClientConnectorServiceCallable()

public UnaryCallable<DeleteClientConnectorServiceRequest,Operation> deleteClientConnectorServiceCallable()
Returns
Type Description
UnaryCallable<DeleteClientConnectorServiceRequest,Operation>
Overrides

deleteClientConnectorServiceOperationCallable()

public OperationCallable<DeleteClientConnectorServiceRequest,Empty,ClientConnectorServiceOperationMetadata> deleteClientConnectorServiceOperationCallable()
Returns
Type Description
OperationCallable<DeleteClientConnectorServiceRequest,Empty,ClientConnectorServiceOperationMetadata>
Overrides

getClientConnectorServiceCallable()

public UnaryCallable<GetClientConnectorServiceRequest,ClientConnectorService> getClientConnectorServiceCallable()
Returns
Type Description
UnaryCallable<GetClientConnectorServiceRequest,ClientConnectorService>
Overrides

getIamPolicyCallable()

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

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listClientConnectorServicesCallable()

public UnaryCallable<ListClientConnectorServicesRequest,ListClientConnectorServicesResponse> listClientConnectorServicesCallable()
Returns
Type Description
UnaryCallable<ListClientConnectorServicesRequest,ListClientConnectorServicesResponse>
Overrides

listClientConnectorServicesPagedCallable()

public UnaryCallable<ListClientConnectorServicesRequest,ClientConnectorServicesServiceClient.ListClientConnectorServicesPagedResponse> listClientConnectorServicesPagedCallable()
Returns
Type Description
UnaryCallable<ListClientConnectorServicesRequest,ListClientConnectorServicesPagedResponse>
Overrides

listLocationsCallable()

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

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ClientConnectorServicesServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateClientConnectorServiceCallable()

public UnaryCallable<UpdateClientConnectorServiceRequest,Operation> updateClientConnectorServiceCallable()
Returns
Type Description
UnaryCallable<UpdateClientConnectorServiceRequest,Operation>
Overrides

updateClientConnectorServiceOperationCallable()

public OperationCallable<UpdateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata> updateClientConnectorServiceOperationCallable()
Returns
Type Description
OperationCallable<UpdateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata>
Overrides