Package com.google.cloud.compute.v1
Class AutoscalersSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AutoscalersSettings,AutoscalersSettings.Builder>
-
- com.google.cloud.compute.v1.AutoscalersSettings.Builder
-
- Enclosing class:
- AutoscalersSettings
public static class AutoscalersSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AutoscalersSettings,AutoscalersSettings.Builder>
Builder for AutoscalersSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AutoscalersSettings settings)
protected
Builder(AutoscalersStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListAutoscalersRequest,AutoscalerAggregatedList,AutoscalersClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.AutoscalersSettings.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.AutoscalersSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAutoscalerRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAutoscalerRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAutoscalerRequest,Autoscaler>
getSettings()
Returns the builder for the settings used for calls to get.AutoscalersStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertAutoscalerRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertAutoscalerRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAutoscalersRequest,AutoscalerList,AutoscalersClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchAutoscalerRequest,Operation,Operation>
patchOperationSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchAutoscalerRequest,Operation>
patchSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAutoscalerRequest,Operation,Operation>
updateOperationSettings()
Returns the builder for the settings used for calls to update.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAutoscalerRequest,Operation>
updateSettings()
Returns the builder for the settings used for calls to update.-
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(AutoscalersSettings settings)
-
Builder
protected Builder(AutoscalersStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AutoscalersStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AutoscalersSettings.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.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListAutoscalersRequest,AutoscalerAggregatedList,AutoscalersClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAutoscalerRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAutoscalerRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAutoscalerRequest,Autoscaler> getSettings()
Returns the builder for the settings used for calls to get.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertAutoscalerRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertAutoscalerRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAutoscalersRequest,AutoscalerList,AutoscalersClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
patchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchAutoscalerRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
-
patchOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchAutoscalerRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
-
updateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAutoscalerRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.
-
updateOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAutoscalerRequest,Operation,Operation> updateOperationSettings()
Returns the builder for the settings used for calls to update.
-
build
public AutoscalersSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AutoscalersSettings,AutoscalersSettings.Builder>
- Throws:
IOException
-
-