public static final class QuestionAnsweringCorrectnessInput.Builder extends GeneratedMessageV3.Builder<QuestionAnsweringCorrectnessInput.Builder> implements QuestionAnsweringCorrectnessInputOrBuilder
Input for question answering correctness metric.
Protobuf type google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInput
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 QuestionAnsweringCorrectnessInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QuestionAnsweringCorrectnessInput build()
public QuestionAnsweringCorrectnessInput buildPartial()
public QuestionAnsweringCorrectnessInput.Builder clear()
Overrides
public QuestionAnsweringCorrectnessInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public QuestionAnsweringCorrectnessInput.Builder clearInstance()
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder clearMetricSpec()
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public QuestionAnsweringCorrectnessInput.Builder clone()
Overrides
public QuestionAnsweringCorrectnessInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public QuestionAnsweringCorrectnessInstance getInstance()
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInstance.Builder getInstanceBuilder()
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInstanceOrBuilder getInstanceOrBuilder()
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessSpec getMetricSpec()
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessSpec.Builder getMetricSpecBuilder()
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasInstance()
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the instance field is set.
|
public boolean hasMetricSpec()
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the metricSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QuestionAnsweringCorrectnessInput.Builder mergeFrom(QuestionAnsweringCorrectnessInput other)
public QuestionAnsweringCorrectnessInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public QuestionAnsweringCorrectnessInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public QuestionAnsweringCorrectnessInput.Builder mergeInstance(QuestionAnsweringCorrectnessInstance value)
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder mergeMetricSpec(QuestionAnsweringCorrectnessSpec value)
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final QuestionAnsweringCorrectnessInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public QuestionAnsweringCorrectnessInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QuestionAnsweringCorrectnessInput.Builder setInstance(QuestionAnsweringCorrectnessInstance value)
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder setInstance(QuestionAnsweringCorrectnessInstance.Builder builderForValue)
Required. Question answering correctness instance.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder setMetricSpec(QuestionAnsweringCorrectnessSpec value)
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder setMetricSpec(QuestionAnsweringCorrectnessSpec.Builder builderForValue)
Required. Spec for question answering correctness score metric.
.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public QuestionAnsweringCorrectnessInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final QuestionAnsweringCorrectnessInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides