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