Class AssuredWorkloadsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<AssuredWorkloadsServiceSettings,AssuredWorkloadsServiceSettings.Builder>
com.google.cloud.assuredworkloads.v1.AssuredWorkloadsServiceSettings.Builder
- Enclosing class:
- AssuredWorkloadsServiceSettings
public static class AssuredWorkloadsServiceSettings.Builder
extends ClientSettings.Builder<AssuredWorkloadsServiceSettings,AssuredWorkloadsServiceSettings.Builder>
Builder for AssuredWorkloadsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AssuredWorkloadsServiceSettings settings) protectedBuilder(AssuredWorkloadsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to acknowledgeViolation.applyToAllUnaryMethods(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 createWorkload.Returns the builder for the settings used for calls to createWorkload.UnaryCallSettings.Builder<DeleteWorkloadRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteWorkload.Returns the builder for the settings used for calls to getViolation.Returns the builder for the settings used for calls to getWorkload.PagedCallSettings.Builder<ListViolationsRequest,ListViolationsResponse, AssuredWorkloadsServiceClient.ListViolationsPagedResponse> Returns the builder for the settings used for calls to listViolations.PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse, AssuredWorkloadsServiceClient.ListWorkloadsPagedResponse> Returns the builder for the settings used for calls to listWorkloads.Returns the builder for the settings used for calls to restrictAllowedResources.Returns the builder for the settings used for calls to updateWorkload.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 AssuredWorkloadsServiceSettings.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.
-
createWorkloadSettings
Returns the builder for the settings used for calls to createWorkload. -
createWorkloadOperationSettings
public OperationCallSettings.Builder<CreateWorkloadRequest,Workload, createWorkloadOperationSettings()CreateWorkloadOperationMetadata> Returns the builder for the settings used for calls to createWorkload. -
updateWorkloadSettings
Returns the builder for the settings used for calls to updateWorkload. -
restrictAllowedResourcesSettings
public UnaryCallSettings.Builder<RestrictAllowedResourcesRequest,RestrictAllowedResourcesResponse> restrictAllowedResourcesSettings()Returns the builder for the settings used for calls to restrictAllowedResources. -
deleteWorkloadSettings
public UnaryCallSettings.Builder<DeleteWorkloadRequest,com.google.protobuf.Empty> deleteWorkloadSettings()Returns the builder for the settings used for calls to deleteWorkload. -
getWorkloadSettings
Returns the builder for the settings used for calls to getWorkload. -
listWorkloadsSettings
public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse, listWorkloadsSettings()AssuredWorkloadsServiceClient.ListWorkloadsPagedResponse> Returns the builder for the settings used for calls to listWorkloads. -
listViolationsSettings
public PagedCallSettings.Builder<ListViolationsRequest,ListViolationsResponse, listViolationsSettings()AssuredWorkloadsServiceClient.ListViolationsPagedResponse> Returns the builder for the settings used for calls to listViolations. -
getViolationSettings
Returns the builder for the settings used for calls to getViolation. -
acknowledgeViolationSettings
public UnaryCallSettings.Builder<AcknowledgeViolationRequest,AcknowledgeViolationResponse> acknowledgeViolationSettings()Returns the builder for the settings used for calls to acknowledgeViolation. -
build
- Specified by:
buildin classClientSettings.Builder<AssuredWorkloadsServiceSettings,AssuredWorkloadsServiceSettings.Builder> - Throws:
IOException
-