Interface GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor,GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder
- Enclosing class:
- GenerateGroundedContentRequest.DynamicRetrievalConfiguration
public static interface GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatThe value of the threshold.The version of the predictor to be used in dynamic retrieval.intThe version of the predictor to be used in dynamic retrieval.booleanThe value of the threshold.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
-
getVersionValue
int getVersionValue()The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;- Returns:
- The enum numeric value on the wire for version.
-
getVersion
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version getVersion()The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;- Returns:
- The version.
-
hasThreshold
boolean hasThreshold()The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source.
optional float threshold = 2;- Returns:
- Whether the threshold field is set.
-
getThreshold
float getThreshold()The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source.
optional float threshold = 2;- Returns:
- The threshold.
-