Interface DynamicRetrievalConfigOrBuilder (3.54.0)

public interface DynamicRetrievalConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDynamicThreshold()

public abstract float getDynamicThreshold()

Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.

optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The dynamicThreshold.

getMode()

public abstract DynamicRetrievalConfig.Mode getMode()

The mode of the predictor to be used in dynamic retrieval.

.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;

Returns
Type Description
DynamicRetrievalConfig.Mode

The mode.

getModeValue()

public abstract int getModeValue()

The mode of the predictor to be used in dynamic retrieval.

.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for mode.

hasDynamicThreshold()

public abstract boolean hasDynamicThreshold()

Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.

optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dynamicThreshold field is set.