io.milvus.grpc.ResourceGroupOrBuilder 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 ResourceGroupOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.milvus.ResourceGroup)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* int32 capacity = 2;
* @return The capacity.
*/
int getCapacity();
/**
* int32 num_available_node = 3;
* @return The numAvailableNode.
*/
int getNumAvailableNode();
/**
*
* collection name -> loaded replica num
*
*
* map<string, int32> num_loaded_replica = 4;
*/
int getNumLoadedReplicaCount();
/**
*
* collection name -> loaded replica num
*
*
* map<string, int32> num_loaded_replica = 4;
*/
boolean containsNumLoadedReplica(
java.lang.String key);
/**
* Use {@link #getNumLoadedReplicaMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNumLoadedReplica();
/**
*
* collection name -> loaded replica num
*
*
* map<string, int32> num_loaded_replica = 4;
*/
java.util.Map
getNumLoadedReplicaMap();
/**
*
* collection name -> loaded replica num
*
*
* map<string, int32> num_loaded_replica = 4;
*/
int getNumLoadedReplicaOrDefault(
java.lang.String key,
int defaultValue);
/**
*
* collection name -> loaded replica num
*
*
* map<string, int32> num_loaded_replica = 4;
*/
int getNumLoadedReplicaOrThrow(
java.lang.String key);
/**
*
* collection name -> accessed other rg's node num
*
*
* map<string, int32> num_outgoing_node = 5;
*/
int getNumOutgoingNodeCount();
/**
*
* collection name -> accessed other rg's node num
*
*
* map<string, int32> num_outgoing_node = 5;
*/
boolean containsNumOutgoingNode(
java.lang.String key);
/**
* Use {@link #getNumOutgoingNodeMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNumOutgoingNode();
/**
*
* collection name -> accessed other rg's node num
*
*
* map<string, int32> num_outgoing_node = 5;
*/
java.util.Map
getNumOutgoingNodeMap();
/**
*
* collection name -> accessed other rg's node num
*
*
* map<string, int32> num_outgoing_node = 5;
*/
int getNumOutgoingNodeOrDefault(
java.lang.String key,
int defaultValue);
/**
*
* collection name -> accessed other rg's node num
*
*
* map<string, int32> num_outgoing_node = 5;
*/
int getNumOutgoingNodeOrThrow(
java.lang.String key);
/**
*
* collection name -> be accessed node num by other rg
*
*
* map<string, int32> num_incoming_node = 6;
*/
int getNumIncomingNodeCount();
/**
*
* collection name -> be accessed node num by other rg
*
*
* map<string, int32> num_incoming_node = 6;
*/
boolean containsNumIncomingNode(
java.lang.String key);
/**
* Use {@link #getNumIncomingNodeMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNumIncomingNode();
/**
*
* collection name -> be accessed node num by other rg
*
*
* map<string, int32> num_incoming_node = 6;
*/
java.util.Map
getNumIncomingNodeMap();
/**
*
* collection name -> be accessed node num by other rg
*
*
* map<string, int32> num_incoming_node = 6;
*/
int getNumIncomingNodeOrDefault(
java.lang.String key,
int defaultValue);
/**
*
* collection name -> be accessed node num by other rg
*
*
* map<string, int32> num_incoming_node = 6;
*/
int getNumIncomingNodeOrThrow(
java.lang.String key);
/**
*
* resource group configuration.
*
*
* .milvus.proto.rg.ResourceGroupConfig config = 7;
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
*
* resource group configuration.
*
*
* .milvus.proto.rg.ResourceGroupConfig config = 7;
* @return The config.
*/
io.milvus.grpc.ResourceGroupConfig getConfig();
/**
*
* resource group configuration.
*
*
* .milvus.proto.rg.ResourceGroupConfig config = 7;
*/
io.milvus.grpc.ResourceGroupConfigOrBuilder getConfigOrBuilder();
/**
*
* query node belong to this resource group now.
*
*
* repeated .milvus.proto.common.NodeInfo nodes = 8;
*/
java.util.List
getNodesList();
/**
*
* query node belong to this resource group now.
*
*
* repeated .milvus.proto.common.NodeInfo nodes = 8;
*/
io.milvus.grpc.NodeInfo getNodes(int index);
/**
*
* query node belong to this resource group now.
*
*
* repeated .milvus.proto.common.NodeInfo nodes = 8;
*/
int getNodesCount();
/**
*
* query node belong to this resource group now.
*
*
* repeated .milvus.proto.common.NodeInfo nodes = 8;
*/
java.util.List extends io.milvus.grpc.NodeInfoOrBuilder>
getNodesOrBuilderList();
/**
*
* query node belong to this resource group now.
*
*
* repeated .milvus.proto.common.NodeInfo nodes = 8;
*/
io.milvus.grpc.NodeInfoOrBuilder getNodesOrBuilder(
int index);
}