Package com.google.cloud.osconfig.v1
Class OsConfigServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<OsConfigServiceSettings,OsConfigServiceSettings.Builder>
com.google.cloud.osconfig.v1.OsConfigServiceSettings.Builder
- Enclosing class:
- OsConfigServiceSettings
public static class OsConfigServiceSettings.Builder
extends ClientSettings.Builder<OsConfigServiceSettings,OsConfigServiceSettings.Builder>
Builder for OsConfigServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(OsConfigServiceSettings settings) protectedBuilder(OsConfigServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to cancelPatchJob.UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to createPatchDeployment.UnaryCallSettings.Builder<PatchDeployments.DeletePatchDeploymentRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deletePatchDeployment.Returns the builder for the settings used for calls to executePatchJob.UnaryCallSettings.Builder<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to getPatchDeployment.Returns the builder for the settings used for calls to getPatchJob.PagedCallSettings.Builder<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse, OsConfigServiceClient.ListPatchDeploymentsPagedResponse> Returns the builder for the settings used for calls to listPatchDeployments.PagedCallSettings.Builder<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse, OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> Returns the builder for the settings used for calls to listPatchJobInstanceDetails.PagedCallSettings.Builder<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse, OsConfigServiceClient.ListPatchJobsPagedResponse> Returns the builder for the settings used for calls to listPatchJobs.UnaryCallSettings.Builder<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to pausePatchDeployment.UnaryCallSettings.Builder<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to resumePatchDeployment.UnaryCallSettings.Builder<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to updatePatchDeployment.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public OsConfigServiceSettings.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.
-
executePatchJobSettings
public UnaryCallSettings.Builder<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobSettings()Returns the builder for the settings used for calls to executePatchJob. -
getPatchJobSettings
public UnaryCallSettings.Builder<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobSettings()Returns the builder for the settings used for calls to getPatchJob. -
cancelPatchJobSettings
public UnaryCallSettings.Builder<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobSettings()Returns the builder for the settings used for calls to cancelPatchJob. -
listPatchJobsSettings
public PagedCallSettings.Builder<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse, listPatchJobsSettings()OsConfigServiceClient.ListPatchJobsPagedResponse> Returns the builder for the settings used for calls to listPatchJobs. -
listPatchJobInstanceDetailsSettings
public PagedCallSettings.Builder<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse, listPatchJobInstanceDetailsSettings()OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> Returns the builder for the settings used for calls to listPatchJobInstanceDetails. -
createPatchDeploymentSettings
public UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentSettings()Returns the builder for the settings used for calls to createPatchDeployment. -
getPatchDeploymentSettings
public UnaryCallSettings.Builder<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentSettings()Returns the builder for the settings used for calls to getPatchDeployment. -
listPatchDeploymentsSettings
public PagedCallSettings.Builder<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse, listPatchDeploymentsSettings()OsConfigServiceClient.ListPatchDeploymentsPagedResponse> Returns the builder for the settings used for calls to listPatchDeployments. -
deletePatchDeploymentSettings
public UnaryCallSettings.Builder<PatchDeployments.DeletePatchDeploymentRequest,com.google.protobuf.Empty> deletePatchDeploymentSettings()Returns the builder for the settings used for calls to deletePatchDeployment. -
updatePatchDeploymentSettings
public UnaryCallSettings.Builder<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentSettings()Returns the builder for the settings used for calls to updatePatchDeployment. -
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. -
build
- Specified by:
buildin classClientSettings.Builder<OsConfigServiceSettings,OsConfigServiceSettings.Builder> - Throws:
IOException
-