Class OrgPolicyViolationsPreviewServiceSettings.Builder (0.49.0)

public static class OrgPolicyViolationsPreviewServiceSettings.Builder extends ClientSettings.Builder<OrgPolicyViolationsPreviewServiceSettings,OrgPolicyViolationsPreviewServiceSettings.Builder>

Builder for OrgPolicyViolationsPreviewServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > OrgPolicyViolationsPreviewServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OrgPolicyViolationsPreviewServiceSettings settings)

protected Builder(OrgPolicyViolationsPreviewServiceSettings settings)
Parameter
Name Description
settings OrgPolicyViolationsPreviewServiceSettings

Builder(OrgPolicyViolationsPreviewServiceStubSettings.Builder stubSettings)

protected Builder(OrgPolicyViolationsPreviewServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings OrgPolicyViolationsPreviewServiceStubSettings.Builder

Methods

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

public OrgPolicyViolationsPreviewServiceSettings.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
OrgPolicyViolationsPreviewServiceSettings.Builder

build()

public OrgPolicyViolationsPreviewServiceSettings build()
Returns
Type Description
OrgPolicyViolationsPreviewServiceSettings
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>

getStubSettingsBuilder()

public OrgPolicyViolationsPreviewServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
OrgPolicyViolationsPreviewServiceStubSettings.Builder

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>