Class AutoscalingPolicyServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>
com.google.cloud.dataproc.v1.stub.AutoscalingPolicyServiceStubSettings.Builder
- Enclosing class:
- AutoscalingPolicyServiceStubSettings
public static class AutoscalingPolicyServiceStubSettings.Builder
extends StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>
Builder for AutoscalingPolicyServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AutoscalingPolicyServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createAutoscalingPolicy.UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteAutoscalingPolicy.Returns the builder for the settings used for calls to getAutoscalingPolicy.Returns the builder for the settings used for calls to getIamPolicy.PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse, AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> Returns the builder for the settings used for calls to listAutoscalingPolicies.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateAutoscalingPolicy.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public AutoscalingPolicyServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createAutoscalingPolicySettings
public UnaryCallSettings.Builder<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicySettings()Returns the builder for the settings used for calls to createAutoscalingPolicy. -
updateAutoscalingPolicySettings
public UnaryCallSettings.Builder<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicySettings()Returns the builder for the settings used for calls to updateAutoscalingPolicy. -
getAutoscalingPolicySettings
public UnaryCallSettings.Builder<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicySettings()Returns the builder for the settings used for calls to getAutoscalingPolicy. -
listAutoscalingPoliciesSettings
public PagedCallSettings.Builder<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse, listAutoscalingPoliciesSettings()AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> Returns the builder for the settings used for calls to listAutoscalingPolicies. -
deleteAutoscalingPolicySettings
public UnaryCallSettings.Builder<DeleteAutoscalingPolicyRequest,com.google.protobuf.Empty> deleteAutoscalingPolicySettings()Returns the builder for the settings used for calls to deleteAutoscalingPolicy. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classStubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder> - Throws:
IOException
-