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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RagContextRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

build()

public RagContextRecallInput build()
Returns
TypeDescription
RagContextRecallInput

buildPartial()

public RagContextRecallInput buildPartial()
Returns
TypeDescription
RagContextRecallInput

clear()

public RagContextRecallInput.Builder clear()
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RagContextRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RagContextRecallInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RagContextRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

clone()

public RagContextRecallInput.Builder clone()
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

getDefaultInstanceForType()

public RagContextRecallInput getDefaultInstanceForType()
Returns
TypeDescription
RagContextRecallInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public RagContextRecallInstance getInstance()

Required. Rag context recall instance.

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

Returns
TypeDescription
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
TypeDescription
RagContextRecallInstance.Builder

getInstanceOrBuilder()

public RagContextRecallInstanceOrBuilder getInstanceOrBuilder()

Required. Rag context recall instance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RagContextRecallSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Rag context recall instance.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RagContextRecallInput other)

public RagContextRecallInput.Builder mergeFrom(RagContextRecallInput other)
Parameter
NameDescription
otherRagContextRecallInput
Returns
TypeDescription
RagContextRecallInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RagContextRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RagContextRecallInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRagContextRecallInstance
Returns
TypeDescription
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
NameDescription
valueRagContextRecallSpec
Returns
TypeDescription
RagContextRecallInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagContextRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RagContextRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRagContextRecallInstance
Returns
TypeDescription
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
NameDescription
builderForValueRagContextRecallInstance.Builder
Returns
TypeDescription
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
NameDescription
valueRagContextRecallSpec
Returns
TypeDescription
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
NameDescription
builderForValueRagContextRecallSpec.Builder
Returns
TypeDescription
RagContextRecallInput.Builder

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

public RagContextRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RagContextRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RagContextRecallInput.Builder
Overrides