Class PairwiseQuestionAnsweringQualityInput.Builder (3.56.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.v1beta1.PairwiseQuestionAnsweringQualityInput

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
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder
Overrides

build()

public PairwiseQuestionAnsweringQualityInput build()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput

buildPartial()

public PairwiseQuestionAnsweringQualityInput buildPartial()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput

clear()

public PairwiseQuestionAnsweringQualityInput.Builder clear()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public PairwiseQuestionAnsweringQualityInput.Builder clearInstance()

Required. Pairwise question answering quality instance.

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

Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

clearMetricSpec()

public PairwiseQuestionAnsweringQualityInput.Builder clearMetricSpec()

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PairwiseQuestionAnsweringQualityInput.Builder clone()
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder
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.v1beta1.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.v1beta1.PairwiseQuestionAnsweringQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseQuestionAnsweringQualityInstance.Builder

getInstanceOrBuilder()

public PairwiseQuestionAnsweringQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Pairwise question answering quality instance.

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

Returns
Type Description
PairwiseQuestionAnsweringQualityInstanceOrBuilder

getMetricSpec()

public PairwiseQuestionAnsweringQualitySpec getMetricSpec()

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.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.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseQuestionAnsweringQualitySpec.Builder

getMetricSpecOrBuilder()

public PairwiseQuestionAnsweringQualitySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseQuestionAnsweringQualitySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Pairwise question answering quality instance.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(PairwiseQuestionAnsweringQualityInstance value)

public PairwiseQuestionAnsweringQualityInput.Builder mergeInstance(PairwiseQuestionAnsweringQualityInstance value)

Required. Pairwise question answering quality instance.

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

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInstance
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

mergeMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

public PairwiseQuestionAnsweringQualityInput.Builder mergeMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseQuestionAnsweringQualitySpec
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(PairwiseQuestionAnsweringQualityInstance value)

public PairwiseQuestionAnsweringQualityInput.Builder setInstance(PairwiseQuestionAnsweringQualityInstance value)

Required. Pairwise question answering quality instance.

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

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInstance
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

setInstance(PairwiseQuestionAnsweringQualityInstance.Builder builderForValue)

public PairwiseQuestionAnsweringQualityInput.Builder setInstance(PairwiseQuestionAnsweringQualityInstance.Builder builderForValue)

Required. Pairwise question answering quality instance.

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

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualityInstance.Builder
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

setMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

public PairwiseQuestionAnsweringQualityInput.Builder setMetricSpec(PairwiseQuestionAnsweringQualitySpec value)

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseQuestionAnsweringQualitySpec
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

setMetricSpec(PairwiseQuestionAnsweringQualitySpec.Builder builderForValue)

public PairwiseQuestionAnsweringQualityInput.Builder setMetricSpec(PairwiseQuestionAnsweringQualitySpec.Builder builderForValue)

Required. Spec for pairwise question answering quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualitySpec.Builder
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.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
Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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