com.scalar.db.rpc.GetOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: scalardb.proto
package com.scalar.db.rpc;
public interface GetOrBuilder extends
// @@protoc_insertion_point(interface_extends:rpc.Get)
com.google.protobuf.MessageOrBuilder {
/**
* string namespace = 1;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
* string namespace = 1;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
* string table = 2;
* @return The table.
*/
java.lang.String getTable();
/**
* string table = 2;
* @return The bytes for table.
*/
com.google.protobuf.ByteString
getTableBytes();
/**
* .rpc.Key partition_key = 3;
* @return Whether the partitionKey field is set.
*/
boolean hasPartitionKey();
/**
* .rpc.Key partition_key = 3;
* @return The partitionKey.
*/
com.scalar.db.rpc.Key getPartitionKey();
/**
* .rpc.Key partition_key = 3;
*/
com.scalar.db.rpc.KeyOrBuilder getPartitionKeyOrBuilder();
/**
* .rpc.Key clustering_key = 4;
* @return Whether the clusteringKey field is set.
*/
boolean hasClusteringKey();
/**
* .rpc.Key clustering_key = 4;
* @return The clusteringKey.
*/
com.scalar.db.rpc.Key getClusteringKey();
/**
* .rpc.Key clustering_key = 4;
*/
com.scalar.db.rpc.KeyOrBuilder getClusteringKeyOrBuilder();
/**
* .rpc.Consistency consistency = 5;
* @return The enum numeric value on the wire for consistency.
*/
int getConsistencyValue();
/**
* .rpc.Consistency consistency = 5;
* @return The consistency.
*/
com.scalar.db.rpc.Consistency getConsistency();
/**
* repeated string projections = 6;
* @return A list containing the projections.
*/
java.util.List
getProjectionsList();
/**
* repeated string projections = 6;
* @return The count of projections.
*/
int getProjectionsCount();
/**
* repeated string projections = 6;
* @param index The index of the element to return.
* @return The projections at the given index.
*/
java.lang.String getProjections(int index);
/**
* repeated string projections = 6;
* @param index The index of the value to return.
* @return The bytes of the projections at the given index.
*/
com.google.protobuf.ByteString
getProjectionsBytes(int index);
}