Package com.google.iam.v2.stub
Class PoliciesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<PoliciesStubSettings,PoliciesStubSettings.Builder>
-
- com.google.iam.v2.stub.PoliciesStubSettings.Builder
-
- Enclosing class:
- PoliciesStubSettings
public static class PoliciesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<PoliciesStubSettings,PoliciesStubSettings.Builder>
Builder for PoliciesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PoliciesStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoliciesStubSettings.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.PoliciesStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2.CreatePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata>
createPolicyOperationSettings()
Returns the builder for the settings used for calls to createPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.CreatePolicyRequest,com.google.longrunning.Operation>
createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2.DeletePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata>
deletePolicyOperationSettings()
Returns the builder for the settings used for calls to deletePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.DeletePolicyRequest,com.google.longrunning.Operation>
deletePolicySettings()
Returns the builder for the settings used for calls to deletePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.GetPolicyRequest,com.google.iam.v2.Policy>
getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2.ListPoliciesRequest,com.google.iam.v2.ListPoliciesResponse,PoliciesClient.ListPoliciesPagedResponse>
listPoliciesSettings()
Returns the builder for the settings used for calls to listPolicies.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2.UpdatePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata>
updatePolicyOperationSettings()
Returns the builder for the settings used for calls to updatePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.UpdatePolicyRequest,com.google.longrunning.Operation>
updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(PoliciesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public PoliciesStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2.ListPoliciesRequest,com.google.iam.v2.ListPoliciesResponse,PoliciesClient.ListPoliciesPagedResponse> listPoliciesSettings()
Returns the builder for the settings used for calls to listPolicies.
-
getPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.GetPolicyRequest,com.google.iam.v2.Policy> getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.
-
createPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.CreatePolicyRequest,com.google.longrunning.Operation> createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.
-
createPolicyOperationSettings
@BetaApi("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<com.google.iam.v2.CreatePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata> createPolicyOperationSettings()
Returns the builder for the settings used for calls to createPolicy.
-
updatePolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.UpdatePolicyRequest,com.google.longrunning.Operation> updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.
-
updatePolicyOperationSettings
@BetaApi("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<com.google.iam.v2.UpdatePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata> updatePolicyOperationSettings()
Returns the builder for the settings used for calls to updatePolicy.
-
deletePolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2.DeletePolicyRequest,com.google.longrunning.Operation> deletePolicySettings()
Returns the builder for the settings used for calls to deletePolicy.
-
deletePolicyOperationSettings
@BetaApi("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<com.google.iam.v2.DeletePolicyRequest,com.google.iam.v2.Policy,com.google.iam.v2.PolicyOperationMetadata> deletePolicyOperationSettings()
Returns the builder for the settings used for calls to deletePolicy.
-
build
public PoliciesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<PoliciesStubSettings,PoliciesStubSettings.Builder>
- Throws:
IOException
-
-