Package com.google.cloud.compute.v1
Class ReservationsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ReservationsSettings,ReservationsSettings.Builder>
-
- com.google.cloud.compute.v1.ReservationsSettings.Builder
-
- Enclosing class:
- ReservationsSettings
public static class ReservationsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ReservationsSettings,ReservationsSettings.Builder>
Builder for ReservationsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ReservationsSettings settings)
protected
Builder(ReservationsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListReservationsRequest,ReservationAggregatedList,ReservationsClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.ReservationsSettings.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.ReservationsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteReservationRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyReservationRequest,Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation>
getSettings()
Returns the builder for the settings used for calls to get.ReservationsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertReservationRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertReservationRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ReservationList,ReservationsClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<ResizeReservationRequest,Operation,Operation>
resizeOperationSettings()
Returns the builder for the settings used for calls to resize.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeReservationRequest,Operation>
resizeSettings()
Returns the builder for the settings used for calls to resize.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyReservationRequest,Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsReservationRequest,TestPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateReservationRequest,Operation,Operation>
updateOperationSettings()
Returns the builder for the settings used for calls to update.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,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(ReservationsSettings settings)
-
Builder
protected Builder(ReservationsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ReservationsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ReservationsSettings.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<AggregatedListReservationsRequest,ReservationAggregatedList,ReservationsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteReservationRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation> getSettings()
Returns the builder for the settings used for calls to get.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyReservationRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertReservationRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertReservationRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ReservationList,ReservationsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
resizeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeReservationRequest,Operation> resizeSettings()
Returns the builder for the settings used for calls to resize.
-
resizeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ResizeReservationRequest,Operation,Operation> resizeOperationSettings()
Returns the builder for the settings used for calls to resize.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyReservationRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsReservationRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
updateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.
-
updateOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateReservationRequest,Operation,Operation> updateOperationSettings()
Returns the builder for the settings used for calls to update.
-
build
public ReservationsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ReservationsSettings,ReservationsSettings.Builder>
- Throws:
IOException
-
-