public final class SearchServiceConfig
Configuration options for Search API.
Static Methods
newBuilder()
public static SearchServiceConfig.Builder newBuilder()
Creates a new SearchServiceConfig.Builder.
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 |