Class PairwiseQuestionAnsweringQualityInput.Builder (3.59.0)

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

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()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PairwiseQuestionAnsweringQualityInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public PairwiseQuestionAnsweringQualityInput build()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput

buildPartial()

public PairwiseQuestionAnsweringQualityInput buildPartial()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput

clear()

public PairwiseQuestionAnsweringQualityInput.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public PairwiseQuestionAnsweringQualityInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearInstance()

public PairwiseQuestionAnsweringQualityInput.Builder clearInstance()

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

clearMetricSpec()

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];

clearOneof(Descriptors.OneofDescriptor oneof)

public PairwiseQuestionAnsweringQualityInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public PairwiseQuestionAnsweringQualityInput.Builder clone()
Overrides

getDefaultInstanceForType()

public PairwiseQuestionAnsweringQualityInput getDefaultInstanceForType()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public PairwiseQuestionAnsweringQualityInstance getInstance()

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseQuestionAnsweringQualityInstance

The instance.

getInstanceBuilder()

public PairwiseQuestionAnsweringQualityInstance.Builder getInstanceBuilder()

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

getInstanceOrBuilder()

public PairwiseQuestionAnsweringQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

getMetricSpec()

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];

Returns
Type Description
PairwiseQuestionAnsweringQualitySpec

The metricSpec.

getMetricSpecBuilder()

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];

getMetricSpecOrBuilder()

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];

hasInstance()

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.

hasMetricSpec()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PairwiseQuestionAnsweringQualityInput other)

public PairwiseQuestionAnsweringQualityInput.Builder mergeFrom(PairwiseQuestionAnsweringQualityInput other)
Parameter
Name Description
other PairwiseQuestionAnsweringQualityInput

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PairwiseQuestionAnsweringQualityInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PairwiseQuestionAnsweringQualityInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeInstance(PairwiseQuestionAnsweringQualityInstance value)

public PairwiseQuestionAnsweringQualityInput.Builder mergeInstance(PairwiseQuestionAnsweringQualityInstance value)

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInstance

mergeMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

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];

Parameter
Name Description
value PairwiseQuestionAnsweringQualitySpec

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PairwiseQuestionAnsweringQualityInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PairwiseQuestionAnsweringQualityInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setInstance(PairwiseQuestionAnsweringQualityInstance value)

public PairwiseQuestionAnsweringQualityInput.Builder setInstance(PairwiseQuestionAnsweringQualityInstance value)

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInstance

setInstance(PairwiseQuestionAnsweringQualityInstance.Builder builderForValue)

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];

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualityInstance.Builder

setMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

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];

Parameter
Name Description
value PairwiseQuestionAnsweringQualitySpec

setMetricSpec(PairwiseQuestionAnsweringQualitySpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualitySpec.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PairwiseQuestionAnsweringQualityInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PairwiseQuestionAnsweringQualityInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides