Class HttpJsonCloudControlsPartnerCoreStub (0.10.0)

public class HttpJsonCloudControlsPartnerCoreStub extends CloudControlsPartnerCoreStub

REST stub implementation for the CloudControlsPartnerCore service API.

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

Inheritance

java.lang.Object > CloudControlsPartnerCoreStub > HttpJsonCloudControlsPartnerCoreStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudControlsPartnerCoreStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

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

HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudControlsPartnerCoreStub, 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 HttpJsonStubCallableFactory

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

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()