Class OsConfigZonalServiceStubSettings.Builder (2.32.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>

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
TypeDescription
Builder<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance>

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()