Class ConfidentialComputingStubSettings.Builder (0.32.0)

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

Builder for ConfidentialComputingStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConfidentialComputingStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConfidentialComputingStubSettings settings)

protected Builder(ConfidentialComputingStubSettings settings)
Parameter
Name Description
settings ConfidentialComputingStubSettings

Methods

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

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

build()

public ConfidentialComputingStubSettings build()
Returns
Type Description
ConfidentialComputingStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

verifyAttestationSettings()

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

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

Returns
Type Description
Builder<VerifyAttestationRequest,VerifyAttestationResponse>