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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudControlsPartnerCoreStubSettings settings)

public static final GrpcCloudControlsPartnerCoreStub create(CloudControlsPartnerCoreStubSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerCoreStubSettings
Returns
TypeDescription
GrpcCloudControlsPartnerCoreStub
Exceptions
TypeDescription
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
NameDescription
settingsCloudControlsPartnerCoreStubSettings
clientContextClientContext

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

getCustomerCallable()

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

getEkmConnectionsCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getPartnerCallable()

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

getPartnerPermissionsCallable()

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

getWorkloadCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAccessApprovalRequestsCallable()

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

listAccessApprovalRequestsPagedCallable()

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

listCustomersCallable()

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

listCustomersPagedCallable()

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

listWorkloadsCallable()

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

listWorkloadsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()