io.milvus.grpc.ShardReplicaOrBuilder 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 ShardReplicaOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.milvus.ShardReplica)
com.google.protobuf.MessageOrBuilder {
/**
* int64 leaderID = 1;
* @return The leaderID.
*/
long getLeaderID();
/**
*
* IP:port
*
*
* string leader_addr = 2;
* @return The leaderAddr.
*/
java.lang.String getLeaderAddr();
/**
*
* IP:port
*
*
* string leader_addr = 2;
* @return The bytes for leaderAddr.
*/
com.google.protobuf.ByteString
getLeaderAddrBytes();
/**
* string dm_channel_name = 3;
* @return The dmChannelName.
*/
java.lang.String getDmChannelName();
/**
* string dm_channel_name = 3;
* @return The bytes for dmChannelName.
*/
com.google.protobuf.ByteString
getDmChannelNameBytes();
/**
*
* optional, DO NOT save it in meta, set it only for GetReplicas()
* if with_shard_nodes is true
*
*
* repeated int64 node_ids = 4;
* @return A list containing the nodeIds.
*/
java.util.List getNodeIdsList();
/**
*
* optional, DO NOT save it in meta, set it only for GetReplicas()
* if with_shard_nodes is true
*
*
* repeated int64 node_ids = 4;
* @return The count of nodeIds.
*/
int getNodeIdsCount();
/**
*
* optional, DO NOT save it in meta, set it only for GetReplicas()
* if with_shard_nodes is true
*
*
* repeated int64 node_ids = 4;
* @param index The index of the element to return.
* @return The nodeIds at the given index.
*/
long getNodeIds(int index);
}