Send feedback
Class DynamicRetrievalConfig.Builder (3.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.53.0 keyboard_arrow_down
public static final class DynamicRetrievalConfig . Builder extends GeneratedMessageV3 . Builder<DynamicRetrievalConfig . Builder > implements DynamicRetrievalConfigOrBuilder
Describes the options to customize dynamic retrieval.
Protobuf type google.cloud.aiplatform.v1.DynamicRetrievalConfig
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
public static final Descriptors . Descriptor getDescriptor ()
Methods
public DynamicRetrievalConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public DynamicRetrievalConfig build ()
public DynamicRetrievalConfig buildPartial ()
public DynamicRetrievalConfig . Builder clear ()
Overrides
public DynamicRetrievalConfig . Builder clearDynamicThreshold ()
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];
public DynamicRetrievalConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public DynamicRetrievalConfig . Builder clearMode ()
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;
public DynamicRetrievalConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public DynamicRetrievalConfig . Builder clone ()
Overrides
public DynamicRetrievalConfig getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public 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.
public DynamicRetrievalConfig . Mode getMode ()
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;
public 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.
public 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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public DynamicRetrievalConfig . Builder mergeFrom ( DynamicRetrievalConfig other )
public DynamicRetrievalConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public DynamicRetrievalConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final DynamicRetrievalConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public DynamicRetrievalConfig . Builder setDynamicThreshold ( float value )
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];
Parameter
Name
Description
value
float
The dynamicThreshold to set.
public DynamicRetrievalConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public DynamicRetrievalConfig . Builder setMode ( DynamicRetrievalConfig . Mode value )
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;
public DynamicRetrievalConfig . Builder setModeValue ( int value )
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1;
Parameter
Name
Description
value
int
The enum numeric value on the wire for mode to set.
public DynamicRetrievalConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final DynamicRetrievalConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]