Interface DynamicRetrievalConfigOrBuilder (1.36.0)

publicinterface DynamicRetrievalConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDynamicThreshold()

publicabstractfloatgetDynamicThreshold()

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()

publicabstractDynamicRetrievalConfig.ModegetMode()

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

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

Returns
Type Description
DynamicRetrievalConfig.Mode

The mode.

getModeValue()

publicabstractintgetModeValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for mode.

hasDynamicThreshold()

publicabstractbooleanhasDynamicThreshold()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.