Class OrgPolicyStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<OrgPolicyStubSettings,OrgPolicyStubSettings.Builder>
com.google.cloud.orgpolicy.v2.stub.OrgPolicyStubSettings.Builder
- Enclosing class:
- OrgPolicyStubSettings
public static class OrgPolicyStubSettings.Builder
extends StubSettings.Builder<OrgPolicyStubSettings,OrgPolicyStubSettings.Builder>
Builder for OrgPolicyStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(OrgPolicyStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createCustomConstraint.Returns the builder for the settings used for calls to createPolicy.UnaryCallSettings.Builder<DeleteCustomConstraintRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteCustomConstraint.UnaryCallSettings.Builder<DeletePolicyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deletePolicy.Returns the builder for the settings used for calls to getCustomConstraint.Returns the builder for the settings used for calls to getEffectivePolicy.Returns the builder for the settings used for calls to getPolicy.PagedCallSettings.Builder<ListConstraintsRequest,ListConstraintsResponse, OrgPolicyClient.ListConstraintsPagedResponse> Returns the builder for the settings used for calls to listConstraints.PagedCallSettings.Builder<ListCustomConstraintsRequest,ListCustomConstraintsResponse, OrgPolicyClient.ListCustomConstraintsPagedResponse> Returns the builder for the settings used for calls to listCustomConstraints.PagedCallSettings.Builder<ListPoliciesRequest,ListPoliciesResponse, OrgPolicyClient.ListPoliciesPagedResponse> Returns the builder for the settings used for calls to listPolicies.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateCustomConstraint.Returns the builder for the settings used for calls to updatePolicy.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public OrgPolicyStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listConstraintsSettings
public PagedCallSettings.Builder<ListConstraintsRequest,ListConstraintsResponse, listConstraintsSettings()OrgPolicyClient.ListConstraintsPagedResponse> Returns the builder for the settings used for calls to listConstraints. -
listPoliciesSettings
public PagedCallSettings.Builder<ListPoliciesRequest,ListPoliciesResponse, listPoliciesSettings()OrgPolicyClient.ListPoliciesPagedResponse> Returns the builder for the settings used for calls to listPolicies. -
getPolicySettings
Returns the builder for the settings used for calls to getPolicy. -
getEffectivePolicySettings
Returns the builder for the settings used for calls to getEffectivePolicy. -
createPolicySettings
Returns the builder for the settings used for calls to createPolicy. -
updatePolicySettings
Returns the builder for the settings used for calls to updatePolicy. -
deletePolicySettings
public UnaryCallSettings.Builder<DeletePolicyRequest,com.google.protobuf.Empty> deletePolicySettings()Returns the builder for the settings used for calls to deletePolicy. -
createCustomConstraintSettings
public UnaryCallSettings.Builder<CreateCustomConstraintRequest,CustomConstraint> createCustomConstraintSettings()Returns the builder for the settings used for calls to createCustomConstraint. -
updateCustomConstraintSettings
public UnaryCallSettings.Builder<UpdateCustomConstraintRequest,CustomConstraint> updateCustomConstraintSettings()Returns the builder for the settings used for calls to updateCustomConstraint. -
getCustomConstraintSettings
public UnaryCallSettings.Builder<GetCustomConstraintRequest,CustomConstraint> getCustomConstraintSettings()Returns the builder for the settings used for calls to getCustomConstraint. -
listCustomConstraintsSettings
public PagedCallSettings.Builder<ListCustomConstraintsRequest,ListCustomConstraintsResponse, listCustomConstraintsSettings()OrgPolicyClient.ListCustomConstraintsPagedResponse> Returns the builder for the settings used for calls to listCustomConstraints. -
deleteCustomConstraintSettings
public UnaryCallSettings.Builder<DeleteCustomConstraintRequest,com.google.protobuf.Empty> deleteCustomConstraintSettings()Returns the builder for the settings used for calls to deleteCustomConstraint. -
build
- Specified by:
buildin classStubSettings.Builder<OrgPolicyStubSettings,OrgPolicyStubSettings.Builder> - Throws:
IOException
-