public static class AllocationPoliciesServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AllocationPoliciesServiceSettings,AllocationPoliciesServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AllocationPoliciesServiceSettings settings) |
protected |
Builder(AllocationPoliciesServiceStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AllocationPoliciesServiceSettings.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.
|
AllocationPoliciesServiceSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateAllocationPolicyRequest,AllocationPolicy,Empty> |
createAllocationPolicyOperationSettings()
Returns the builder for the settings used for calls to createAllocationPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAllocationPolicyRequest,com.google.longrunning.Operation> |
createAllocationPolicySettings()
Returns the builder for the settings used for calls to createAllocationPolicy.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAllocationPolicyRequest,Empty,Empty> |
deleteAllocationPolicyOperationSettings()
Returns the builder for the settings used for calls to deleteAllocationPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAllocationPolicyRequest,com.google.longrunning.Operation> |
deleteAllocationPolicySettings()
Returns the builder for the settings used for calls to deleteAllocationPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAllocationPolicyRequest,AllocationPolicy> |
getAllocationPolicySettings()
Returns the builder for the settings used for calls to getAllocationPolicy.
|
AllocationPoliciesServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAllocationPoliciesRequest,ListAllocationPoliciesResponse,AllocationPoliciesServiceClient.ListAllocationPoliciesPagedResponse> |
listAllocationPoliciesSettings()
Returns the builder for the settings used for calls to listAllocationPolicies.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAllocationPolicyRequest,AllocationPolicy,Empty> |
updateAllocationPolicyOperationSettings()
Returns the builder for the settings used for calls to updateAllocationPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAllocationPolicyRequest,com.google.longrunning.Operation> |
updateAllocationPolicySettings()
Returns the builder for the settings used for calls to updateAllocationPolicy.
|
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(AllocationPoliciesServiceSettings settings)
protected Builder(AllocationPoliciesServiceStubSettings.Builder stubSettings)
public AllocationPoliciesServiceStubSettings.Builder getStubSettingsBuilder()
public AllocationPoliciesServiceSettings.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<ListAllocationPoliciesRequest,ListAllocationPoliciesResponse,AllocationPoliciesServiceClient.ListAllocationPoliciesPagedResponse> listAllocationPoliciesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAllocationPolicyRequest,AllocationPolicy> getAllocationPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAllocationPolicyRequest,com.google.longrunning.Operation> createAllocationPolicySettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateAllocationPolicyRequest,AllocationPolicy,Empty> createAllocationPolicyOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAllocationPolicyRequest,com.google.longrunning.Operation> deleteAllocationPolicySettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAllocationPolicyRequest,Empty,Empty> deleteAllocationPolicyOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAllocationPolicyRequest,com.google.longrunning.Operation> updateAllocationPolicySettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAllocationPolicyRequest,AllocationPolicy,Empty> updateAllocationPolicyOperationSettings()
public AllocationPoliciesServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<AllocationPoliciesServiceSettings,AllocationPoliciesServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.