com.scalar.db.rpc.TableMetadataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: scalardb.proto
// Protobuf Java Version: 3.25.5
package com.scalar.db.rpc;
public interface TableMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:rpc.TableMetadata)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .rpc.DataType> columns = 1;
*/
int getColumnsCount();
/**
* map<string, .rpc.DataType> columns = 1;
*/
boolean containsColumns(
java.lang.String key);
/**
* Use {@link #getColumnsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getColumns();
/**
* map<string, .rpc.DataType> columns = 1;
*/
java.util.Map
getColumnsMap();
/**
* map<string, .rpc.DataType> columns = 1;
*/
/* nullable */
com.scalar.db.rpc.DataType getColumnsOrDefault(
java.lang.String key,
/* nullable */
com.scalar.db.rpc.DataType defaultValue);
/**
* map<string, .rpc.DataType> columns = 1;
*/
com.scalar.db.rpc.DataType getColumnsOrThrow(
java.lang.String key);
/**
* Use {@link #getColumnsValueMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getColumnsValue();
/**
* map<string, .rpc.DataType> columns = 1;
*/
java.util.Map
getColumnsValueMap();
/**
* map<string, .rpc.DataType> columns = 1;
*/
int getColumnsValueOrDefault(
java.lang.String key,
int defaultValue);
/**
* map<string, .rpc.DataType> columns = 1;
*/
int getColumnsValueOrThrow(
java.lang.String key);
/**
* repeated string partition_key_names = 2;
* @return A list containing the partitionKeyNames.
*/
java.util.List
getPartitionKeyNamesList();
/**
* repeated string partition_key_names = 2;
* @return The count of partitionKeyNames.
*/
int getPartitionKeyNamesCount();
/**
* repeated string partition_key_names = 2;
* @param index The index of the element to return.
* @return The partitionKeyNames at the given index.
*/
java.lang.String getPartitionKeyNames(int index);
/**
* repeated string partition_key_names = 2;
* @param index The index of the value to return.
* @return The bytes of the partitionKeyNames at the given index.
*/
com.google.protobuf.ByteString
getPartitionKeyNamesBytes(int index);
/**
* repeated string clustering_key_names = 3;
* @return A list containing the clusteringKeyNames.
*/
java.util.List
getClusteringKeyNamesList();
/**
* repeated string clustering_key_names = 3;
* @return The count of clusteringKeyNames.
*/
int getClusteringKeyNamesCount();
/**
* repeated string clustering_key_names = 3;
* @param index The index of the element to return.
* @return The clusteringKeyNames at the given index.
*/
java.lang.String getClusteringKeyNames(int index);
/**
* repeated string clustering_key_names = 3;
* @param index The index of the value to return.
* @return The bytes of the clusteringKeyNames at the given index.
*/
com.google.protobuf.ByteString
getClusteringKeyNamesBytes(int index);
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
int getClusteringOrdersCount();
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
boolean containsClusteringOrders(
java.lang.String key);
/**
* Use {@link #getClusteringOrdersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getClusteringOrders();
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
java.util.Map
getClusteringOrdersMap();
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
/* nullable */
com.scalar.db.rpc.Order getClusteringOrdersOrDefault(
java.lang.String key,
/* nullable */
com.scalar.db.rpc.Order defaultValue);
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
com.scalar.db.rpc.Order getClusteringOrdersOrThrow(
java.lang.String key);
/**
* Use {@link #getClusteringOrdersValueMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getClusteringOrdersValue();
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
java.util.Map
getClusteringOrdersValueMap();
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
int getClusteringOrdersValueOrDefault(
java.lang.String key,
int defaultValue);
/**
* map<string, .rpc.Order> clustering_orders = 4;
*/
int getClusteringOrdersValueOrThrow(
java.lang.String key);
/**
* repeated string secondary_index_names = 5;
* @return A list containing the secondaryIndexNames.
*/
java.util.List
getSecondaryIndexNamesList();
/**
* repeated string secondary_index_names = 5;
* @return The count of secondaryIndexNames.
*/
int getSecondaryIndexNamesCount();
/**
* repeated string secondary_index_names = 5;
* @param index The index of the element to return.
* @return The secondaryIndexNames at the given index.
*/
java.lang.String getSecondaryIndexNames(int index);
/**
* repeated string secondary_index_names = 5;
* @param index The index of the value to return.
* @return The bytes of the secondaryIndexNames at the given index.
*/
com.google.protobuf.ByteString
getSecondaryIndexNamesBytes(int index);
}