Class BleuInput.Builder (3.46.0)

public static final class BleuInput.Builder extends GeneratedMessageV3.Builder<BleuInput.Builder> implements BleuInputOrBuilder

Input for bleu metric.

Protobuf type google.cloud.aiplatform.v1beta1.BleuInput

Implements

BleuInputOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends BleuInstance> values)

public BleuInput.Builder addAllInstances(Iterable<? extends BleuInstance> values)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

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

addInstances(BleuInstance value)

public BleuInput.Builder addInstances(BleuInstance value)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BleuInstance
Returns
Type Description
BleuInput.Builder

addInstances(BleuInstance.Builder builderForValue)

public BleuInput.Builder addInstances(BleuInstance.Builder builderForValue)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BleuInstance.Builder
Returns
Type Description
BleuInput.Builder

addInstances(int index, BleuInstance value)

public BleuInput.Builder addInstances(int index, BleuInstance value)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value BleuInstance
Returns
Type Description
BleuInput.Builder

addInstances(int index, BleuInstance.Builder builderForValue)

public BleuInput.Builder addInstances(int index, BleuInstance.Builder builderForValue)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue BleuInstance.Builder
Returns
Type Description
BleuInput.Builder

addInstancesBuilder()

public BleuInstance.Builder addInstancesBuilder()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuInstance.Builder

addInstancesBuilder(int index)

public BleuInstance.Builder addInstancesBuilder(int index)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BleuInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BleuInput build()
Returns
Type Description
BleuInput

buildPartial()

public BleuInput buildPartial()
Returns
Type Description
BleuInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public BleuInput.Builder clearInstances()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuInput.Builder

clearMetricSpec()

public BleuInput.Builder clearMetricSpec()

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BleuInput getDefaultInstanceForType()
Returns
Type Description
BleuInput

getDescriptorForType()

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

getInstances(int index)

public BleuInstance getInstances(int index)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BleuInstance

getInstancesBuilder(int index)

public BleuInstance.Builder getInstancesBuilder(int index)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BleuInstance.Builder

getInstancesBuilderList()

public List<BleuInstance.Builder> getInstancesBuilderList()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<BleuInstance> getInstancesList()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<BleuInstance>

getInstancesOrBuilder(int index)

public BleuInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BleuInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends BleuInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

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

getMetricSpec()

public BleuSpec getMetricSpec()

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuSpec

The metricSpec.

getMetricSpecBuilder()

public BleuSpec.Builder getMetricSpecBuilder()

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuSpec.Builder

getMetricSpecOrBuilder()

public BleuSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BleuSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BleuInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(BleuSpec value)

public BleuInput.Builder mergeMetricSpec(BleuSpec value)

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BleuSpec
Returns
Type Description
BleuInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public BleuInput.Builder removeInstances(int index)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BleuInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, BleuInstance value)

public BleuInput.Builder setInstances(int index, BleuInstance value)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value BleuInstance
Returns
Type Description
BleuInput.Builder

setInstances(int index, BleuInstance.Builder builderForValue)

public BleuInput.Builder setInstances(int index, BleuInstance.Builder builderForValue)

Required. Repeated bleu instances.

repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue BleuInstance.Builder
Returns
Type Description
BleuInput.Builder

setMetricSpec(BleuSpec value)

public BleuInput.Builder setMetricSpec(BleuSpec value)

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BleuSpec
Returns
Type Description
BleuInput.Builder

setMetricSpec(BleuSpec.Builder builderForValue)

public BleuInput.Builder setMetricSpec(BleuSpec.Builder builderForValue)

Required. Spec for bleu score metric.

.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BleuSpec.Builder
Returns
Type Description
BleuInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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