public static final class BleuInput.Builder extends GeneratedMessageV3.Builder<BleuInput.Builder> implements BleuInputOrBuilder
Input for bleu metric.
Protobuf type google.cloud.aiplatform.v1beta1.BleuInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public BleuInput.Builder addInstances(BleuInstance value)
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public BleuInput.Builder addInstances(BleuInstance.Builder builderForValue)
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public BleuInstance.Builder addInstancesBuilder()
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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
|
public BleuInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BleuInput buildPartial()
public BleuInput.Builder clear()
Overrides
public BleuInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BleuInput.Builder clearInstances()
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public BleuInput.Builder clearMetricSpec()
Required. Spec for bleu score metric.
.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public BleuInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BleuInput.Builder clone()
Overrides
public BleuInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
public List<BleuInstance.Builder> getInstancesBuilderList()
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public int getInstancesCount()
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
public List<BleuInstance> getInstancesList()
Required. Repeated bleu instances.
repeated .google.cloud.aiplatform.v1beta1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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
|
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> | |
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.
|
public BleuSpec.Builder getMetricSpecBuilder()
Required. Spec for bleu score metric.
.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public BleuSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for bleu score metric.
.google.cloud.aiplatform.v1beta1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BleuInput.Builder mergeFrom(BleuInput other)
public BleuInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BleuInput.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
public final BleuInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public BleuInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
public BleuInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BleuInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides