Interface SchemaKeySortingStrategy.OptionOrBuilder (0.3.0)

public static interface SchemaKeySortingStrategy.OptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregateMethod()

public abstract SchemaKeySortingStrategy.Option.AggregateMethod getAggregateMethod()

Aggregate method for the current data schema key.

optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;

Returns
Type Description
SchemaKeySortingStrategy.Option.AggregateMethod

The aggregateMethod.

getAggregateMethodValue()

public abstract int getAggregateMethodValue()

Aggregate method for the current data schema key.

optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;

Returns
Type Description
int

The enum numeric value on the wire for aggregateMethod.

getDataSchemaKey()

public abstract String getDataSchemaKey()

The data used to sort.

string data_schema_key = 1;

Returns
Type Description
String

The dataSchemaKey.

getDataSchemaKeyBytes()

public abstract ByteString getDataSchemaKeyBytes()

The data used to sort.

string data_schema_key = 1;

Returns
Type Description
ByteString

The bytes for dataSchemaKey.

getSortDecreasing()

public abstract boolean getSortDecreasing()

Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.

bool sort_decreasing = 2;

Returns
Type Description
boolean

The sortDecreasing.

hasAggregateMethod()

public abstract boolean hasAggregateMethod()

Aggregate method for the current data schema key.

optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;

Returns
Type Description
boolean

Whether the aggregateMethod field is set.