Class ConfidentialComputingSettings.Builder (0.39.0)

public static class ConfidentialComputingSettings.Builder extends ClientSettings.Builder<ConfidentialComputingSettings,ConfidentialComputingSettings.Builder>

Builder for ConfidentialComputingSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConfidentialComputingSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConfidentialComputingSettings settings)

protected Builder(ConfidentialComputingSettings settings)
Parameter
Name Description
settings ConfidentialComputingSettings

Builder(ConfidentialComputingStubSettings.Builder stubSettings)

protected Builder(ConfidentialComputingStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ConfidentialComputingStubSettings.Builder

Methods

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

public ConfidentialComputingSettings.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
ConfidentialComputingSettings.Builder

build()

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

createChallengeSettings()

public UnaryCallSettings.Builder<CreateChallengeRequest,Challenge> createChallengeSettings()

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

Returns
Type Description
Builder<CreateChallengeRequest,Challenge>

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>

getStubSettingsBuilder()

public ConfidentialComputingStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ConfidentialComputingStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConfidentialComputingClient.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>

verifyAttestationSettings()

public UnaryCallSettings.Builder<VerifyAttestationRequest,VerifyAttestationResponse> verifyAttestationSettings()

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

Returns
Type Description
Builder<VerifyAttestationRequest,VerifyAttestationResponse>