Class OsConfigZonalServiceSettings.Builder (2.49.0)

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

Builder for OsConfigZonalServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > OsConfigZonalServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OsConfigZonalServiceSettings settings)

protected Builder(OsConfigZonalServiceSettings settings)
Parameter
Name Description
settings OsConfigZonalServiceSettings

Builder(OsConfigZonalServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createOSPolicyAssignmentOperationSettings()

public OperationCallSettings.Builder<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings()

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

Returns
Type Description
Builder<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>

createOSPolicyAssignmentSettings()

public UnaryCallSettings.Builder<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentSettings()

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

Returns
Type Description
Builder<CreateOSPolicyAssignmentRequest,Operation>

deleteOSPolicyAssignmentOperationSettings()

public OperationCallSettings.Builder<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationSettings()

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

Returns
Type Description
Builder<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata>

deleteOSPolicyAssignmentSettings()

public UnaryCallSettings.Builder<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentSettings()

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

Returns
Type Description
Builder<DeleteOSPolicyAssignmentRequest,Operation>

getInventorySettings()

public UnaryCallSettings.Builder<GetInventoryRequest,Inventory> getInventorySettings()

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

Returns
Type Description
Builder<GetInventoryRequest,Inventory>

getOSPolicyAssignmentReportSettings()

public UnaryCallSettings.Builder<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportSettings()

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

Returns
Type Description
Builder<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport>

getOSPolicyAssignmentSettings()

public UnaryCallSettings.Builder<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentSettings()

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

Returns
Type Description
Builder<GetOSPolicyAssignmentRequest,OSPolicyAssignment>

getStubSettingsBuilder()

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

getVulnerabilityReportSettings()

public UnaryCallSettings.Builder<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportSettings()

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

Returns
Type Description
Builder<GetVulnerabilityReportRequest,VulnerabilityReport>

listInventoriesSettings()

public PagedCallSettings.Builder<ListInventoriesRequest,ListInventoriesResponse,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesSettings()

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

Returns
Type Description
Builder<ListInventoriesRequest,ListInventoriesResponse,ListInventoriesPagedResponse>

listOSPolicyAssignmentReportsSettings()

public PagedCallSettings.Builder<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings()

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

Returns
Type Description
Builder<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse,ListOSPolicyAssignmentReportsPagedResponse>

listOSPolicyAssignmentRevisionsSettings()

public PagedCallSettings.Builder<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings()

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

Returns
Type Description
Builder<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse,ListOSPolicyAssignmentRevisionsPagedResponse>

listOSPolicyAssignmentsSettings()

public PagedCallSettings.Builder<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings()

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

Returns
Type Description
Builder<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse,ListOSPolicyAssignmentsPagedResponse>

listVulnerabilityReportsSettings()

public PagedCallSettings.Builder<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings()

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

Returns
Type Description
Builder<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse,ListVulnerabilityReportsPagedResponse>

updateOSPolicyAssignmentOperationSettings()

public OperationCallSettings.Builder<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings()

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

Returns
Type Description
Builder<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>

updateOSPolicyAssignmentSettings()

public UnaryCallSettings.Builder<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentSettings()

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

Returns
Type Description
Builder<UpdateOSPolicyAssignmentRequest,Operation>