Class BleuResults.Builder (3.55.0)

public static final class BleuResults.Builder extends GeneratedMessageV3.Builder<BleuResults.Builder> implements BleuResultsOrBuilder

Results for bleu metric.

Protobuf type google.cloud.aiplatform.v1.BleuResults

Static Methods

getDescriptor()

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

Methods

addAllBleuMetricValues(Iterable<? extends BleuMetricValue> values)

public BleuResults.Builder addAllBleuMetricValues(Iterable<? extends BleuMetricValue> values)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.BleuMetricValue>
Returns
Type Description
BleuResults.Builder

addBleuMetricValues(BleuMetricValue value)

public BleuResults.Builder addBleuMetricValues(BleuMetricValue value)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value BleuMetricValue
Returns
Type Description
BleuResults.Builder

addBleuMetricValues(BleuMetricValue.Builder builderForValue)

public BleuResults.Builder addBleuMetricValues(BleuMetricValue.Builder builderForValue)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue BleuMetricValue.Builder
Returns
Type Description
BleuResults.Builder

addBleuMetricValues(int index, BleuMetricValue value)

public BleuResults.Builder addBleuMetricValues(int index, BleuMetricValue value)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value BleuMetricValue
Returns
Type Description
BleuResults.Builder

addBleuMetricValues(int index, BleuMetricValue.Builder builderForValue)

public BleuResults.Builder addBleuMetricValues(int index, BleuMetricValue.Builder builderForValue)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue BleuMetricValue.Builder
Returns
Type Description
BleuResults.Builder

addBleuMetricValuesBuilder()

public BleuMetricValue.Builder addBleuMetricValuesBuilder()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BleuMetricValue.Builder

addBleuMetricValuesBuilder(int index)

public BleuMetricValue.Builder addBleuMetricValuesBuilder(int index)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BleuMetricValue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BleuResults build()
Returns
Type Description
BleuResults

buildPartial()

public BleuResults buildPartial()
Returns
Type Description
BleuResults

clear()

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

clearBleuMetricValues()

public BleuResults.Builder clearBleuMetricValues()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BleuResults.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBleuMetricValues(int index)

public BleuMetricValue getBleuMetricValues(int index)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BleuMetricValue

getBleuMetricValuesBuilder(int index)

public BleuMetricValue.Builder getBleuMetricValuesBuilder(int index)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BleuMetricValue.Builder

getBleuMetricValuesBuilderList()

public List<BleuMetricValue.Builder> getBleuMetricValuesBuilderList()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getBleuMetricValuesCount()

public int getBleuMetricValuesCount()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBleuMetricValuesList()

public List<BleuMetricValue> getBleuMetricValuesList()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BleuMetricValue>

getBleuMetricValuesOrBuilder(int index)

public BleuMetricValueOrBuilder getBleuMetricValuesOrBuilder(int index)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BleuMetricValueOrBuilder

getBleuMetricValuesOrBuilderList()

public List<? extends BleuMetricValueOrBuilder> getBleuMetricValuesOrBuilderList()

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.BleuMetricValueOrBuilder>

getDefaultInstanceForType()

public BleuResults getDefaultInstanceForType()
Returns
Type Description
BleuResults

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BleuResults other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBleuMetricValues(int index)

public BleuResults.Builder removeBleuMetricValues(int index)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BleuResults.Builder

setBleuMetricValues(int index, BleuMetricValue value)

public BleuResults.Builder setBleuMetricValues(int index, BleuMetricValue value)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value BleuMetricValue
Returns
Type Description
BleuResults.Builder

setBleuMetricValues(int index, BleuMetricValue.Builder builderForValue)

public BleuResults.Builder setBleuMetricValues(int index, BleuMetricValue.Builder builderForValue)

Output only. Bleu metric values.

repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue BleuMetricValue.Builder
Returns
Type Description
BleuResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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