Package io.milvus.grpc
Interface ResourceGroupOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceGroup,ResourceGroup.Builder
public interface ResourceGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancollection name -> be accessed node num by other rgbooleancollection name -> loaded replica numbooleancollection name -> accessed other rg's node numintint32 capacity = 2;resource group configuration.resource group configuration.getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;getNodes(int index) query node belong to this resource group now.intquery node belong to this resource group now.query node belong to this resource group now.getNodesOrBuilder(int index) query node belong to this resource group now.List<? extends NodeInfoOrBuilder> query node belong to this resource group now.intint32 num_available_node = 3;Deprecated.intcollection name -> be accessed node num by other rgcollection name -> be accessed node num by other rgintgetNumIncomingNodeOrDefault(String key, int defaultValue) collection name -> be accessed node num by other rgintcollection name -> be accessed node num by other rgDeprecated.intcollection name -> loaded replica numcollection name -> loaded replica numintgetNumLoadedReplicaOrDefault(String key, int defaultValue) collection name -> loaded replica numintcollection name -> loaded replica numDeprecated.intcollection name -> accessed other rg's node numcollection name -> accessed other rg's node numintgetNumOutgoingNodeOrDefault(String key, int defaultValue) collection name -> accessed other rg's node numintcollection name -> accessed other rg's node numbooleanresource group configuration.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1;- Returns:
- The bytes for name.
-
getCapacity
int getCapacity()int32 capacity = 2;- Returns:
- The capacity.
-
getNumAvailableNode
int getNumAvailableNode()int32 num_available_node = 3;- Returns:
- The numAvailableNode.
-
getNumLoadedReplicaCount
int getNumLoadedReplicaCount()collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4; -
containsNumLoadedReplica
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4; -
getNumLoadedReplica
Deprecated.UsegetNumLoadedReplicaMap()instead. -
getNumLoadedReplicaMap
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4; -
getNumLoadedReplicaOrDefault
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4; -
getNumLoadedReplicaOrThrow
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4; -
getNumOutgoingNodeCount
int getNumOutgoingNodeCount()collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5; -
containsNumOutgoingNode
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5; -
getNumOutgoingNode
Deprecated.UsegetNumOutgoingNodeMap()instead. -
getNumOutgoingNodeMap
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5; -
getNumOutgoingNodeOrDefault
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5; -
getNumOutgoingNodeOrThrow
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5; -
getNumIncomingNodeCount
int getNumIncomingNodeCount()collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6; -
containsNumIncomingNode
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6; -
getNumIncomingNode
Deprecated.UsegetNumIncomingNodeMap()instead. -
getNumIncomingNodeMap
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6; -
getNumIncomingNodeOrDefault
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6; -
getNumIncomingNodeOrThrow
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6; -
hasConfig
boolean hasConfig()resource group configuration.
.milvus.proto.rg.ResourceGroupConfig config = 7;- Returns:
- Whether the config field is set.
-
getConfig
ResourceGroupConfig getConfig()resource group configuration.
.milvus.proto.rg.ResourceGroupConfig config = 7;- Returns:
- The config.
-
getConfigOrBuilder
ResourceGroupConfigOrBuilder getConfigOrBuilder()resource group configuration.
.milvus.proto.rg.ResourceGroupConfig config = 7; -
getNodesList
query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8; -
getNodes
query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8; -
getNodesCount
int getNodesCount()query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8; -
getNodesOrBuilderList
List<? extends NodeInfoOrBuilder> getNodesOrBuilderList()query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8; -
getNodesOrBuilder
query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8;
-