Class Scalar.Builder (3.2.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.v1beta1.Scalar

Implements

ScalarOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Scalar build()
Returns
TypeDescription
Scalar

buildPartial()

public Scalar buildPartial()
Returns
TypeDescription
Scalar

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public Scalar.Builder clearValue()

Value of the point at this step / timestamp.

double value = 1;

Returns
TypeDescription
Scalar.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Scalar getDefaultInstanceForType()
Returns
TypeDescription
Scalar

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public double getValue()

Value of the point at this step / timestamp.

double value = 1;

Returns
TypeDescription
double

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Scalar other)

public Scalar.Builder mergeFrom(Scalar other)
Parameter
NameDescription
otherScalar
Returns
TypeDescription
Scalar.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(double value)

public Scalar.Builder setValue(double value)

Value of the point at this step / timestamp.

double value = 1;

Parameter
NameDescription
valuedouble

The value to set.

Returns
TypeDescription
Scalar.Builder

This builder for chaining.