public static class AutoscalingPolicyServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(AutoscalingPolicyServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and Description |
|---|---|
AutoscalingPolicyServiceStubSettings.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.
|
AutoscalingPolicyServiceStubSettings |
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.
|
String |
getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
|
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> |
updateAutoscalingPolicySettings()
Returns the builder for the settings used for calls to updateAutoscalingPolicy.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AutoscalingPolicyServiceStubSettings settings)
public AutoscalingPolicyServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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,com.google.protobuf.Empty> deleteAutoscalingPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public String getEndpoint()
getEndpoint in class com.google.api.gax.rpc.StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>public AutoscalingPolicyServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<AutoscalingPolicyServiceStubSettings,AutoscalingPolicyServiceStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.