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