Cloud AI Platform v1 API - Class IndexDatapoint.Types.NumericRestriction (2.21.0)

public sealed class IndexDatapoint.Types.NumericRestriction : IMessage<IndexDatapoint.Types.NumericRestriction>, IEquatable<IndexDatapoint.Types.NumericRestriction>, IDeepCloneable<IndexDatapoint.Types.NumericRestriction>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class IndexDatapoint.Types.NumericRestriction.

This field allows restricts to be based on numeric comparisons rather than categorical tokens.

Inheritance

object > IndexDatapoint.Types.NumericRestriction

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

NumericRestriction()

public NumericRestriction()

NumericRestriction(NumericRestriction)

public NumericRestriction(IndexDatapoint.Types.NumericRestriction other)
Parameter
NameDescription
otherIndexDatapointTypesNumericRestriction

Properties

HasValueDouble

public bool HasValueDouble { get; }

Gets whether the "value_double" field is set

Property Value
TypeDescription
bool

HasValueFloat

public bool HasValueFloat { get; }

Gets whether the "value_float" field is set

Property Value
TypeDescription
bool

HasValueInt

public bool HasValueInt { get; }

Gets whether the "value_int" field is set

Property Value
TypeDescription
bool

Namespace

public string Namespace { get; set; }

The namespace of this restriction. e.g.: cost.

Property Value
TypeDescription
string

Op

public IndexDatapoint.Types.NumericRestriction.Types.Operator Op { get; set; }

This MUST be specified for queries and must NOT be specified for datapoints.

Property Value
TypeDescription
IndexDatapointTypesNumericRestrictionTypesOperator

ValueCase

public IndexDatapoint.Types.NumericRestriction.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
IndexDatapointTypesNumericRestrictionValueOneofCase

ValueDouble

public double ValueDouble { get; set; }

Represents 64 bit float.

Property Value
TypeDescription
double

ValueFloat

public float ValueFloat { get; set; }

Represents 32 bit float.

Property Value
TypeDescription
float

ValueInt

public long ValueInt { get; set; }

Represents 64 bit integer.

Property Value
TypeDescription
long