public static class BinauthzManagementServiceV1StubSettings.Builder extends StubSettings.Builder<BinauthzManagementServiceV1StubSettings,BinauthzManagementServiceV1StubSettings.Builder>
Builder for BinauthzManagementServiceV1StubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(BinauthzManagementServiceV1StubSettings settings)
protected Builder(BinauthzManagementServiceV1StubSettings settings)
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.
build()
public BinauthzManagementServiceV1StubSettings build()
Overrides
createAttestorSettings()
public UnaryCallSettings.Builder<Service.CreateAttestorRequest,Resources.Attestor> createAttestorSettings()
Returns the builder for the settings used for calls to createAttestor.
deleteAttestorSettings()
public UnaryCallSettings.Builder<Service.DeleteAttestorRequest,Empty> deleteAttestorSettings()
Returns the builder for the settings used for calls to deleteAttestor.
getAttestorSettings()
public UnaryCallSettings.Builder<Service.GetAttestorRequest,Resources.Attestor> getAttestorSettings()
Returns the builder for the settings used for calls to getAttestor.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getPolicySettings()
public UnaryCallSettings.Builder<Service.GetPolicyRequest,Resources.Policy> getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.
public PagedCallSettings.Builder<Service.ListAttestorsRequest,Service.ListAttestorsResponse,BinauthzManagementServiceV1Client.ListAttestorsPagedResponse> listAttestorsSettings()
Returns the builder for the settings used for calls to listAttestors.
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.
updatePolicySettings()
public UnaryCallSettings.Builder<Service.UpdatePolicyRequest,Resources.Policy> updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.