Class BinauthzManagementServiceV1StubSettings.Builder (1.38.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
NameDescription
clientContextClientContext

Builder(BinauthzManagementServiceV1StubSettings settings)

protected Builder(BinauthzManagementServiceV1StubSettings settings)
Parameter
NameDescription
settingsBinauthzManagementServiceV1StubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

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