Class SummarizationQualityInput.Builder (3.52.0)

public static final class SummarizationQualityInput.Builder extends GeneratedMessageV3.Builder<SummarizationQualityInput.Builder> implements SummarizationQualityInputOrBuilder

Input for summarization quality metric.

Protobuf type google.cloud.aiplatform.v1.SummarizationQualityInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SummarizationQualityInput build()
Returns
Type Description
SummarizationQualityInput

buildPartial()

public SummarizationQualityInput buildPartial()
Returns
Type Description
SummarizationQualityInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public SummarizationQualityInput.Builder clearInstance()

Required. Summarization quality instance.

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

Returns
Type Description
SummarizationQualityInput.Builder

clearMetricSpec()

public SummarizationQualityInput.Builder clearMetricSpec()

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarizationQualityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SummarizationQualityInput getDefaultInstanceForType()
Returns
Type Description
SummarizationQualityInput

getDescriptorForType()

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

getInstance()

public SummarizationQualityInstance getInstance()

Required. Summarization quality instance.

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

Returns
Type Description
SummarizationQualityInstance

The instance.

getInstanceBuilder()

public SummarizationQualityInstance.Builder getInstanceBuilder()

Required. Summarization quality instance.

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

Returns
Type Description
SummarizationQualityInstance.Builder

getInstanceOrBuilder()

public SummarizationQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization quality instance.

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

Returns
Type Description
SummarizationQualityInstanceOrBuilder

getMetricSpec()

public SummarizationQualitySpec getMetricSpec()

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarizationQualitySpec

The metricSpec.

getMetricSpecBuilder()

public SummarizationQualitySpec.Builder getMetricSpecBuilder()

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarizationQualitySpec.Builder

getMetricSpecOrBuilder()

public SummarizationQualitySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarizationQualitySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Summarization quality instance.

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

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec 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(SummarizationQualityInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(SummarizationQualityInstance value)

public SummarizationQualityInput.Builder mergeInstance(SummarizationQualityInstance value)

Required. Summarization quality instance.

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

Parameter
Name Description
value SummarizationQualityInstance
Returns
Type Description
SummarizationQualityInput.Builder

mergeMetricSpec(SummarizationQualitySpec value)

public SummarizationQualityInput.Builder mergeMetricSpec(SummarizationQualitySpec value)

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SummarizationQualitySpec
Returns
Type Description
SummarizationQualityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(SummarizationQualityInstance value)

public SummarizationQualityInput.Builder setInstance(SummarizationQualityInstance value)

Required. Summarization quality instance.

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

Parameter
Name Description
value SummarizationQualityInstance
Returns
Type Description
SummarizationQualityInput.Builder

setInstance(SummarizationQualityInstance.Builder builderForValue)

public SummarizationQualityInput.Builder setInstance(SummarizationQualityInstance.Builder builderForValue)

Required. Summarization quality instance.

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

Parameter
Name Description
builderForValue SummarizationQualityInstance.Builder
Returns
Type Description
SummarizationQualityInput.Builder

setMetricSpec(SummarizationQualitySpec value)

public SummarizationQualityInput.Builder setMetricSpec(SummarizationQualitySpec value)

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SummarizationQualitySpec
Returns
Type Description
SummarizationQualityInput.Builder

setMetricSpec(SummarizationQualitySpec.Builder builderForValue)

public SummarizationQualityInput.Builder setMetricSpec(SummarizationQualitySpec.Builder builderForValue)

Required. Spec for summarization quality score metric.

.google.cloud.aiplatform.v1.SummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SummarizationQualitySpec.Builder
Returns
Type Description
SummarizationQualityInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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