Class IDSStubSettings.Builder (1.52.0)

public static class IDSStubSettings.Builder extends StubSettings.Builder<IDSStubSettings,IDSStubSettings.Builder>

Builder for IDSStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > IDSStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(IDSStubSettings settings)

protected Builder(IDSStubSettings settings)
Parameter
Name Description
settings IDSStubSettings

Methods

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

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

build()

public IDSStubSettings build()
Returns
Type Description
IDSStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>