Class Scalar (3.5.0)

public final class Scalar extends GeneratedMessageV3 implements ScalarOrBuilder

One point viewable on a scalar metric plot.

Protobuf type google.cloud.aiplatform.v1beta1.Scalar

Implements

ScalarOrBuilder

Static Fields

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Scalar getDefaultInstance()
Returns
TypeDescription
Scalar

getDescriptor()

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

newBuilder()

public static Scalar.Builder newBuilder()
Returns
TypeDescription
Scalar.Builder

newBuilder(Scalar prototype)

public static Scalar.Builder newBuilder(Scalar prototype)
Parameter
NameDescription
prototypeScalar
Returns
TypeDescription
Scalar.Builder

parseDelimitedFrom(InputStream input)

public static Scalar parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scalar parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Scalar parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Scalar parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Scalar parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Scalar parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Scalar parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Scalar parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Scalar parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scalar parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Scalar parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Scalar parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scalar
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Scalar> parser()
Returns
TypeDescription
Parser<Scalar>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Scalar getDefaultInstanceForType()
Returns
TypeDescription
Scalar

getParserForType()

public Parser<Scalar> getParserForType()
Returns
TypeDescription
Parser<Scalar>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public double getValue()

Value of the point at this step / timestamp.

double value = 1;

Returns
TypeDescription
double

The value.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Scalar.Builder newBuilderForType()
Returns
TypeDescription
Scalar.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Scalar.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Scalar.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Scalar.Builder toBuilder()
Returns
TypeDescription
Scalar.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException