Class RougeResults.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.RougeMetricValue>
Returns
TypeDescription
RougeResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RougeResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRougeMetricValue
Returns
TypeDescription
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
NameDescription
builderForValueRougeMetricValue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRougeMetricValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRougeMetricValue.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RougeMetricValue.Builder

build()

public RougeResults build()
Returns
TypeDescription
RougeResults

buildPartial()

public RougeResults buildPartial()
Returns
TypeDescription
RougeResults

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RougeResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RougeResults.Builder

clone()

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

getDefaultInstanceForType()

public RougeResults getDefaultInstanceForType()
Returns
TypeDescription
RougeResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.RougeMetricValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RougeResults other)

public RougeResults.Builder mergeFrom(RougeResults other)
Parameter
NameDescription
otherRougeResults
Returns
TypeDescription
RougeResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RougeResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RougeResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RougeResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRougeMetricValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRougeMetricValue.Builder
Returns
TypeDescription
RougeResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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