Class TrajectoryExactMatchMetricValue.Builder (3.56.0)

public static final class TrajectoryExactMatchMetricValue.Builder extends GeneratedMessageV3.Builder<TrajectoryExactMatchMetricValue.Builder> implements TrajectoryExactMatchMetricValueOrBuilder

TrajectoryExactMatch metric value for an instance.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrajectoryExactMatchMetricValue build()
Returns
Type Description
TrajectoryExactMatchMetricValue

buildPartial()

public TrajectoryExactMatchMetricValue buildPartial()
Returns
Type Description
TrajectoryExactMatchMetricValue

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScore()

public TrajectoryExactMatchMetricValue.Builder clearScore()

Output only. TrajectoryExactMatch score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TrajectoryExactMatchMetricValue.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TrajectoryExactMatchMetricValue getDefaultInstanceForType()
Returns
Type Description
TrajectoryExactMatchMetricValue

getDescriptorForType()

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

getScore()

public float getScore()

Output only. TrajectoryExactMatch score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The score.

hasScore()

public boolean hasScore()

Output only. TrajectoryExactMatch score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the score field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectoryExactMatchMetricValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScore(float value)

public TrajectoryExactMatchMetricValue.Builder setScore(float value)

Output only. TrajectoryExactMatch score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value float

The score to set.

Returns
Type Description
TrajectoryExactMatchMetricValue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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