Class SummarizationHelpfulnessInput.Builder (3.49.0)

public static final class SummarizationHelpfulnessInput.Builder extends GeneratedMessageV3.Builder<SummarizationHelpfulnessInput.Builder> implements SummarizationHelpfulnessInputOrBuilder

Input for summarization helpfulness metric.

Protobuf type google.cloud.aiplatform.v1beta1.SummarizationHelpfulnessInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SummarizationHelpfulnessInput build()
Returns
Type Description
SummarizationHelpfulnessInput

buildPartial()

public SummarizationHelpfulnessInput buildPartial()
Returns
Type Description
SummarizationHelpfulnessInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public SummarizationHelpfulnessInput.Builder clearInstance()

Required. Summarization helpfulness instance.

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

Returns
Type Description
SummarizationHelpfulnessInput.Builder

clearMetricSpec()

public SummarizationHelpfulnessInput.Builder clearMetricSpec()

Required. Spec for summarization helpfulness score metric.

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

Returns
Type Description
SummarizationHelpfulnessInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SummarizationHelpfulnessInput getDefaultInstanceForType()
Returns
Type Description
SummarizationHelpfulnessInput

getDescriptorForType()

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

getInstance()

public SummarizationHelpfulnessInstance getInstance()

Required. Summarization helpfulness instance.

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

Returns
Type Description
SummarizationHelpfulnessInstance

The instance.

getInstanceBuilder()

public SummarizationHelpfulnessInstance.Builder getInstanceBuilder()

Required. Summarization helpfulness instance.

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

Returns
Type Description
SummarizationHelpfulnessInstance.Builder

getInstanceOrBuilder()

public SummarizationHelpfulnessInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization helpfulness instance.

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

Returns
Type Description
SummarizationHelpfulnessInstanceOrBuilder

getMetricSpec()

public SummarizationHelpfulnessSpec getMetricSpec()

Required. Spec for summarization helpfulness score metric.

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

Returns
Type Description
SummarizationHelpfulnessSpec

The metricSpec.

getMetricSpecBuilder()

public SummarizationHelpfulnessSpec.Builder getMetricSpecBuilder()

Required. Spec for summarization helpfulness score metric.

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

Returns
Type Description
SummarizationHelpfulnessSpec.Builder

getMetricSpecOrBuilder()

public SummarizationHelpfulnessSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for summarization helpfulness score metric.

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

Returns
Type Description
SummarizationHelpfulnessSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Summarization helpfulness instance.

.google.cloud.aiplatform.v1beta1.SummarizationHelpfulnessInstance 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 helpfulness score metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(SummarizationHelpfulnessInstance value)

public SummarizationHelpfulnessInput.Builder mergeInstance(SummarizationHelpfulnessInstance value)

Required. Summarization helpfulness instance.

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

Parameter
Name Description
value SummarizationHelpfulnessInstance
Returns
Type Description
SummarizationHelpfulnessInput.Builder

mergeMetricSpec(SummarizationHelpfulnessSpec value)

public SummarizationHelpfulnessInput.Builder mergeMetricSpec(SummarizationHelpfulnessSpec value)

Required. Spec for summarization helpfulness score metric.

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

Parameter
Name Description
value SummarizationHelpfulnessSpec
Returns
Type Description
SummarizationHelpfulnessInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(SummarizationHelpfulnessInstance value)

public SummarizationHelpfulnessInput.Builder setInstance(SummarizationHelpfulnessInstance value)

Required. Summarization helpfulness instance.

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

Parameter
Name Description
value SummarizationHelpfulnessInstance
Returns
Type Description
SummarizationHelpfulnessInput.Builder

setInstance(SummarizationHelpfulnessInstance.Builder builderForValue)

public SummarizationHelpfulnessInput.Builder setInstance(SummarizationHelpfulnessInstance.Builder builderForValue)

Required. Summarization helpfulness instance.

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

Parameter
Name Description
builderForValue SummarizationHelpfulnessInstance.Builder
Returns
Type Description
SummarizationHelpfulnessInput.Builder

setMetricSpec(SummarizationHelpfulnessSpec value)

public SummarizationHelpfulnessInput.Builder setMetricSpec(SummarizationHelpfulnessSpec value)

Required. Spec for summarization helpfulness score metric.

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

Parameter
Name Description
value SummarizationHelpfulnessSpec
Returns
Type Description
SummarizationHelpfulnessInput.Builder

setMetricSpec(SummarizationHelpfulnessSpec.Builder builderForValue)

public SummarizationHelpfulnessInput.Builder setMetricSpec(SummarizationHelpfulnessSpec.Builder builderForValue)

Required. Spec for summarization helpfulness score metric.

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

Parameter
Name Description
builderForValue SummarizationHelpfulnessSpec.Builder
Returns
Type Description
SummarizationHelpfulnessInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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