public static final class GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder extends GeneratedMessageV3.Builder<GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder> implements GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder
Describes the predictor settings for dynamic retrieval.
Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor build()
buildPartial()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor buildPartial()
clear()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearThreshold()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clearThreshold()
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;
clearVersion()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clearVersion()
The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;
clone()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getThreshold()
public 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 |
Type |
Description |
float |
The threshold.
|
getVersion()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version getVersion()
The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;
getVersionValue()
public int getVersionValue()
The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for version.
|
hasThreshold()
public 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 |
Type |
Description |
boolean |
Whether the threshold field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor other)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder mergeFrom(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setThreshold(float value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setThreshold(float value)
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;
Parameter |
Name |
Description |
value |
float
The threshold to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setVersion(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version value)
The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;
setVersionValue(int value)
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Builder setVersionValue(int value)
The version of the predictor to be used in dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for version to set.
|