com.scalar.db.rpc.MutationOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: scalardb.proto
package com.scalar.db.rpc;
public interface MutationOrBuilder extends
// @@protoc_insertion_point(interface_extends:rpc.Mutation)
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();
/**
* .rpc.MutateCondition condition = 6;
* @return Whether the condition field is set.
*/
boolean hasCondition();
/**
* .rpc.MutateCondition condition = 6;
* @return The condition.
*/
com.scalar.db.rpc.MutateCondition getCondition();
/**
* .rpc.MutateCondition condition = 6;
*/
com.scalar.db.rpc.MutateConditionOrBuilder getConditionOrBuilder();
/**
* .rpc.Mutation.Type type = 7;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .rpc.Mutation.Type type = 7;
* @return The type.
*/
com.scalar.db.rpc.Mutation.Type getType();
/**
*
* only for Put operations
*
*
* repeated .rpc.Value value = 8 [deprecated = true];
*/
@java.lang.Deprecated java.util.List
getValueList();
/**
*
* only for Put operations
*
*
* repeated .rpc.Value value = 8 [deprecated = true];
*/
@java.lang.Deprecated com.scalar.db.rpc.Value getValue(int index);
/**
*
* only for Put operations
*
*
* repeated .rpc.Value value = 8 [deprecated = true];
*/
@java.lang.Deprecated int getValueCount();
/**
*
* only for Put operations
*
*
* repeated .rpc.Value value = 8 [deprecated = true];
*/
@java.lang.Deprecated java.util.List extends com.scalar.db.rpc.ValueOrBuilder>
getValueOrBuilderList();
/**
*
* only for Put operations
*
*
* repeated .rpc.Value value = 8 [deprecated = true];
*/
@java.lang.Deprecated com.scalar.db.rpc.ValueOrBuilder getValueOrBuilder(
int index);
/**
*
* only for Put operations
*
*
* repeated .rpc.Column columns = 9;
*/
java.util.List
getColumnsList();
/**
*
* only for Put operations
*
*
* repeated .rpc.Column columns = 9;
*/
com.scalar.db.rpc.Column getColumns(int index);
/**
*
* only for Put operations
*
*
* repeated .rpc.Column columns = 9;
*/
int getColumnsCount();
/**
*
* only for Put operations
*
*
* repeated .rpc.Column columns = 9;
*/
java.util.List extends com.scalar.db.rpc.ColumnOrBuilder>
getColumnsOrBuilderList();
/**
*
* only for Put operations
*
*
* repeated .rpc.Column columns = 9;
*/
com.scalar.db.rpc.ColumnOrBuilder getColumnsOrBuilder(
int index);
}