Class CloudControlsPartnerCoreStubSettings.Builder (0.9.0)

public static class CloudControlsPartnerCoreStubSettings.Builder extends StubSettings.Builder<CloudControlsPartnerCoreStubSettings,CloudControlsPartnerCoreStubSettings.Builder>

Builder for CloudControlsPartnerCoreStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudControlsPartnerCoreStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudControlsPartnerCoreStubSettings settings)

protected Builder(CloudControlsPartnerCoreStubSettings settings)
Parameter
Name Description
settings CloudControlsPartnerCoreStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public CloudControlsPartnerCoreStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
CloudControlsPartnerCoreStubSettings.Builder

build()

public CloudControlsPartnerCoreStubSettings build()
Returns
Type Description
CloudControlsPartnerCoreStubSettings
Overrides
Exceptions
Type Description
IOException

getCustomerSettings()

public UnaryCallSettings.Builder<GetCustomerRequest,Customer> getCustomerSettings()

Returns the builder for the settings used for calls to getCustomer.

Returns
Type Description
Builder<GetCustomerRequest,Customer>

getEkmConnectionsSettings()

public UnaryCallSettings.Builder<GetEkmConnectionsRequest,EkmConnections> getEkmConnectionsSettings()

Returns the builder for the settings used for calls to getEkmConnections.

Returns
Type Description
Builder<GetEkmConnectionsRequest,EkmConnections>

getPartnerPermissionsSettings()

public UnaryCallSettings.Builder<GetPartnerPermissionsRequest,PartnerPermissions> getPartnerPermissionsSettings()

Returns the builder for the settings used for calls to getPartnerPermissions.

Returns
Type Description
Builder<GetPartnerPermissionsRequest,PartnerPermissions>

getPartnerSettings()

public UnaryCallSettings.Builder<GetPartnerRequest,Partner> getPartnerSettings()

Returns the builder for the settings used for calls to getPartner.

Returns
Type Description
Builder<GetPartnerRequest,Partner>

getWorkloadSettings()

public UnaryCallSettings.Builder<GetWorkloadRequest,Workload> getWorkloadSettings()

Returns the builder for the settings used for calls to getWorkload.

Returns
Type Description
Builder<GetWorkloadRequest,Workload>

listAccessApprovalRequestsSettings()

public PagedCallSettings.Builder<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse,CloudControlsPartnerCoreClient.ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsSettings()

Returns the builder for the settings used for calls to listAccessApprovalRequests.

Returns
Type Description
Builder<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse,ListAccessApprovalRequestsPagedResponse>

listCustomersSettings()

public PagedCallSettings.Builder<ListCustomersRequest,ListCustomersResponse,CloudControlsPartnerCoreClient.ListCustomersPagedResponse> listCustomersSettings()

Returns the builder for the settings used for calls to listCustomers.

Returns
Type Description
Builder<ListCustomersRequest,ListCustomersResponse,ListCustomersPagedResponse>

listWorkloadsSettings()

public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,CloudControlsPartnerCoreClient.ListWorkloadsPagedResponse> listWorkloadsSettings()

Returns the builder for the settings used for calls to listWorkloads.

Returns
Type Description
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>