Class SummarizationQualityInput.Builder (3.41.0)

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

Input for summarization quality metric.

Protobuf type google.cloud.aiplatform.v1beta1.SummarizationQualityInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SummarizationQualityInput build()
Returns
TypeDescription
SummarizationQualityInput

buildPartial()

public SummarizationQualityInput buildPartial()
Returns
TypeDescription
SummarizationQualityInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public SummarizationQualityInput.Builder clearInstance()

Required. Summarization quality instance.

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

Returns
TypeDescription
SummarizationQualityInput.Builder

clearMetricSpec()

public SummarizationQualityInput.Builder clearMetricSpec()

Required. Spec for summarization quality score metric.

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

Returns
TypeDescription
SummarizationQualityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SummarizationQualityInput getDefaultInstanceForType()
Returns
TypeDescription
SummarizationQualityInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public SummarizationQualityInstance getInstance()

Required. Summarization quality instance.

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

Returns
TypeDescription
SummarizationQualityInstance

The instance.

getInstanceBuilder()

public SummarizationQualityInstance.Builder getInstanceBuilder()

Required. Summarization quality instance.

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

Returns
TypeDescription
SummarizationQualityInstance.Builder

getInstanceOrBuilder()

public SummarizationQualityInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization quality instance.

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

Returns
TypeDescription
SummarizationQualityInstanceOrBuilder

getMetricSpec()

public SummarizationQualitySpec getMetricSpec()

Required. Spec for summarization quality score metric.

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

Returns
TypeDescription
SummarizationQualitySpec

The metricSpec.

getMetricSpecBuilder()

public SummarizationQualitySpec.Builder getMetricSpecBuilder()

Required. Spec for summarization quality score metric.

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

Returns
TypeDescription
SummarizationQualitySpec.Builder

getMetricSpecOrBuilder()

public SummarizationQualitySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for summarization quality score metric.

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

Returns
TypeDescription
SummarizationQualitySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Summarization quality instance.

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

Returns
TypeDescription
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for summarization quality score metric.

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

public SummarizationQualityInput.Builder mergeFrom(SummarizationQualityInput other)
Parameter
NameDescription
otherSummarizationQualityInput
Returns
TypeDescription
SummarizationQualityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(SummarizationQualityInstance value)

public SummarizationQualityInput.Builder mergeInstance(SummarizationQualityInstance value)

Required. Summarization quality instance.

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

Parameter
NameDescription
valueSummarizationQualityInstance
Returns
TypeDescription
SummarizationQualityInput.Builder

mergeMetricSpec(SummarizationQualitySpec value)

public SummarizationQualityInput.Builder mergeMetricSpec(SummarizationQualitySpec value)

Required. Spec for summarization quality score metric.

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

Parameter
NameDescription
valueSummarizationQualitySpec
Returns
TypeDescription
SummarizationQualityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(SummarizationQualityInstance value)

public SummarizationQualityInput.Builder setInstance(SummarizationQualityInstance value)

Required. Summarization quality instance.

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

Parameter
NameDescription
valueSummarizationQualityInstance
Returns
TypeDescription
SummarizationQualityInput.Builder

setInstance(SummarizationQualityInstance.Builder builderForValue)

public SummarizationQualityInput.Builder setInstance(SummarizationQualityInstance.Builder builderForValue)

Required. Summarization quality instance.

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

Parameter
NameDescription
builderForValueSummarizationQualityInstance.Builder
Returns
TypeDescription
SummarizationQualityInput.Builder

setMetricSpec(SummarizationQualitySpec value)

public SummarizationQualityInput.Builder setMetricSpec(SummarizationQualitySpec value)

Required. Spec for summarization quality score metric.

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

Parameter
NameDescription
valueSummarizationQualitySpec
Returns
TypeDescription
SummarizationQualityInput.Builder

setMetricSpec(SummarizationQualitySpec.Builder builderForValue)

public SummarizationQualityInput.Builder setMetricSpec(SummarizationQualitySpec.Builder builderForValue)

Required. Spec for summarization quality score metric.

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

Parameter
NameDescription
builderForValueSummarizationQualitySpec.Builder
Returns
TypeDescription
SummarizationQualityInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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