Class OrgPolicyViolationsPreviewServiceStubSettings.Builder (0.49.0)

public static class OrgPolicyViolationsPreviewServiceStubSettings.Builder extends StubSettings.Builder<OrgPolicyViolationsPreviewServiceStubSettings,OrgPolicyViolationsPreviewServiceStubSettings.Builder>

Builder for OrgPolicyViolationsPreviewServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > OrgPolicyViolationsPreviewServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OrgPolicyViolationsPreviewServiceStubSettings settings)

protected Builder(OrgPolicyViolationsPreviewServiceStubSettings settings)
Parameter
Name Description
settings OrgPolicyViolationsPreviewServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public OrgPolicyViolationsPreviewServiceStubSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
OrgPolicyViolationsPreviewServiceStubSettings.Builder

build()

public OrgPolicyViolationsPreviewServiceStubSettings build()
Returns
Type Description
OrgPolicyViolationsPreviewServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createOrgPolicyViolationsPreviewOperationSettings()

public OperationCallSettings.Builder<CreateOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview,CreateOrgPolicyViolationsPreviewOperationMetadata> createOrgPolicyViolationsPreviewOperationSettings()

Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview.

Returns
Type Description
Builder<CreateOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview,CreateOrgPolicyViolationsPreviewOperationMetadata>

createOrgPolicyViolationsPreviewSettings()

public UnaryCallSettings.Builder<CreateOrgPolicyViolationsPreviewRequest,Operation> createOrgPolicyViolationsPreviewSettings()

Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview.

Returns
Type Description
Builder<CreateOrgPolicyViolationsPreviewRequest,Operation>

getOrgPolicyViolationsPreviewSettings()

public UnaryCallSettings.Builder<GetOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview> getOrgPolicyViolationsPreviewSettings()

Returns the builder for the settings used for calls to getOrgPolicyViolationsPreview.

Returns
Type Description
Builder<GetOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview>

listOrgPolicyViolationsPreviewsSettings()

public PagedCallSettings.Builder<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse,OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPreviewsPagedResponse> listOrgPolicyViolationsPreviewsSettings()

Returns the builder for the settings used for calls to listOrgPolicyViolationsPreviews.

Returns
Type Description
Builder<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse,ListOrgPolicyViolationsPreviewsPagedResponse>

listOrgPolicyViolationsSettings()

public PagedCallSettings.Builder<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse,OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPagedResponse> listOrgPolicyViolationsSettings()

Returns the builder for the settings used for calls to listOrgPolicyViolations.

Returns
Type Description
Builder<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse,ListOrgPolicyViolationsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>