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