io.milvus.grpc.ReplicaInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector database.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: milvus.proto
package io.milvus.grpc;
public interface ReplicaInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.milvus.ReplicaInfo)
com.google.protobuf.MessageOrBuilder {
/**
* int64 replicaID = 1;
* @return The replicaID.
*/
long getReplicaID();
/**
* int64 collectionID = 2;
* @return The collectionID.
*/
long getCollectionID();
/**
*
* empty indicates to load collection
*
*
* repeated int64 partition_ids = 3;
* @return A list containing the partitionIds.
*/
java.util.List getPartitionIdsList();
/**
*
* empty indicates to load collection
*
*
* repeated int64 partition_ids = 3;
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
*
* empty indicates to load collection
*
*
* repeated int64 partition_ids = 3;
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;
*/
java.util.List
getShardReplicasList();
/**
* repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;
*/
io.milvus.grpc.ShardReplica getShardReplicas(int index);
/**
* repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;
*/
int getShardReplicasCount();
/**
* repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;
*/
java.util.List extends io.milvus.grpc.ShardReplicaOrBuilder>
getShardReplicasOrBuilderList();
/**
* repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;
*/
io.milvus.grpc.ShardReplicaOrBuilder getShardReplicasOrBuilder(
int index);
/**
*
* include leaders
*
*
* repeated int64 node_ids = 5;
* @return A list containing the nodeIds.
*/
java.util.List getNodeIdsList();
/**
*
* include leaders
*
*
* repeated int64 node_ids = 5;
* @return The count of nodeIds.
*/
int getNodeIdsCount();
/**
*
* include leaders
*
*
* repeated int64 node_ids = 5;
* @param index The index of the element to return.
* @return The nodeIds at the given index.
*/
long getNodeIds(int index);
/**
* string resource_group_name = 6;
* @return The resourceGroupName.
*/
java.lang.String getResourceGroupName();
/**
* string resource_group_name = 6;
* @return The bytes for resourceGroupName.
*/
com.google.protobuf.ByteString
getResourceGroupNameBytes();
/**
*
* outbound access rg -> node num
*
*
* map<string, int32> num_outbound_node = 7;
*/
int getNumOutboundNodeCount();
/**
*
* outbound access rg -> node num
*
*
* map<string, int32> num_outbound_node = 7;
*/
boolean containsNumOutboundNode(
java.lang.String key);
/**
* Use {@link #getNumOutboundNodeMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNumOutboundNode();
/**
*
* outbound access rg -> node num
*
*
* map<string, int32> num_outbound_node = 7;
*/
java.util.Map
getNumOutboundNodeMap();
/**
*
* outbound access rg -> node num
*
*
* map<string, int32> num_outbound_node = 7;
*/
int getNumOutboundNodeOrDefault(
java.lang.String key,
int defaultValue);
/**
*
* outbound access rg -> node num
*
*
* map<string, int32> num_outbound_node = 7;
*/
int getNumOutboundNodeOrThrow(
java.lang.String key);
}