public static class ReservationSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ReservationSettings,ReservationSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ReservationSettings settings) |
protected |
Builder(ReservationStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListReservationsHttpRequest,ReservationAggregatedList,ReservationClient.AggregatedListReservationsPagedResponse> |
aggregatedListReservationsSettings()
Returns the builder for the settings used for calls to aggregatedListReservations.
|
ReservationSettings.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.
|
ReservationSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationHttpRequest,Operation> |
deleteReservationSettings()
Returns the builder for the settings used for calls to deleteReservation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyReservationHttpRequest,Policy> |
getIamPolicyReservationSettings()
Returns the builder for the settings used for calls to getIamPolicyReservation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationHttpRequest,Reservation> |
getReservationSettings()
Returns the builder for the settings used for calls to getReservation.
|
ReservationStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertReservationHttpRequest,Operation> |
insertReservationSettings()
Returns the builder for the settings used for calls to insertReservation.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsHttpRequest,ReservationList,ReservationClient.ListReservationsPagedResponse> |
listReservationsSettings()
Returns the builder for the settings used for calls to listReservations.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeReservationHttpRequest,Operation> |
resizeReservationSettings()
Returns the builder for the settings used for calls to resizeReservation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyReservationHttpRequest,Policy> |
setIamPolicyReservationSettings()
Returns the builder for the settings used for calls to setIamPolicyReservation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsReservationHttpRequest,TestPermissionsResponse> |
testIamPermissionsReservationSettings()
Returns the builder for the settings used for calls to testIamPermissionsReservation.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ReservationSettings settings)
protected Builder(ReservationStubSettings.Builder stubSettings)
public ReservationStubSettings.Builder getStubSettingsBuilder()
public ReservationSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListReservationsHttpRequest,ReservationAggregatedList,ReservationClient.AggregatedListReservationsPagedResponse> aggregatedListReservationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationHttpRequest,Operation> deleteReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationHttpRequest,Reservation> getReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyReservationHttpRequest,Policy> getIamPolicyReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertReservationHttpRequest,Operation> insertReservationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsHttpRequest,ReservationList,ReservationClient.ListReservationsPagedResponse> listReservationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeReservationHttpRequest,Operation> resizeReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyReservationHttpRequest,Policy> setIamPolicyReservationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsReservationHttpRequest,TestPermissionsResponse> testIamPermissionsReservationSettings()
public ReservationSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<ReservationSettings,ReservationSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.