Class AssuredWorkloadsServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<AssuredWorkloadsServiceStubSettings,AssuredWorkloadsServiceStubSettings.Builder>
com.google.cloud.assuredworkloads.v1.stub.AssuredWorkloadsServiceStubSettings.Builder
- Enclosing class:
- AssuredWorkloadsServiceStubSettings
public static class AssuredWorkloadsServiceStubSettings.Builder
extends StubSettings.Builder<AssuredWorkloadsServiceStubSettings,AssuredWorkloadsServiceStubSettings.Builder>
Builder for AssuredWorkloadsServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(AssuredWorkloadsServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateWorkload.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 AssuredWorkloadsServiceStubSettings.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() -
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 classStubSettings.Builder<AssuredWorkloadsServiceStubSettings,AssuredWorkloadsServiceStubSettings.Builder> - Throws:
IOException
-