Class Scalar.Builder (3.56.0)

public static final class Scalar.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Scalar.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Scalar.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.