Class RagContextRecallInput.Builder (3.42.0)

public static final class RagContextRecallInput.Builder extends GeneratedMessageV3.Builder<RagContextRecallInput.Builder> implements RagContextRecallInputOrBuilder

Input for rag context recall metric.

Protobuf type google.cloud.aiplatform.v1beta1.RagContextRecallInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RagContextRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagContextRecallInput.Builder
Overrides

build()

public RagContextRecallInput build()
Returns
Type Description
RagContextRecallInput

buildPartial()

public RagContextRecallInput buildPartial()
Returns
Type Description
RagContextRecallInput

clear()

public RagContextRecallInput.Builder clear()
Returns
Type Description
RagContextRecallInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RagContextRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RagContextRecallInput.Builder
Overrides

clearInstance()

public RagContextRecallInput.Builder clearInstance()

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallInput.Builder

clearMetricSpec()

public RagContextRecallInput.Builder clearMetricSpec()

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RagContextRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RagContextRecallInput.Builder
Overrides

clone()

public RagContextRecallInput.Builder clone()
Returns
Type Description
RagContextRecallInput.Builder
Overrides

getDefaultInstanceForType()

public RagContextRecallInput getDefaultInstanceForType()
Returns
Type Description
RagContextRecallInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public RagContextRecallInstance getInstance()

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallInstance

The instance.

getInstanceBuilder()

public RagContextRecallInstance.Builder getInstanceBuilder()

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallInstance.Builder

getInstanceOrBuilder()

public RagContextRecallInstanceOrBuilder getInstanceOrBuilder()

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallInstanceOrBuilder

getMetricSpec()

public RagContextRecallSpec getMetricSpec()

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallSpec

The metricSpec.

getMetricSpecBuilder()

public RagContextRecallSpec.Builder getMetricSpecBuilder()

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallSpec.Builder

getMetricSpecOrBuilder()

public RagContextRecallSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagContextRecallSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagContextRecallInput other)

public RagContextRecallInput.Builder mergeFrom(RagContextRecallInput other)
Parameter
Name Description
other RagContextRecallInput
Returns
Type Description
RagContextRecallInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RagContextRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagContextRecallInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RagContextRecallInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RagContextRecallInput.Builder
Overrides

mergeInstance(RagContextRecallInstance value)

public RagContextRecallInput.Builder mergeInstance(RagContextRecallInstance value)

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagContextRecallInstance
Returns
Type Description
RagContextRecallInput.Builder

mergeMetricSpec(RagContextRecallSpec value)

public RagContextRecallInput.Builder mergeMetricSpec(RagContextRecallSpec value)

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagContextRecallSpec
Returns
Type Description
RagContextRecallInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagContextRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagContextRecallInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RagContextRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagContextRecallInput.Builder
Overrides

setInstance(RagContextRecallInstance value)

public RagContextRecallInput.Builder setInstance(RagContextRecallInstance value)

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagContextRecallInstance
Returns
Type Description
RagContextRecallInput.Builder

setInstance(RagContextRecallInstance.Builder builderForValue)

public RagContextRecallInput.Builder setInstance(RagContextRecallInstance.Builder builderForValue)

Required. Rag context recall instance.

.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RagContextRecallInstance.Builder
Returns
Type Description
RagContextRecallInput.Builder

setMetricSpec(RagContextRecallSpec value)

public RagContextRecallInput.Builder setMetricSpec(RagContextRecallSpec value)

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagContextRecallSpec
Returns
Type Description
RagContextRecallInput.Builder

setMetricSpec(RagContextRecallSpec.Builder builderForValue)

public RagContextRecallInput.Builder setMetricSpec(RagContextRecallSpec.Builder builderForValue)

Required. Spec for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RagContextRecallSpec.Builder
Returns
Type Description
RagContextRecallInput.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RagContextRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RagContextRecallInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RagContextRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagContextRecallInput.Builder
Overrides