Class SecurityPostureStubSettings.Builder (0.18.0)

public static class SecurityPostureStubSettings.Builder extends StubSettings.Builder<SecurityPostureStubSettings,SecurityPostureStubSettings.Builder>

Builder for SecurityPostureStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SecurityPostureStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SecurityPostureStubSettings settings)

protected Builder(SecurityPostureStubSettings settings)
Parameter
Name Description
settings SecurityPostureStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public SecurityPostureStubSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
SecurityPostureStubSettings.Builder

build()

public SecurityPostureStubSettings build()
Returns
Type Description
SecurityPostureStubSettings
Overrides
Exceptions
Type Description
IOException

createPostureDeploymentOperationSettings()

public OperationCallSettings.Builder<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata> createPostureDeploymentOperationSettings()

Returns the builder for the settings used for calls to createPostureDeployment.

Returns
Type Description
Builder<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata>

createPostureDeploymentSettings()

public UnaryCallSettings.Builder<CreatePostureDeploymentRequest,Operation> createPostureDeploymentSettings()

Returns the builder for the settings used for calls to createPostureDeployment.

Returns
Type Description
Builder<CreatePostureDeploymentRequest,Operation>

createPostureOperationSettings()

public OperationCallSettings.Builder<CreatePostureRequest,Posture,OperationMetadata> createPostureOperationSettings()

Returns the builder for the settings used for calls to createPosture.

Returns
Type Description
Builder<CreatePostureRequest,Posture,OperationMetadata>

createPostureSettings()

public UnaryCallSettings.Builder<CreatePostureRequest,Operation> createPostureSettings()

Returns the builder for the settings used for calls to createPosture.

Returns
Type Description
Builder<CreatePostureRequest,Operation>

deletePostureDeploymentOperationSettings()

public OperationCallSettings.Builder<DeletePostureDeploymentRequest,Empty,OperationMetadata> deletePostureDeploymentOperationSettings()

Returns the builder for the settings used for calls to deletePostureDeployment.

Returns
Type Description
Builder<DeletePostureDeploymentRequest,Empty,OperationMetadata>

deletePostureDeploymentSettings()

public UnaryCallSettings.Builder<DeletePostureDeploymentRequest,Operation> deletePostureDeploymentSettings()

Returns the builder for the settings used for calls to deletePostureDeployment.

Returns
Type Description
Builder<DeletePostureDeploymentRequest,Operation>

deletePostureOperationSettings()

public OperationCallSettings.Builder<DeletePostureRequest,Empty,OperationMetadata> deletePostureOperationSettings()

Returns the builder for the settings used for calls to deletePosture.

Returns
Type Description
Builder<DeletePostureRequest,Empty,OperationMetadata>

deletePostureSettings()

public UnaryCallSettings.Builder<DeletePostureRequest,Operation> deletePostureSettings()

Returns the builder for the settings used for calls to deletePosture.

Returns
Type Description
Builder<DeletePostureRequest,Operation>

extractPostureOperationSettings()

public OperationCallSettings.Builder<ExtractPostureRequest,Posture,OperationMetadata> extractPostureOperationSettings()

Returns the builder for the settings used for calls to extractPosture.

Returns
Type Description
Builder<ExtractPostureRequest,Posture,OperationMetadata>

extractPostureSettings()

public UnaryCallSettings.Builder<ExtractPostureRequest,Operation> extractPostureSettings()

Returns the builder for the settings used for calls to extractPosture.

Returns
Type Description
Builder<ExtractPostureRequest,Operation>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getPostureDeploymentSettings()

public UnaryCallSettings.Builder<GetPostureDeploymentRequest,PostureDeployment> getPostureDeploymentSettings()

Returns the builder for the settings used for calls to getPostureDeployment.

Returns
Type Description
Builder<GetPostureDeploymentRequest,PostureDeployment>

getPostureSettings()

public UnaryCallSettings.Builder<GetPostureRequest,Posture> getPostureSettings()

Returns the builder for the settings used for calls to getPosture.

Returns
Type Description
Builder<GetPostureRequest,Posture>

getPostureTemplateSettings()

public UnaryCallSettings.Builder<GetPostureTemplateRequest,PostureTemplate> getPostureTemplateSettings()

Returns the builder for the settings used for calls to getPostureTemplate.

Returns
Type Description
Builder<GetPostureTemplateRequest,PostureTemplate>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,SecurityPostureClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listPostureDeploymentsSettings()

public PagedCallSettings.Builder<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse,SecurityPostureClient.ListPostureDeploymentsPagedResponse> listPostureDeploymentsSettings()

Returns the builder for the settings used for calls to listPostureDeployments.

Returns
Type Description
Builder<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse,ListPostureDeploymentsPagedResponse>

listPostureRevisionsSettings()

public PagedCallSettings.Builder<ListPostureRevisionsRequest,ListPostureRevisionsResponse,SecurityPostureClient.ListPostureRevisionsPagedResponse> listPostureRevisionsSettings()

Returns the builder for the settings used for calls to listPostureRevisions.

Returns
Type Description
Builder<ListPostureRevisionsRequest,ListPostureRevisionsResponse,ListPostureRevisionsPagedResponse>

listPostureTemplatesSettings()

public PagedCallSettings.Builder<ListPostureTemplatesRequest,ListPostureTemplatesResponse,SecurityPostureClient.ListPostureTemplatesPagedResponse> listPostureTemplatesSettings()

Returns the builder for the settings used for calls to listPostureTemplates.

Returns
Type Description
Builder<ListPostureTemplatesRequest,ListPostureTemplatesResponse,ListPostureTemplatesPagedResponse>

listPosturesSettings()

public PagedCallSettings.Builder<ListPosturesRequest,ListPosturesResponse,SecurityPostureClient.ListPosturesPagedResponse> listPosturesSettings()

Returns the builder for the settings used for calls to listPostures.

Returns
Type Description
Builder<ListPosturesRequest,ListPosturesResponse,ListPosturesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updatePostureDeploymentOperationSettings()

public OperationCallSettings.Builder<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata> updatePostureDeploymentOperationSettings()

Returns the builder for the settings used for calls to updatePostureDeployment.

Returns
Type Description
Builder<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata>

updatePostureDeploymentSettings()

public UnaryCallSettings.Builder<UpdatePostureDeploymentRequest,Operation> updatePostureDeploymentSettings()

Returns the builder for the settings used for calls to updatePostureDeployment.

Returns
Type Description
Builder<UpdatePostureDeploymentRequest,Operation>

updatePostureOperationSettings()

public OperationCallSettings.Builder<UpdatePostureRequest,Posture,OperationMetadata> updatePostureOperationSettings()

Returns the builder for the settings used for calls to updatePosture.

Returns
Type Description
Builder<UpdatePostureRequest,Posture,OperationMetadata>

updatePostureSettings()

public UnaryCallSettings.Builder<UpdatePostureRequest,Operation> updatePostureSettings()

Returns the builder for the settings used for calls to updatePosture.

Returns
Type Description
Builder<UpdatePostureRequest,Operation>