public static class AutoscalingPolicyServiceStubSettings.Builder extends StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoscalingPolicyServiceStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AutoscalingPolicyServiceStubSettings settings)
public AutoscalingPolicyServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicySettings()
public UnaryCallSettings.Builder<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicySettings()
public UnaryCallSettings.Builder<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicySettings()
public PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesSettings()
public UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,Empty> deleteAutoscalingPolicySettings()
public AutoscalingPolicyServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.