public static final class RougeInput.Builder extends GeneratedMessageV3.Builder<RougeInput.Builder> implements RougeInputOrBuilder
Input for rouge metric.
Protobuf type google.cloud.aiplatform.v1beta1.RougeInput
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 RougeInput.Builder addAllInstances(Iterable<? extends RougeInstance> values)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.RougeInstance>
|
public RougeInput.Builder addInstances(RougeInstance value)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder addInstances(RougeInstance.Builder builderForValue)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder addInstances(int index, RougeInstance value)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder addInstances(int index, RougeInstance.Builder builderForValue)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInstance.Builder addInstancesBuilder()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInstance.Builder addInstancesBuilder(int index)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public RougeInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RougeInput build()
public RougeInput buildPartial()
public RougeInput.Builder clear()
Overrides
public RougeInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RougeInput.Builder clearInstances()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder clearMetricSpec()
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RougeInput.Builder clone()
Overrides
public RougeInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RougeInstance getInstances(int index)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public RougeInstance.Builder getInstancesBuilder(int index)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<RougeInstance.Builder> getInstancesBuilderList()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public int getInstancesCount()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
public List<RougeInstance> getInstancesList()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInstanceOrBuilder getInstancesOrBuilder(int index)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<? extends RougeInstanceOrBuilder> getInstancesOrBuilderList()
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.RougeInstanceOrBuilder> | |
public RougeSpec getMetricSpec()
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
RougeSpec | The metricSpec.
|
public RougeSpec.Builder getMetricSpecBuilder()
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public RougeSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasMetricSpec()
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec 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 RougeInput.Builder mergeFrom(RougeInput other)
public RougeInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RougeInput.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public RougeInput.Builder mergeMetricSpec(RougeSpec value)
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final RougeInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RougeInput.Builder removeInstances(int index)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public RougeInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RougeInput.Builder setInstances(int index, RougeInstance value)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder setInstances(int index, RougeInstance.Builder builderForValue)
Required. Repeated rouge instances.
repeated .google.cloud.aiplatform.v1beta1.RougeInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder setMetricSpec(RougeSpec value)
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder setMetricSpec(RougeSpec.Builder builderForValue)
Required. Spec for rouge score metric.
.google.cloud.aiplatform.v1beta1.RougeSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public RougeInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RougeInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides