Class IDSSettings.Builder (1.48.0)

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
Name Description
clientContext ClientContext

Builder(IDSSettings settings)

protected Builder(IDSSettings settings)
Parameter
Name Description
settings IDSSettings

Builder(IDSStubSettings.Builder stubSettings)

protected Builder(IDSStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings IDSStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
IDSSettings.Builder

build()

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

createEndpointOperationSettings()

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

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

Returns
Type Description
Builder<CreateEndpointRequest,Endpoint,OperationMetadata>

createEndpointSettings()

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

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

Returns
Type Description
Builder<CreateEndpointRequest,Operation>

deleteEndpointOperationSettings()

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

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

Returns
Type Description
Builder<DeleteEndpointRequest,Empty,OperationMetadata>

deleteEndpointSettings()

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

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

Returns
Type Description
Builder<DeleteEndpointRequest,Operation>

getEndpointSettings()

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

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

Returns
Type Description
Builder<GetEndpointRequest,Endpoint>

getStubSettingsBuilder()

public IDSStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
IDSStubSettings.Builder

listEndpointsSettings()

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

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

Returns
Type Description
Builder<ListEndpointsRequest,ListEndpointsResponse,ListEndpointsPagedResponse>