Class BleuResults.Builder (3.41.0)

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

Results for bleu metric.

Protobuf type google.cloud.aiplatform.v1beta1.BleuResults

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBleuMetricValues(Iterable<? extends BleuMetricValue> values)

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

Output only. Bleu metric values.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.BleuMetricValue>
Returns
TypeDescription
BleuResults.Builder

addBleuMetricValues(BleuMetricValue value)

public BleuResults.Builder addBleuMetricValues(BleuMetricValue value)

Output only. Bleu metric values.

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

Parameter
NameDescription
valueBleuMetricValue
Returns
TypeDescription
BleuResults.Builder

addBleuMetricValues(BleuMetricValue.Builder builderForValue)

public BleuResults.Builder addBleuMetricValues(BleuMetricValue.Builder builderForValue)

Output only. Bleu metric values.

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

Parameter
NameDescription
builderForValueBleuMetricValue.Builder
Returns
TypeDescription
BleuResults.Builder

addBleuMetricValues(int index, BleuMetricValue value)

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

Output only. Bleu metric values.

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

Parameters
NameDescription
indexint
valueBleuMetricValue
Returns
TypeDescription
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.v1beta1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueBleuMetricValue.Builder
Returns
TypeDescription
BleuResults.Builder

addBleuMetricValuesBuilder()

public BleuMetricValue.Builder addBleuMetricValuesBuilder()

Output only. Bleu metric values.

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

Returns
TypeDescription
BleuMetricValue.Builder

addBleuMetricValuesBuilder(int index)

public BleuMetricValue.Builder addBleuMetricValuesBuilder(int index)

Output only. Bleu metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BleuMetricValue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BleuResults build()
Returns
TypeDescription
BleuResults

buildPartial()

public BleuResults buildPartial()
Returns
TypeDescription
BleuResults

clear()

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

clearBleuMetricValues()

public BleuResults.Builder clearBleuMetricValues()

Output only. Bleu metric values.

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

Returns
TypeDescription
BleuResults.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBleuMetricValues(int index)

public BleuMetricValue getBleuMetricValues(int index)

Output only. Bleu metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BleuMetricValue

getBleuMetricValuesBuilder(int index)

public BleuMetricValue.Builder getBleuMetricValuesBuilder(int index)

Output only. Bleu metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BleuMetricValue.Builder

getBleuMetricValuesBuilderList()

public List<BleuMetricValue.Builder> getBleuMetricValuesBuilderList()

Output only. Bleu metric values.

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

Returns
TypeDescription
List<Builder>

getBleuMetricValuesCount()

public int getBleuMetricValuesCount()

Output only. Bleu metric values.

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

Returns
TypeDescription
int

getBleuMetricValuesList()

public List<BleuMetricValue> getBleuMetricValuesList()

Output only. Bleu metric values.

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

Returns
TypeDescription
List<BleuMetricValue>

getBleuMetricValuesOrBuilder(int index)

public BleuMetricValueOrBuilder getBleuMetricValuesOrBuilder(int index)

Output only. Bleu metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BleuMetricValueOrBuilder

getBleuMetricValuesOrBuilderList()

public List<? extends BleuMetricValueOrBuilder> getBleuMetricValuesOrBuilderList()

Output only. Bleu metric values.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.BleuMetricValueOrBuilder>

getDefaultInstanceForType()

public BleuResults getDefaultInstanceForType()
Returns
TypeDescription
BleuResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BleuResults other)

public BleuResults.Builder mergeFrom(BleuResults other)
Parameter
NameDescription
otherBleuResults
Returns
TypeDescription
BleuResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBleuMetricValues(int index)

public BleuResults.Builder removeBleuMetricValues(int index)

Output only. Bleu metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BleuResults.Builder

setBleuMetricValues(int index, BleuMetricValue value)

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

Output only. Bleu metric values.

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

Parameters
NameDescription
indexint
valueBleuMetricValue
Returns
TypeDescription
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.v1beta1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueBleuMetricValue.Builder
Returns
TypeDescription
BleuResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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