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.v1beta1.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.v1beta1.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.v1beta1.DynamicRetrievalConfig.Mode mode = 1;
public int getModeValue()
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1beta1.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.v1beta1.DynamicRetrievalConfig.Mode mode = 1;
public DynamicRetrievalConfig.Builder setModeValue(int value)
The mode of the predictor to be used in dynamic retrieval.
.google.cloud.aiplatform.v1beta1.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