Interface IndexDatapoint.NumericRestrictionOrBuilder (3.36.0)

public static interface IndexDatapoint.NumericRestrictionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNamespace()

public abstract String getNamespace()

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

string namespace = 1;

Returns
TypeDescription
String

The namespace.

getNamespaceBytes()

public abstract ByteString getNamespaceBytes()

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

string namespace = 1;

Returns
TypeDescription
ByteString

The bytes for namespace.

getOp()

public abstract IndexDatapoint.NumericRestriction.Operator getOp()

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

.google.cloud.aiplatform.v1beta1.IndexDatapoint.NumericRestriction.Operator op = 5;

Returns
TypeDescription
IndexDatapoint.NumericRestriction.Operator

The op.

getOpValue()

public abstract int getOpValue()

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

.google.cloud.aiplatform.v1beta1.IndexDatapoint.NumericRestriction.Operator op = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for op.

getValueCase()

public abstract IndexDatapoint.NumericRestriction.ValueCase getValueCase()
Returns
TypeDescription
IndexDatapoint.NumericRestriction.ValueCase

getValueDouble()

public abstract double getValueDouble()

Represents 64 bit float.

double value_double = 4;

Returns
TypeDescription
double

The valueDouble.

getValueFloat()

public abstract float getValueFloat()

Represents 32 bit float.

float value_float = 3;

Returns
TypeDescription
float

The valueFloat.

getValueInt()

public abstract long getValueInt()

Represents 64 bit integer.

int64 value_int = 2;

Returns
TypeDescription
long

The valueInt.

hasValueDouble()

public abstract boolean hasValueDouble()

Represents 64 bit float.

double value_double = 4;

Returns
TypeDescription
boolean

Whether the valueDouble field is set.

hasValueFloat()

public abstract boolean hasValueFloat()

Represents 32 bit float.

float value_float = 3;

Returns
TypeDescription
boolean

Whether the valueFloat field is set.

hasValueInt()

public abstract boolean hasValueInt()

Represents 64 bit integer.

int64 value_int = 2;

Returns
TypeDescription
boolean

Whether the valueInt field is set.