Package com.google.cloud.billing.v1
Class CloudBillingSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CloudBillingSettings,CloudBillingSettings.Builder>
-
- com.google.cloud.billing.v1.CloudBillingSettings.Builder
-
- Enclosing class:
- CloudBillingSettings
public static class CloudBillingSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CloudBillingSettings,CloudBillingSettings.Builder>
Builder for CloudBillingSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudBillingSettings settings)
protected
Builder(CloudBillingStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudBillingSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.CloudBillingSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBillingAccountRequest,BillingAccount>
createBillingAccountSettings()
Returns the builder for the settings used for calls to createBillingAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBillingAccountRequest,BillingAccount>
getBillingAccountSettings()
Returns the builder for the settings used for calls to getBillingAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectBillingInfoRequest,ProjectBillingInfo>
getProjectBillingInfoSettings()
Returns the builder for the settings used for calls to getProjectBillingInfo.CloudBillingStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListBillingAccountsRequest,ListBillingAccountsResponse,CloudBillingClient.ListBillingAccountsPagedResponse>
listBillingAccountsSettings()
Returns the builder for the settings used for calls to listBillingAccounts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProjectBillingInfoRequest,ListProjectBillingInfoResponse,CloudBillingClient.ListProjectBillingInfoPagedResponse>
listProjectBillingInfoSettings()
Returns the builder for the settings used for calls to listProjectBillingInfo.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBillingAccountRequest,BillingAccount>
updateBillingAccountSettings()
Returns the builder for the settings used for calls to updateBillingAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectBillingInfoRequest,ProjectBillingInfo>
updateProjectBillingInfoSettings()
Returns the builder for the settings used for calls to updateProjectBillingInfo.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudBillingSettings settings)
-
Builder
protected Builder(CloudBillingStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CloudBillingStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CloudBillingSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
getBillingAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBillingAccountRequest,BillingAccount> getBillingAccountSettings()
Returns the builder for the settings used for calls to getBillingAccount.
-
listBillingAccountsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBillingAccountsRequest,ListBillingAccountsResponse,CloudBillingClient.ListBillingAccountsPagedResponse> listBillingAccountsSettings()
Returns the builder for the settings used for calls to listBillingAccounts.
-
updateBillingAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBillingAccountRequest,BillingAccount> updateBillingAccountSettings()
Returns the builder for the settings used for calls to updateBillingAccount.
-
createBillingAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBillingAccountRequest,BillingAccount> createBillingAccountSettings()
Returns the builder for the settings used for calls to createBillingAccount.
-
listProjectBillingInfoSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProjectBillingInfoRequest,ListProjectBillingInfoResponse,CloudBillingClient.ListProjectBillingInfoPagedResponse> listProjectBillingInfoSettings()
Returns the builder for the settings used for calls to listProjectBillingInfo.
-
getProjectBillingInfoSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectBillingInfoRequest,ProjectBillingInfo> getProjectBillingInfoSettings()
Returns the builder for the settings used for calls to getProjectBillingInfo.
-
updateProjectBillingInfoSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectBillingInfoRequest,ProjectBillingInfo> updateProjectBillingInfoSettings()
Returns the builder for the settings used for calls to updateProjectBillingInfo.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public CloudBillingSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CloudBillingSettings,CloudBillingSettings.Builder>
- Throws:
IOException
-
-