public static class AutoscalingPolicyServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AutoscalingPolicyServiceSettings,AutoscalingPolicyServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoscalingPolicyServiceSettings settings) |
protected |
Builder(AutoscalingPolicyServiceStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and 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,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.
|
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<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> |
updateAutoscalingPolicySettings()
Returns the builder for the settings used for calls to updateAutoscalingPolicy.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AutoscalingPolicyServiceSettings settings)
protected Builder(AutoscalingPolicyServiceStubSettings.Builder stubSettings)
public AutoscalingPolicyServiceStubSettings.Builder getStubSettingsBuilder()
public AutoscalingPolicyServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,Empty> deleteAutoscalingPolicySettings()
public AutoscalingPolicyServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<AutoscalingPolicyServiceSettings,AutoscalingPolicyServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.