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