Class IDSSettings.Builder (1.2.7)

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

Builder for IDSSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > IDSSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IDSSettings settings)

protected Builder(IDSSettings settings)
Parameter
NameDescription
settingsIDSSettings

Builder(IDSStubSettings.Builder stubSettings)

protected Builder(IDSStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsIDSStubSettings.Builder

Methods

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

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

build()

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

createEndpointOperationSettings()

public OperationCallSettings.Builder<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationSettings()

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

Returns

createEndpointSettings()

public UnaryCallSettings.Builder<CreateEndpointRequest,Operation> createEndpointSettings()

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

Returns

deleteEndpointOperationSettings()

public OperationCallSettings.Builder<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationSettings()

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

Returns

deleteEndpointSettings()

public UnaryCallSettings.Builder<DeleteEndpointRequest,Operation> deleteEndpointSettings()

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

Returns

getEndpointSettings()

public UnaryCallSettings.Builder<GetEndpointRequest,Endpoint> getEndpointSettings()

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

Returns

getStubSettingsBuilder()

public IDSStubSettings.Builder getStubSettingsBuilder()
Returns

listEndpointsSettings()

public PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,IDSClient.ListEndpointsPagedResponse> listEndpointsSettings()

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

Returns