Class FluencyInput.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FluencyInput build()
Returns
TypeDescription
FluencyInput

buildPartial()

public FluencyInput buildPartial()
Returns
TypeDescription
FluencyInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public FluencyInput.Builder clearInstance()

Required. Fluency instance.

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

Returns
TypeDescription
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
TypeDescription
FluencyInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FluencyInput getDefaultInstanceForType()
Returns
TypeDescription
FluencyInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public FluencyInstance getInstance()

Required. Fluency instance.

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

Returns
TypeDescription
FluencyInstance

The instance.

getInstanceBuilder()

public FluencyInstance.Builder getInstanceBuilder()

Required. Fluency instance.

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

Returns
TypeDescription
FluencyInstance.Builder

getInstanceOrBuilder()

public FluencyInstanceOrBuilder getInstanceOrBuilder()

Required. Fluency instance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FluencySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Fluency instance.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FluencyInput other)

public FluencyInput.Builder mergeFrom(FluencyInput other)
Parameter
NameDescription
otherFluencyInput
Returns
TypeDescription
FluencyInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FluencyInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFluencyInstance
Returns
TypeDescription
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
NameDescription
valueFluencySpec
Returns
TypeDescription
FluencyInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FluencyInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFluencyInstance
Returns
TypeDescription
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
NameDescription
builderForValueFluencyInstance.Builder
Returns
TypeDescription
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
NameDescription
valueFluencySpec
Returns
TypeDescription
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
NameDescription
builderForValueFluencySpec.Builder
Returns
TypeDescription
FluencyInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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