Class IDSSettings.Builder (1.29.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
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
TypeDescription
Builder<CreateEndpointRequest,Endpoint,OperationMetadata>

createEndpointSettings()

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

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

Returns
TypeDescription
Builder<CreateEndpointRequest,Operation>

deleteEndpointOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteEndpointRequest,Empty,OperationMetadata>

deleteEndpointSettings()

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

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

Returns
TypeDescription
Builder<DeleteEndpointRequest,Operation>

getEndpointSettings()

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

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

Returns
TypeDescription
Builder<GetEndpointRequest,Endpoint>

getStubSettingsBuilder()

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

listEndpointsSettings()

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

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

Returns
TypeDescription
Builder<ListEndpointsRequest,ListEndpointsResponse,ListEndpointsPagedResponse>