Cloud AI Platform v1beta1 API - Class IndexDatapoint.Types.NumericRestriction (1.0.0-beta09)

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 v1beta1 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.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

NumericRestriction()

public NumericRestriction()

NumericRestriction(NumericRestriction)

public NumericRestriction(IndexDatapoint.Types.NumericRestriction other)
Parameter
Name Description
other IndexDatapointTypesNumericRestriction

Properties

HasValueDouble

public bool HasValueDouble { get; }

Gets whether the "value_double" field is set

Property Value
Type Description
bool

HasValueFloat

public bool HasValueFloat { get; }

Gets whether the "value_float" field is set

Property Value
Type Description
bool

HasValueInt

public bool HasValueInt { get; }

Gets whether the "value_int" field is set

Property Value
Type Description
bool

Namespace

public string Namespace { get; set; }

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

Property Value
Type Description
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
Type Description
IndexDatapointTypesNumericRestrictionTypesOperator

ValueCase

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

ValueDouble

public double ValueDouble { get; set; }

Represents 64 bit float.

Property Value
Type Description
double

ValueFloat

public float ValueFloat { get; set; }

Represents 32 bit float.

Property Value
Type Description
float

ValueInt

public long ValueInt { get; set; }

Represents 64 bit integer.

Property Value
Type Description
long