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 StubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder>
Builder for OsConfigServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(OsConfigServiceStubSettings settings) -
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.Returns the builder for the settings used for calls to createGuestPolicy.UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> Returns the builder for the settings used for calls to createPatchDeployment.UnaryCallSettings.Builder<GuestPolicies.DeleteGuestPolicyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteGuestPolicy.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.Returns the builder for the settings used for calls to getGuestPolicy.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<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse, OsConfigServiceClient.ListGuestPoliciesPagedResponse> Returns the builder for the settings used for calls to listGuestPolicies.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<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> Returns the builder for the settings used for calls to lookupEffectiveGuestPolicy.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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateGuestPolicy.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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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. -
createGuestPolicySettings
public UnaryCallSettings.Builder<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicySettings()Returns the builder for the settings used for calls to createGuestPolicy. -
getGuestPolicySettings
public UnaryCallSettings.Builder<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicySettings()Returns the builder for the settings used for calls to getGuestPolicy. -
listGuestPoliciesSettings
public PagedCallSettings.Builder<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse, listGuestPoliciesSettings()OsConfigServiceClient.ListGuestPoliciesPagedResponse> Returns the builder for the settings used for calls to listGuestPolicies. -
updateGuestPolicySettings
public UnaryCallSettings.Builder<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicySettings()Returns the builder for the settings used for calls to updateGuestPolicy. -
deleteGuestPolicySettings
public UnaryCallSettings.Builder<GuestPolicies.DeleteGuestPolicyRequest,com.google.protobuf.Empty> deleteGuestPolicySettings()Returns the builder for the settings used for calls to deleteGuestPolicy. -
lookupEffectiveGuestPolicySettings
public UnaryCallSettings.Builder<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicySettings()Returns the builder for the settings used for calls to lookupEffectiveGuestPolicy. -
build
- Specified by:
buildin classStubSettings.Builder<OsConfigServiceStubSettings,OsConfigServiceStubSettings.Builder> - Throws:
IOException
-