Package com.google.cloud.visionai.v1
Interface SchemaKeySortingStrategy.OptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SchemaKeySortingStrategy.Option,SchemaKeySortingStrategy.Option.Builder
- Enclosing class:
- SchemaKeySortingStrategy
public static interface SchemaKeySortingStrategy.OptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAggregate method for the current data schema key.intAggregate method for the current data schema key.The data used to sort.com.google.protobuf.ByteStringThe data used to sort.booleanWhether to sort in decreasing order or increasing order.booleanAggregate method for the current data schema key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDataSchemaKey
String getDataSchemaKey()The data used to sort.
string data_schema_key = 1;- Returns:
- The dataSchemaKey.
-
getDataSchemaKeyBytes
com.google.protobuf.ByteString getDataSchemaKeyBytes()The data used to sort.
string data_schema_key = 1;- Returns:
- The bytes for dataSchemaKey.
-
getSortDecreasing
boolean getSortDecreasing()Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.
bool sort_decreasing = 2;- Returns:
- The sortDecreasing.
-
hasAggregateMethod
boolean hasAggregateMethod()Aggregate method for the current data schema key.
optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;- Returns:
- Whether the aggregateMethod field is set.
-
getAggregateMethodValue
int getAggregateMethodValue()Aggregate method for the current data schema key.
optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;- Returns:
- The enum numeric value on the wire for aggregateMethod.
-
getAggregateMethod
SchemaKeySortingStrategy.Option.AggregateMethod getAggregateMethod()Aggregate method for the current data schema key.
optional .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod aggregate_method = 3;- Returns:
- The aggregateMethod.
-