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
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 RagContextRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RagContextRecallInput build()
buildPartial()
public RagContextRecallInput buildPartial()
clear()
public RagContextRecallInput.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RagContextRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstance()
public RagContextRecallInput.Builder clearInstance()
Required. Rag context recall instance.
.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public RagContextRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RagContextRecallInput.Builder clone()
Overrides
getDefaultInstanceForType()
public RagContextRecallInput getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstance()
public RagContextRecallInstance getInstance()
Required. Rag context recall instance.
.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
getInstanceBuilder()
public RagContextRecallInstance.Builder getInstanceBuilder()
Required. Rag context recall instance.
.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
getInstanceOrBuilder()
public RagContextRecallInstanceOrBuilder getInstanceOrBuilder()
Required. Rag context recall instance.
.google.cloud.aiplatform.v1beta1.RagContextRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
getMetricSpec()
public RagContextRecallSpec getMetricSpec()
Required. Spec for rag context recall metric.
.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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];
getMetricSpecOrBuilder()
public RagContextRecallSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for rag context recall metric.
.google.cloud.aiplatform.v1beta1.RagContextRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RagContextRecallInput other)
public RagContextRecallInput.Builder mergeFrom(RagContextRecallInput other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagContextRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RagContextRecallInput.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RagContextRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RagContextRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RagContextRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RagContextRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides