Class BinauthzManagementServiceV1Settings.Builder (1.39.0)

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

Builder for BinauthzManagementServiceV1Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > BinauthzManagementServiceV1Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BinauthzManagementServiceV1Settings settings)

protected Builder(BinauthzManagementServiceV1Settings settings)
Parameter
NameDescription
settingsBinauthzManagementServiceV1Settings

Builder(BinauthzManagementServiceV1StubSettings.Builder stubSettings)

protected Builder(BinauthzManagementServiceV1StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBinauthzManagementServiceV1StubSettings.Builder

Methods

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

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

build()

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

createAttestorSettings()

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

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

Returns
TypeDescription
Builder<CreateAttestorRequest,Attestor>

deleteAttestorSettings()

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

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

Returns
TypeDescription
Builder<DeleteAttestorRequest,Empty>

getAttestorSettings()

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

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

Returns
TypeDescription
Builder<GetAttestorRequest,Attestor>

getPolicySettings()

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

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

Returns
TypeDescription
Builder<GetPolicyRequest,Policy>

getStubSettingsBuilder()

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

listAttestorsSettings()

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

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

Returns
TypeDescription
Builder<ListAttestorsRequest,ListAttestorsResponse,ListAttestorsPagedResponse>

updateAttestorSettings()

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

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

Returns
TypeDescription
Builder<UpdateAttestorRequest,Attestor>

updatePolicySettings()

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

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

Returns
TypeDescription
Builder<UpdatePolicyRequest,Policy>