Class GrpcCloudControlsPartnerCoreStub (0.7.0)

public class GrpcCloudControlsPartnerCoreStub extends CloudControlsPartnerCoreStub

gRPC stub implementation for the CloudControlsPartnerCore service API.

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

Inheritance

java.lang.Object > CloudControlsPartnerCoreStub > GrpcCloudControlsPartnerCoreStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudControlsPartnerCoreStubSettings settings)

public static final GrpcCloudControlsPartnerCoreStub create(CloudControlsPartnerCoreStubSettings settings)
Parameter
Name Description
settings CloudControlsPartnerCoreStubSettings
Returns
Type Description
GrpcCloudControlsPartnerCoreStub
Exceptions
Type Description
IOException

Constructors

GrpcCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

protected GrpcCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCloudControlsPartnerCoreStub, 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 CloudControlsPartnerCoreStubSettings
clientContext ClientContext

GrpcCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCloudControlsPartnerCoreStub, 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 CloudControlsPartnerCoreStubSettings
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

getCustomerCallable()

public UnaryCallable<GetCustomerRequest,Customer> getCustomerCallable()
Returns
Type Description
UnaryCallable<GetCustomerRequest,Customer>
Overrides

getEkmConnectionsCallable()

public UnaryCallable<GetEkmConnectionsRequest,EkmConnections> getEkmConnectionsCallable()
Returns
Type Description
UnaryCallable<GetEkmConnectionsRequest,EkmConnections>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getPartnerCallable()

public UnaryCallable<GetPartnerRequest,Partner> getPartnerCallable()
Returns
Type Description
UnaryCallable<GetPartnerRequest,Partner>
Overrides

getPartnerPermissionsCallable()

public UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions> getPartnerPermissionsCallable()
Returns
Type Description
UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions>
Overrides

getWorkloadCallable()

public UnaryCallable<GetWorkloadRequest,Workload> getWorkloadCallable()
Returns
Type Description
UnaryCallable<GetWorkloadRequest,Workload>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAccessApprovalRequestsCallable()

public UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse> listAccessApprovalRequestsCallable()
Returns
Type Description
UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse>
Overrides

listAccessApprovalRequestsPagedCallable()

public UnaryCallable<ListAccessApprovalRequestsRequest,CloudControlsPartnerCoreClient.ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsPagedCallable()
Returns
Type Description
UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsPagedResponse>
Overrides

listCustomersCallable()

public UnaryCallable<ListCustomersRequest,ListCustomersResponse> listCustomersCallable()
Returns
Type Description
UnaryCallable<ListCustomersRequest,ListCustomersResponse>
Overrides

listCustomersPagedCallable()

public UnaryCallable<ListCustomersRequest,CloudControlsPartnerCoreClient.ListCustomersPagedResponse> listCustomersPagedCallable()
Returns
Type Description
UnaryCallable<ListCustomersRequest,ListCustomersPagedResponse>
Overrides

listWorkloadsCallable()

public UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> listWorkloadsCallable()
Returns
Type Description
UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse>
Overrides

listWorkloadsPagedCallable()

public UnaryCallable<ListWorkloadsRequest,CloudControlsPartnerCoreClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkloadsRequest,ListWorkloadsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()