Class ConfidentialComputingSettings.Builder (0.10.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
NameDescription
clientContextClientContext

Builder(ConfidentialComputingSettings settings)

protected Builder(ConfidentialComputingSettings settings)
Parameter
NameDescription
settingsConfidentialComputingSettings

Builder(ConfidentialComputingStubSettings.Builder stubSettings)

protected Builder(ConfidentialComputingStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConfidentialComputingStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConfidentialComputingSettings.Builder

build()

public ConfidentialComputingSettings build()
Returns
TypeDescription
ConfidentialComputingSettings
Overrides
Exceptions
TypeDescription
IOException

createChallengeSettings()

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

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

Returns
TypeDescription
Builder<CreateChallengeRequest,Challenge>

getLocationSettings()

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

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

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

getStubSettingsBuilder()

public ConfidentialComputingStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ConfidentialComputingStubSettings.Builder

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<VerifyAttestationRequest,VerifyAttestationResponse>