Class OsConfigServiceStubSettings.Builder (2.29.0)

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

Builder for OsConfigServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > OsConfigServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(OsConfigServiceStubSettings settings)

protected Builder(OsConfigServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigServiceStubSettings

Methods

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

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

build()

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

cancelPatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobSettings()

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

Returns
TypeDescription
Builder<CancelPatchJobRequest,PatchJob>

createGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicySettings()

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

Returns
TypeDescription
Builder<CreateGuestPolicyRequest,GuestPolicy>

createPatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentSettings()

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

Returns
TypeDescription
Builder<CreatePatchDeploymentRequest,PatchDeployment>

deleteGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.DeleteGuestPolicyRequest,Empty> deleteGuestPolicySettings()

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

Returns
TypeDescription
Builder<DeleteGuestPolicyRequest,Empty>

deletePatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentSettings()

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

Returns
TypeDescription
Builder<DeletePatchDeploymentRequest,Empty>

executePatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobSettings()

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

Returns
TypeDescription
Builder<ExecutePatchJobRequest,PatchJob>

getGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicySettings()

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

Returns
TypeDescription
Builder<GetGuestPolicyRequest,GuestPolicy>

getPatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentSettings()

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

Returns
TypeDescription
Builder<GetPatchDeploymentRequest,PatchDeployment>

getPatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobSettings()

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

Returns
TypeDescription
Builder<GetPatchJobRequest,PatchJob>