Class OsConfigServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder>
-
- com.google.cloud.osconfig.v1beta.stub.OsConfigServiceStubSettings.Builder
-
- Enclosing class:
- OsConfigServiceStubSettings
public static class OsConfigServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder>
Builder for OsConfigServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(OsConfigServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigServiceStubSettings.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.OsConfigServiceStubSettings
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<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy>
createGuestPolicySettings()
Returns the builder for the settings used for calls to createGuestPolicy.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<GuestPolicies.DeleteGuestPolicyRequest,com.google.protobuf.Empty>
deleteGuestPolicySettings()
Returns the builder for the settings used for calls to deleteGuestPolicy.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<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy>
getGuestPolicySettings()
Returns the builder for the settings used for calls to getGuestPolicy.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.com.google.api.gax.rpc.PagedCallSettings.Builder<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse,OsConfigServiceClient.ListGuestPoliciesPagedResponse>
listGuestPoliciesSettings()
Returns the builder for the settings used for calls to listGuestPolicies.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<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy>
lookupEffectiveGuestPolicySettings()
Returns the builder for the settings used for calls to lookupEffectiveGuestPolicy.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy>
updateGuestPolicySettings()
Returns the builder for the settings used for calls to updateGuestPolicy.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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(OsConfigServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public OsConfigServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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.
-
createGuestPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicySettings()
Returns the builder for the settings used for calls to createGuestPolicy.
-
getGuestPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicySettings()
Returns the builder for the settings used for calls to getGuestPolicy.
-
listGuestPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesSettings()
Returns the builder for the settings used for calls to listGuestPolicies.
-
updateGuestPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicySettings()
Returns the builder for the settings used for calls to updateGuestPolicy.
-
deleteGuestPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.DeleteGuestPolicyRequest,com.google.protobuf.Empty> deleteGuestPolicySettings()
Returns the builder for the settings used for calls to deleteGuestPolicy.
-
lookupEffectiveGuestPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicySettings()
Returns the builder for the settings used for calls to lookupEffectiveGuestPolicy.
-
build
public OsConfigServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder>
- Throws:
IOException
-
-