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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SummarizationHelpfulnessInput build()
Returns
TypeDescription
SummarizationHelpfulnessInput

buildPartial()

public SummarizationHelpfulnessInput buildPartial()
Returns
TypeDescription
SummarizationHelpfulnessInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SummarizationHelpfulnessInput getDefaultInstanceForType()
Returns
TypeDescription
SummarizationHelpfulnessInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public SummarizationHelpfulnessInstance getInstance()

Required. Summarization helpfulness instance.

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

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

getInstanceOrBuilder()

public SummarizationHelpfulnessInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization helpfulness instance.

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

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

hasInstance()

public boolean hasInstance()

Required. Summarization helpfulness instance.

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

Returns
TypeDescription
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
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(SummarizationHelpfulnessInput other)

public SummarizationHelpfulnessInput.Builder mergeFrom(SummarizationHelpfulnessInput other)
Parameter
NameDescription
otherSummarizationHelpfulnessInput
Returns
TypeDescription
SummarizationHelpfulnessInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SummarizationHelpfulnessInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSummarizationHelpfulnessInstance
Returns
TypeDescription
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
NameDescription
valueSummarizationHelpfulnessSpec
Returns
TypeDescription
SummarizationHelpfulnessInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SummarizationHelpfulnessInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSummarizationHelpfulnessInstance
Returns
TypeDescription
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
NameDescription
builderForValueSummarizationHelpfulnessInstance.Builder
Returns
TypeDescription
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
NameDescription
valueSummarizationHelpfulnessSpec
Returns
TypeDescription
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
NameDescription
builderForValueSummarizationHelpfulnessSpec.Builder
Returns
TypeDescription
SummarizationHelpfulnessInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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