public static class IDSStubSettings.Builder extends StubSettings.Builder<IDSStubSettings,IDSStubSettings.Builder>
Builder for IDSStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(IDSStubSettings settings)
protected Builder(IDSStubSettings settings)
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.
build()
public IDSStubSettings build()
Overrides
createEndpointOperationSettings()
public OperationCallSettings.Builder<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationSettings()
Returns the builder for the settings used for calls to createEndpoint.
createEndpointSettings()
public UnaryCallSettings.Builder<CreateEndpointRequest,Operation> createEndpointSettings()
Returns the builder for the settings used for calls to createEndpoint.
deleteEndpointOperationSettings()
public OperationCallSettings.Builder<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationSettings()
Returns the builder for the settings used for calls to deleteEndpoint.
deleteEndpointSettings()
public UnaryCallSettings.Builder<DeleteEndpointRequest,Operation> deleteEndpointSettings()
Returns the builder for the settings used for calls to deleteEndpoint.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getEndpointSettings()
public UnaryCallSettings.Builder<GetEndpointRequest,Endpoint> getEndpointSettings()
Returns the builder for the settings used for calls to getEndpoint.
listEndpointsSettings()
public PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,IDSClient.ListEndpointsPagedResponse> listEndpointsSettings()
Returns the builder for the settings used for calls to listEndpoints.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |