Class Scalar.Builder (3.84.0)

public static final class Scalar.Builder extends GeneratedMessage.Builder<Scalar.Builder> implements ScalarOrBuilder

One point viewable on a scalar metric plot.

Protobuf type google.cloud.aiplatform.v1.Scalar

Implements

ScalarOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Scalar build()
Returns
Type Description
Scalar

buildPartial()

public Scalar buildPartial()
Returns
Type Description
Scalar

clear()

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

clearValue()

public Scalar.Builder clearValue()

Value of the point at this step / timestamp.

double value = 1;

Returns
Type Description
Scalar.Builder

This builder for chaining.

getDefaultInstanceForType()

public Scalar getDefaultInstanceForType()
Returns
Type Description
Scalar

getDescriptorForType()

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

getValue()

public double getValue()

Value of the point at this step / timestamp.

double value = 1;

Returns
Type Description
double

The value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Scalar other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValue(double value)

public Scalar.Builder setValue(double value)

Value of the point at this step / timestamp.

double value = 1;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
Scalar.Builder

This builder for chaining.