Interface IndexDatapoint.NumericRestrictionOrBuilder (3.45.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
Type Description
String

The namespace.

getNamespaceBytes()

public abstract ByteString getNamespaceBytes()

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

string namespace = 1;

Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for op.

getValueCase()

public abstract IndexDatapoint.NumericRestriction.ValueCase getValueCase()
Returns
Type Description
IndexDatapoint.NumericRestriction.ValueCase

getValueDouble()

public abstract double getValueDouble()

Represents 64 bit float.

double value_double = 4;

Returns
Type Description
double

The valueDouble.

getValueFloat()

public abstract float getValueFloat()

Represents 32 bit float.

float value_float = 3;

Returns
Type Description
float

The valueFloat.

getValueInt()

public abstract long getValueInt()

Represents 64 bit integer.

int64 value_int = 2;

Returns
Type Description
long

The valueInt.

hasValueDouble()

public abstract boolean hasValueDouble()

Represents 64 bit float.

double value_double = 4;

Returns
Type Description
boolean

Whether the valueDouble field is set.

hasValueFloat()

public abstract boolean hasValueFloat()

Represents 32 bit float.

float value_float = 3;

Returns
Type Description
boolean

Whether the valueFloat field is set.

hasValueInt()

public abstract boolean hasValueInt()

Represents 64 bit integer.

int64 value_int = 2;

Returns
Type Description
boolean

Whether the valueInt field is set.