public static class OsConfigServiceStubSettings.Builder extends StubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder>
Builder for OsConfigServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(OsConfigServiceStubSettings settings)
protected Builder(OsConfigServiceStubSettings settings)
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.
build()
public OsConfigServiceStubSettings build()
Overrides
cancelPatchJobSettings()
public UnaryCallSettings.Builder<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobSettings()
Returns the builder for the settings used for calls to cancelPatchJob.
createPatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentSettings()
Returns the builder for the settings used for calls to createPatchDeployment.
deletePatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentSettings()
Returns the builder for the settings used for calls to deletePatchDeployment.
executePatchJobSettings()
public UnaryCallSettings.Builder<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobSettings()
Returns the builder for the settings used for calls to executePatchJob.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getPatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentSettings()
Returns the builder for the settings used for calls to getPatchDeployment.
getPatchJobSettings()
public UnaryCallSettings.Builder<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobSettings()
Returns the builder for the settings used for calls to getPatchJob.
listPatchDeploymentsSettings()
public PagedCallSettings.Builder<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings()
Returns the builder for the settings used for calls to listPatchDeployments.
listPatchJobInstanceDetailsSettings()
public PagedCallSettings.Builder<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings()
Returns the builder for the settings used for calls to listPatchJobInstanceDetails.
listPatchJobsSettings()
public PagedCallSettings.Builder<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsSettings()
Returns the builder for the settings used for calls to listPatchJobs.
pausePatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentSettings()
Returns the builder for the settings used for calls to pausePatchDeployment.
resumePatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentSettings()
Returns the builder for the settings used for calls to resumePatchDeployment.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updatePatchDeploymentSettings()
public UnaryCallSettings.Builder<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentSettings()
Returns the builder for the settings used for calls to updatePatchDeployment.