public static final class RagContextRecallSpec.Builder extends GeneratedMessageV3.Builder<RagContextRecallSpec.Builder> implements RagContextRecallSpecOrBuilder
Spec for rag context recall metric.
Protobuf type google.cloud.aiplatform.v1beta1.RagContextRecallSpec
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 RagContextRecallSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RagContextRecallSpec build()
buildPartial()
public RagContextRecallSpec buildPartial()
clear()
public RagContextRecallSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RagContextRecallSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RagContextRecallSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public RagContextRecallSpec.Builder clearVersion()
Optional. Which version to use for evaluation.
int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public RagContextRecallSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public RagContextRecallSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getVersion()
Optional. Which version to use for evaluation.
int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RagContextRecallSpec other)
public RagContextRecallSpec.Builder mergeFrom(RagContextRecallSpec other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagContextRecallSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RagContextRecallSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RagContextRecallSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RagContextRecallSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RagContextRecallSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RagContextRecallSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(int value)
public RagContextRecallSpec.Builder setVersion(int value)
Optional. Which version to use for evaluation.
int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | int
The version to set.
|