Class BinauthzManagementServiceV1StubSettings.Builder (1.42.0)

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

Builder for BinauthzManagementServiceV1StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BinauthzManagementServiceV1StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BinauthzManagementServiceV1StubSettings settings)

protected Builder(BinauthzManagementServiceV1StubSettings settings)
Parameter
Name Description
settings BinauthzManagementServiceV1StubSettings

Methods

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

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

build()

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

createAttestorSettings()

public UnaryCallSettings.Builder<Service.CreateAttestorRequest,Resources.Attestor> createAttestorSettings()

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

Returns
Type Description
Builder<CreateAttestorRequest,Attestor>

deleteAttestorSettings()

public UnaryCallSettings.Builder<Service.DeleteAttestorRequest,Empty> deleteAttestorSettings()

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

Returns
Type Description
Builder<DeleteAttestorRequest,Empty>

getAttestorSettings()

public UnaryCallSettings.Builder<Service.GetAttestorRequest,Resources.Attestor> getAttestorSettings()

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

Returns
Type Description
Builder<GetAttestorRequest,Attestor>

getPolicySettings()

public UnaryCallSettings.Builder<Service.GetPolicyRequest,Resources.Policy> getPolicySettings()

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

Returns
Type Description
Builder<GetPolicyRequest,Policy>

listAttestorsSettings()

public PagedCallSettings.Builder<Service.ListAttestorsRequest,Service.ListAttestorsResponse,BinauthzManagementServiceV1Client.ListAttestorsPagedResponse> listAttestorsSettings()

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

Returns
Type Description
Builder<ListAttestorsRequest,ListAttestorsResponse,ListAttestorsPagedResponse>

unaryMethodSettingsBuilders()

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

updateAttestorSettings()

public UnaryCallSettings.Builder<Service.UpdateAttestorRequest,Resources.Attestor> updateAttestorSettings()

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

Returns
Type Description
Builder<UpdateAttestorRequest,Attestor>

updatePolicySettings()

public UnaryCallSettings.Builder<Service.UpdatePolicyRequest,Resources.Policy> updatePolicySettings()

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

Returns
Type Description
Builder<UpdatePolicyRequest,Policy>