Class PairwiseSummarizationQualitySpec.Builder (3.40.0)

public static final class PairwiseSummarizationQualitySpec.Builder extends GeneratedMessageV3.Builder<PairwiseSummarizationQualitySpec.Builder> implements PairwiseSummarizationQualitySpecOrBuilder

Spec for pairwise summarization quality score metric.

Protobuf type google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualitySpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PairwiseSummarizationQualitySpec build()
Returns
TypeDescription
PairwiseSummarizationQualitySpec

buildPartial()

public PairwiseSummarizationQualitySpec buildPartial()
Returns
TypeDescription
PairwiseSummarizationQualitySpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PairwiseSummarizationQualitySpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUseReference()

public PairwiseSummarizationQualitySpec.Builder clearUseReference()

Optional. Whether to use instance.reference to compute pairwise summarization quality.

bool use_reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder

This builder for chaining.

clearVersion()

public PairwiseSummarizationQualitySpec.Builder clearVersion()

Optional. Which version to use for evaluation.

int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PairwiseSummarizationQualitySpec getDefaultInstanceForType()
Returns
TypeDescription
PairwiseSummarizationQualitySpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUseReference()

public boolean getUseReference()

Optional. Whether to use instance.reference to compute pairwise summarization quality.

bool use_reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The useReference.

getVersion()

public int getVersion()

Optional. Which version to use for evaluation.

int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PairwiseSummarizationQualitySpec other)

public PairwiseSummarizationQualitySpec.Builder mergeFrom(PairwiseSummarizationQualitySpec other)
Parameter
NameDescription
otherPairwiseSummarizationQualitySpec
Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PairwiseSummarizationQualitySpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUseReference(boolean value)

public PairwiseSummarizationQualitySpec.Builder setUseReference(boolean value)

Optional. Whether to use instance.reference to compute pairwise summarization quality.

bool use_reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The useReference to set.

Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder

This builder for chaining.

setVersion(int value)

public PairwiseSummarizationQualitySpec.Builder setVersion(int value)

Optional. Which version to use for evaluation.

int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The version to set.

Returns
TypeDescription
PairwiseSummarizationQualitySpec.Builder

This builder for chaining.