Class SearchServiceConfig (2.0.0)

public final class SearchServiceConfig

Configuration options for Search API.

Inheritance

java.lang.Object > SearchServiceConfig

Static Methods

newBuilder()

public static SearchServiceConfig.Builder newBuilder()
Returns
Type Description
SearchServiceConfig.Builder

the newly created SearchServiceConfig.Builder instance

Methods

getDeadline()

public Double getDeadline()

Returns the API deadline in seconds.

Returns
Type Description
Double

the deadline in seconds or null if no deadline has been set

getNamespace()

public String getNamespace()
Returns
Type Description
String

toBuilder()

public SearchServiceConfig.Builder toBuilder()

Converts this config instance to a builder.

Returns
Type Description
SearchServiceConfig.Builder

the newly created SearchServiceConfig.Builder instance