Package com.google.cloud.aiplatform.v1
Interface DynamicRetrievalConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DynamicRetrievalConfig,DynamicRetrievalConfig.Builder
@Generated
public interface DynamicRetrievalConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatOptional.getMode()The mode of the predictor to be used in dynamic retrieval.intThe mode of the predictor to be used in dynamic retrieval.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getModeValue
int getModeValue()The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;- Returns:
- The enum numeric value on the wire for mode.
-
getMode
DynamicRetrievalConfig.Mode getMode()The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;- Returns:
- The mode.
-
hasDynamicThreshold
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:
- Whether the dynamicThreshold field is set.
-
getDynamicThreshold
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:
- The dynamicThreshold.
-