Class OsConfigZonalServiceStubSettings.Builder (2.47.0)

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

Builder for OsConfigZonalServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > OsConfigZonalServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OsConfigZonalServiceStubSettings settings)

protected Builder(OsConfigZonalServiceStubSettings settings)
Parameter
Name Description
settings OsConfigZonalServiceStubSettings

Methods

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

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

build()

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

getInstanceOSPoliciesComplianceSettings() (deprecated)

public UnaryCallSettings.Builder<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance>

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>

getVulnerabilityReportSettings()

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

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

Returns
Type Description
Builder<GetVulnerabilityReportRequest,VulnerabilityReport>

listInstanceOSPoliciesCompliancesSettings() (deprecated)

public PagedCallSettings.Builder<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse,OsConfigZonalServiceClient.ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse,ListInstanceOSPoliciesCompliancesPagedResponse>

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>

unaryMethodSettingsBuilders()

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

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>