Class OsConfigZonalServiceStubSettings.Builder (2.30.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
NameDescription
clientContextClientContext

Builder(OsConfigZonalServiceStubSettings settings)

protected Builder(OsConfigZonalServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigZonalServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
OsConfigZonalServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>