Class RougeResults.Builder (3.44.0)

public static final class RougeResults.Builder extends GeneratedMessageV3.Builder<RougeResults.Builder> implements RougeResultsOrBuilder

Results for rouge metric.

Protobuf type google.cloud.aiplatform.v1beta1.RougeResults

Static Methods

getDescriptor()

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

Methods

addAllRougeMetricValues(Iterable<? extends RougeMetricValue> values)

public RougeResults.Builder addAllRougeMetricValues(Iterable<? extends RougeMetricValue> values)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.RougeMetricValue>
Returns
Type Description
RougeResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRougeMetricValues(RougeMetricValue value)

public RougeResults.Builder addRougeMetricValues(RougeMetricValue value)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RougeMetricValue
Returns
Type Description
RougeResults.Builder

addRougeMetricValues(RougeMetricValue.Builder builderForValue)

public RougeResults.Builder addRougeMetricValues(RougeMetricValue.Builder builderForValue)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RougeMetricValue.Builder
Returns
Type Description
RougeResults.Builder

addRougeMetricValues(int index, RougeMetricValue value)

public RougeResults.Builder addRougeMetricValues(int index, RougeMetricValue value)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RougeMetricValue
Returns
Type Description
RougeResults.Builder

addRougeMetricValues(int index, RougeMetricValue.Builder builderForValue)

public RougeResults.Builder addRougeMetricValues(int index, RougeMetricValue.Builder builderForValue)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RougeMetricValue.Builder
Returns
Type Description
RougeResults.Builder

addRougeMetricValuesBuilder()

public RougeMetricValue.Builder addRougeMetricValuesBuilder()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RougeMetricValue.Builder

addRougeMetricValuesBuilder(int index)

public RougeMetricValue.Builder addRougeMetricValuesBuilder(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RougeMetricValue.Builder

build()

public RougeResults build()
Returns
Type Description
RougeResults

buildPartial()

public RougeResults buildPartial()
Returns
Type Description
RougeResults

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRougeMetricValues()

public RougeResults.Builder clearRougeMetricValues()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RougeResults.Builder

clone()

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

getDefaultInstanceForType()

public RougeResults getDefaultInstanceForType()
Returns
Type Description
RougeResults

getDescriptorForType()

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

getRougeMetricValues(int index)

public RougeMetricValue getRougeMetricValues(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RougeMetricValue

getRougeMetricValuesBuilder(int index)

public RougeMetricValue.Builder getRougeMetricValuesBuilder(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RougeMetricValue.Builder

getRougeMetricValuesBuilderList()

public List<RougeMetricValue.Builder> getRougeMetricValuesBuilderList()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRougeMetricValuesCount()

public int getRougeMetricValuesCount()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRougeMetricValuesList()

public List<RougeMetricValue> getRougeMetricValuesList()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RougeMetricValue>

getRougeMetricValuesOrBuilder(int index)

public RougeMetricValueOrBuilder getRougeMetricValuesOrBuilder(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RougeMetricValueOrBuilder

getRougeMetricValuesOrBuilderList()

public List<? extends RougeMetricValueOrBuilder> getRougeMetricValuesOrBuilderList()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.RougeMetricValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RougeResults other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRougeMetricValues(int index)

public RougeResults.Builder removeRougeMetricValues(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RougeResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRougeMetricValues(int index, RougeMetricValue value)

public RougeResults.Builder setRougeMetricValues(int index, RougeMetricValue value)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RougeMetricValue
Returns
Type Description
RougeResults.Builder

setRougeMetricValues(int index, RougeMetricValue.Builder builderForValue)

public RougeResults.Builder setRougeMetricValues(int index, RougeMetricValue.Builder builderForValue)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RougeMetricValue.Builder
Returns
Type Description
RougeResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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