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.
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()
getCustomerCallable()
public UnaryCallable<GetCustomerRequest,Customer> getCustomerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCustomerRequest,Customer> |
getEkmConnectionsCallable()
public UnaryCallable<GetEkmConnectionsRequest,EkmConnections> getEkmConnectionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEkmConnectionsRequest,EkmConnections> |
getPartnerCallable()
public UnaryCallable<GetPartnerRequest,Partner> getPartnerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPartnerRequest,Partner> |
getPartnerPermissionsCallable()
public UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions> getPartnerPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions> |
getWorkloadCallable()
public UnaryCallable<GetWorkloadRequest,Workload> getWorkloadCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkloadRequest,Workload> |
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> |
listAccessApprovalRequestsPagedCallable()
public UnaryCallable<ListAccessApprovalRequestsRequest,CloudControlsPartnerCoreClient.ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsPagedResponse> |
listCustomersCallable()
public UnaryCallable<ListCustomersRequest,ListCustomersResponse> listCustomersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCustomersRequest,ListCustomersResponse> |
listCustomersPagedCallable()
public UnaryCallable<ListCustomersRequest,CloudControlsPartnerCoreClient.ListCustomersPagedResponse> listCustomersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCustomersRequest,ListCustomersPagedResponse> |
listWorkloadsCallable()
public UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> listWorkloadsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> |
listWorkloadsPagedCallable()
public UnaryCallable<ListWorkloadsRequest,CloudControlsPartnerCoreClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkloadsRequest,ListWorkloadsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()