Class PairwiseSummarizationQualityInput.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PairwiseSummarizationQualityInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

build()

public PairwiseSummarizationQualityInput build()
Returns
TypeDescription
PairwiseSummarizationQualityInput

buildPartial()

public PairwiseSummarizationQualityInput buildPartial()
Returns
TypeDescription
PairwiseSummarizationQualityInput

clear()

public PairwiseSummarizationQualityInput.Builder clear()
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PairwiseSummarizationQualityInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PairwiseSummarizationQualityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PairwiseSummarizationQualityInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

clone()

public PairwiseSummarizationQualityInput.Builder clone()
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

getDefaultInstanceForType()

public PairwiseSummarizationQualityInput getDefaultInstanceForType()
Returns
TypeDescription
PairwiseSummarizationQualityInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public PairwiseSummarizationQualityInstance getInstance()

Required. Pairwise summarization quality instance.

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

Returns
TypeDescription
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
TypeDescription
PairwiseSummarizationQualityInstance.Builder

getInstanceOrBuilder()

public PairwiseSummarizationQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Pairwise summarization quality instance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PairwiseSummarizationQualitySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Pairwise summarization quality instance.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PairwiseSummarizationQualityInput other)

public PairwiseSummarizationQualityInput.Builder mergeFrom(PairwiseSummarizationQualityInput other)
Parameter
NameDescription
otherPairwiseSummarizationQualityInput
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PairwiseSummarizationQualityInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PairwiseSummarizationQualityInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePairwiseSummarizationQualityInstance
Returns
TypeDescription
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
NameDescription
valuePairwiseSummarizationQualitySpec
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PairwiseSummarizationQualityInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PairwiseSummarizationQualityInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePairwiseSummarizationQualityInstance
Returns
TypeDescription
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
NameDescription
builderForValuePairwiseSummarizationQualityInstance.Builder
Returns
TypeDescription
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
NameDescription
valuePairwiseSummarizationQualitySpec
Returns
TypeDescription
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
NameDescription
builderForValuePairwiseSummarizationQualitySpec.Builder
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder

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

public PairwiseSummarizationQualityInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PairwiseSummarizationQualityInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PairwiseSummarizationQualityInput.Builder
Overrides