Class OsConfigZonalServiceSettings.Builder (2.34.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
NameDescription
clientContextClientContext

Builder(OsConfigZonalServiceSettings settings)

protected Builder(OsConfigZonalServiceSettings settings)
Parameter
NameDescription
settingsOsConfigZonalServiceSettings

Builder(OsConfigZonalServiceStubSettings.Builder stubSettings)

protected Builder(OsConfigZonalServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsOsConfigZonalServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
OsConfigZonalServiceSettings.Builder

build()

public OsConfigZonalServiceSettings build()
Returns
TypeDescription
OsConfigZonalServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createOSPolicyAssignmentOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>

createOSPolicyAssignmentSettings()

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

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

Returns
TypeDescription
Builder<CreateOSPolicyAssignmentRequest,Operation>

deleteOSPolicyAssignmentOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata>

deleteOSPolicyAssignmentSettings()

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

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

Returns
TypeDescription
Builder<DeleteOSPolicyAssignmentRequest,Operation>

getInventorySettings()

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

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

Returns
TypeDescription
Builder<GetInventoryRequest,Inventory>

getOSPolicyAssignmentReportSettings()

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

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

Returns
TypeDescription
Builder<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport>

getOSPolicyAssignmentSettings()

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

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

Returns
TypeDescription
Builder<GetOSPolicyAssignmentRequest,OSPolicyAssignment>

getStubSettingsBuilder()

public OsConfigZonalServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
OsConfigZonalServiceStubSettings.Builder

getVulnerabilityReportSettings()

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

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

Returns
TypeDescription
Builder<GetVulnerabilityReportRequest,VulnerabilityReport>

listInventoriesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse,ListVulnerabilityReportsPagedResponse>

updateOSPolicyAssignmentOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>

updateOSPolicyAssignmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateOSPolicyAssignmentRequest,Operation>