Class PairwiseSummarizationQualityInput.Builder (3.44.0)

public static final class PairwiseSummarizationQualityInput.Builder extends GeneratedMessageV3.Builder<PairwiseSummarizationQualityInput.Builder> implements PairwiseSummarizationQualityInputOrBuilder

Input for pairwise summarization quality metric.

Protobuf type google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualityInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PairwiseSummarizationQualityInput build()
Returns
Type Description
PairwiseSummarizationQualityInput

buildPartial()

public PairwiseSummarizationQualityInput buildPartial()
Returns
Type Description
PairwiseSummarizationQualityInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public PairwiseSummarizationQualityInput.Builder clearInstance()

Required. Pairwise summarization quality instance.

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

Returns
Type Description
PairwiseSummarizationQualityInput.Builder

clearMetricSpec()

public PairwiseSummarizationQualityInput.Builder clearMetricSpec()

Required. Spec for pairwise summarization quality score metric.

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

Returns
Type Description
PairwiseSummarizationQualityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PairwiseSummarizationQualityInput.Builder clone()
Returns
Type Description
PairwiseSummarizationQualityInput.Builder
Overrides

getDefaultInstanceForType()

public PairwiseSummarizationQualityInput getDefaultInstanceForType()
Returns
Type Description
PairwiseSummarizationQualityInput

getDescriptorForType()

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

getInstance()

public PairwiseSummarizationQualityInstance getInstance()

Required. Pairwise summarization quality instance.

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

Returns
Type Description
PairwiseSummarizationQualityInstance

The instance.

getInstanceBuilder()

public PairwiseSummarizationQualityInstance.Builder getInstanceBuilder()

Required. Pairwise summarization quality instance.

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

Returns
Type Description
PairwiseSummarizationQualityInstance.Builder

getInstanceOrBuilder()

public PairwiseSummarizationQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Pairwise summarization quality instance.

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

Returns
Type Description
PairwiseSummarizationQualityInstanceOrBuilder

getMetricSpec()

public PairwiseSummarizationQualitySpec getMetricSpec()

Required. Spec for pairwise summarization quality score metric.

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

Returns
Type Description
PairwiseSummarizationQualitySpec

The metricSpec.

getMetricSpecBuilder()

public PairwiseSummarizationQualitySpec.Builder getMetricSpecBuilder()

Required. Spec for pairwise summarization quality score metric.

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

Returns
Type Description
PairwiseSummarizationQualitySpec.Builder

getMetricSpecOrBuilder()

public PairwiseSummarizationQualitySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for pairwise summarization quality score metric.

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

Returns
Type Description
PairwiseSummarizationQualitySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Pairwise summarization quality instance.

.google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualityInstance 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 summarization quality score metric.

.google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualitySpec 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(PairwiseSummarizationQualityInput other)

public PairwiseSummarizationQualityInput.Builder mergeFrom(PairwiseSummarizationQualityInput other)
Parameter
Name Description
other PairwiseSummarizationQualityInput
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(PairwiseSummarizationQualityInstance value)

public PairwiseSummarizationQualityInput.Builder mergeInstance(PairwiseSummarizationQualityInstance value)

Required. Pairwise summarization quality instance.

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

Parameter
Name Description
value PairwiseSummarizationQualityInstance
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

mergeMetricSpec(PairwiseSummarizationQualitySpec value)

public PairwiseSummarizationQualityInput.Builder mergeMetricSpec(PairwiseSummarizationQualitySpec value)

Required. Spec for pairwise summarization quality score metric.

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

Parameter
Name Description
value PairwiseSummarizationQualitySpec
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(PairwiseSummarizationQualityInstance value)

public PairwiseSummarizationQualityInput.Builder setInstance(PairwiseSummarizationQualityInstance value)

Required. Pairwise summarization quality instance.

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

Parameter
Name Description
value PairwiseSummarizationQualityInstance
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

setInstance(PairwiseSummarizationQualityInstance.Builder builderForValue)

public PairwiseSummarizationQualityInput.Builder setInstance(PairwiseSummarizationQualityInstance.Builder builderForValue)

Required. Pairwise summarization quality instance.

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

Parameter
Name Description
builderForValue PairwiseSummarizationQualityInstance.Builder
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

setMetricSpec(PairwiseSummarizationQualitySpec value)

public PairwiseSummarizationQualityInput.Builder setMetricSpec(PairwiseSummarizationQualitySpec value)

Required. Spec for pairwise summarization quality score metric.

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

Parameter
Name Description
value PairwiseSummarizationQualitySpec
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

setMetricSpec(PairwiseSummarizationQualitySpec.Builder builderForValue)

public PairwiseSummarizationQualityInput.Builder setMetricSpec(PairwiseSummarizationQualitySpec.Builder builderForValue)

Required. Spec for pairwise summarization quality score metric.

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

Parameter
Name Description
builderForValue PairwiseSummarizationQualitySpec.Builder
Returns
Type Description
PairwiseSummarizationQualityInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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