Class ConfidentialComputingStubSettings.Builder (0.14.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
NameDescription
clientContextClientContext

Builder(ConfidentialComputingStubSettings settings)

protected Builder(ConfidentialComputingStubSettings settings)
Parameter
NameDescription
settingsConfidentialComputingStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConfidentialComputingStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<VerifyAttestationRequest,VerifyAttestationResponse>