Class IDSStubSettings.Builder (1.21.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
NameDescription
clientContextClientContext

Builder(IDSStubSettings settings)

protected Builder(IDSStubSettings settings)
Parameter
NameDescription
settingsIDSStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
IDSStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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