Package com.google.cloud.dataproc.v1
Class AutoscalingPolicyServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AutoscalingPolicyServiceSettings,AutoscalingPolicyServiceSettings.Builder>
-
- com.google.cloud.dataproc.v1.AutoscalingPolicyServiceSettings.Builder
-
- Enclosing class:
- AutoscalingPolicyServiceSettings
public static class AutoscalingPolicyServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AutoscalingPolicyServiceSettings,AutoscalingPolicyServiceSettings.Builder>
Builder for AutoscalingPolicyServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AutoscalingPolicyServiceSettings settings)
protected
Builder(AutoscalingPolicyServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoscalingPolicyServiceSettings.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.AutoscalingPolicyServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAutoscalingPolicyRequest,AutoscalingPolicy>
createAutoscalingPolicySettings()
Returns the builder for the settings used for calls to createAutoscalingPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,com.google.protobuf.Empty>
deleteAutoscalingPolicySettings()
Returns the builder for the settings used for calls to deleteAutoscalingPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAutoscalingPolicyRequest,AutoscalingPolicy>
getAutoscalingPolicySettings()
Returns the builder for the settings used for calls to getAutoscalingPolicy.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.AutoscalingPolicyServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse>
listAutoscalingPoliciesSettings()
Returns the builder for the settings used for calls to listAutoscalingPolicies.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<UpdateAutoscalingPolicyRequest,AutoscalingPolicy>
updateAutoscalingPolicySettings()
Returns the builder for the settings used for calls to updateAutoscalingPolicy.-
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(AutoscalingPolicyServiceSettings settings)
-
Builder
protected Builder(AutoscalingPolicyServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AutoscalingPolicyServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AutoscalingPolicyServiceSettings.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.
-
createAutoscalingPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicySettings()
Returns the builder for the settings used for calls to createAutoscalingPolicy.
-
updateAutoscalingPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicySettings()
Returns the builder for the settings used for calls to updateAutoscalingPolicy.
-
getAutoscalingPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicySettings()
Returns the builder for the settings used for calls to getAutoscalingPolicy.
-
listAutoscalingPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesSettings()
Returns the builder for the settings used for calls to listAutoscalingPolicies.
-
deleteAutoscalingPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,com.google.protobuf.Empty> deleteAutoscalingPolicySettings()
Returns the builder for the settings used for calls to deleteAutoscalingPolicy.
-
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.
-
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.
-
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 AutoscalingPolicyServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AutoscalingPolicyServiceSettings,AutoscalingPolicyServiceSettings.Builder>
- Throws:
IOException
-
-