public static class AllocationPoliciesServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AllocationPoliciesServiceStubSettings,AllocationPoliciesServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AllocationPoliciesServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AllocationPoliciesServiceStubSettings.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.
|
AllocationPoliciesServiceStubSettings |
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.
|
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AllocationPoliciesServiceStubSettings settings)
public AllocationPoliciesServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAllocationPolicyRequest,AllocationPolicy,Empty> updateAllocationPolicyOperationSettings()
public AllocationPoliciesServiceStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<AllocationPoliciesServiceStubSettings,AllocationPoliciesServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.