Class FluencyInput.Builder (3.45.0)

public static final class FluencyInput.Builder extends GeneratedMessageV3.Builder<FluencyInput.Builder> implements FluencyInputOrBuilder

Input for fluency metric.

Protobuf type google.cloud.aiplatform.v1beta1.FluencyInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FluencyInput build()
Returns
Type Description
FluencyInput

buildPartial()

public FluencyInput buildPartial()
Returns
Type Description
FluencyInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public FluencyInput.Builder clearInstance()

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FluencyInput.Builder

clearMetricSpec()

public FluencyInput.Builder clearMetricSpec()

Required. Spec for fluency score metric.

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

Returns
Type Description
FluencyInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FluencyInput getDefaultInstanceForType()
Returns
Type Description
FluencyInput

getDescriptorForType()

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

getInstance()

public FluencyInstance getInstance()

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FluencyInstance

The instance.

getInstanceBuilder()

public FluencyInstance.Builder getInstanceBuilder()

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FluencyInstance.Builder

getInstanceOrBuilder()

public FluencyInstanceOrBuilder getInstanceOrBuilder()

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FluencyInstanceOrBuilder

getMetricSpec()

public FluencySpec getMetricSpec()

Required. Spec for fluency score metric.

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

Returns
Type Description
FluencySpec

The metricSpec.

getMetricSpecBuilder()

public FluencySpec.Builder getMetricSpecBuilder()

Required. Spec for fluency score metric.

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

Returns
Type Description
FluencySpec.Builder

getMetricSpecOrBuilder()

public FluencySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for fluency score metric.

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

Returns
Type Description
FluencySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for fluency score metric.

.google.cloud.aiplatform.v1beta1.FluencySpec 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(FluencyInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(FluencyInstance value)

public FluencyInput.Builder mergeInstance(FluencyInstance value)

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FluencyInstance
Returns
Type Description
FluencyInput.Builder

mergeMetricSpec(FluencySpec value)

public FluencyInput.Builder mergeMetricSpec(FluencySpec value)

Required. Spec for fluency score metric.

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

Parameter
Name Description
value FluencySpec
Returns
Type Description
FluencyInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(FluencyInstance value)

public FluencyInput.Builder setInstance(FluencyInstance value)

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FluencyInstance
Returns
Type Description
FluencyInput.Builder

setInstance(FluencyInstance.Builder builderForValue)

public FluencyInput.Builder setInstance(FluencyInstance.Builder builderForValue)

Required. Fluency instance.

.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FluencyInstance.Builder
Returns
Type Description
FluencyInput.Builder

setMetricSpec(FluencySpec value)

public FluencyInput.Builder setMetricSpec(FluencySpec value)

Required. Spec for fluency score metric.

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

Parameter
Name Description
value FluencySpec
Returns
Type Description
FluencyInput.Builder

setMetricSpec(FluencySpec.Builder builderForValue)

public FluencyInput.Builder setMetricSpec(FluencySpec.Builder builderForValue)

Required. Spec for fluency score metric.

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

Parameter
Name Description
builderForValue FluencySpec.Builder
Returns
Type Description
FluencyInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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