Class GrpcClientConnectorServicesServiceStub (0.1.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcClientConnectorServicesServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ClientConnectorServicesServiceStubSettings settings)

public static final GrpcClientConnectorServicesServiceStub create(ClientConnectorServicesServiceStubSettings settings)
Parameter
NameDescription
settingsClientConnectorServicesServiceStubSettings
Returns
TypeDescription
GrpcClientConnectorServicesServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsClientConnectorServicesServiceStubSettings
clientContextClientContext

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
NameDescription
settingsClientConnectorServicesServiceStubSettings
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

createClientConnectorServiceCallable()

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

createClientConnectorServiceOperationCallable()

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

deleteClientConnectorServiceCallable()

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

deleteClientConnectorServiceOperationCallable()

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

getClientConnectorServiceCallable()

public UnaryCallable<GetClientConnectorServiceRequest,ClientConnectorService> getClientConnectorServiceCallable()
Returns
TypeDescription
UnaryCallable<GetClientConnectorServiceRequest,ClientConnectorService>
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

listClientConnectorServicesCallable()

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

listClientConnectorServicesPagedCallable()

public UnaryCallable<ListClientConnectorServicesRequest,ClientConnectorServicesServiceClient.ListClientConnectorServicesPagedResponse> listClientConnectorServicesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListClientConnectorServicesRequest,ListClientConnectorServicesPagedResponse>
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,ClientConnectorServicesServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
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

updateClientConnectorServiceCallable()

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

updateClientConnectorServiceOperationCallable()

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