Class FluencySpec.Builder (3.41.0)

public static final class FluencySpec.Builder extends GeneratedMessageV3.Builder<FluencySpec.Builder> implements FluencySpecOrBuilder

Spec for fluency score metric.

Protobuf type google.cloud.aiplatform.v1beta1.FluencySpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FluencySpec build()
Returns
TypeDescription
FluencySpec

buildPartial()

public FluencySpec buildPartial()
Returns
TypeDescription
FluencySpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public FluencySpec.Builder clearVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FluencySpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FluencySpec getDefaultInstanceForType()
Returns
TypeDescription
FluencySpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public int getVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FluencySpec other)

public FluencySpec.Builder mergeFrom(FluencySpec other)
Parameter
NameDescription
otherFluencySpec
Returns
TypeDescription
FluencySpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FluencySpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FluencySpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(int value)

public FluencySpec.Builder setVersion(int value)

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The version to set.

Returns
TypeDescription
FluencySpec.Builder

This builder for chaining.