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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsNumIncomingNode(String key)collection name -> be accessed node num by other rgbooleancontainsNumLoadedReplica(String key)collection name -> loaded replica numbooleancontainsNumOutgoingNode(String key)collection name -> accessed other rg's node numintgetCapacity()int32 capacity = 2;ResourceGroupConfiggetConfig()resource group configuration.ResourceGroupConfigOrBuildergetConfigOrBuilder()resource group configuration.StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;NodeInfogetNodes(int index)query node belong to this resource group now.intgetNodesCount()query node belong to this resource group now.List<NodeInfo>getNodesList()query node belong to this resource group now.NodeInfoOrBuildergetNodesOrBuilder(int index)query node belong to this resource group now.List<? extends NodeInfoOrBuilder>getNodesOrBuilderList()query node belong to this resource group now.intgetNumAvailableNode()int32 num_available_node = 3;Map<String,Integer>getNumIncomingNode()Deprecated.intgetNumIncomingNodeCount()collection name -> be accessed node num by other rgMap<String,Integer>getNumIncomingNodeMap()collection name -> be accessed node num by other rgintgetNumIncomingNodeOrDefault(String key, int defaultValue)collection name -> be accessed node num by other rgintgetNumIncomingNodeOrThrow(String key)collection name -> be accessed node num by other rgMap<String,Integer>getNumLoadedReplica()Deprecated.intgetNumLoadedReplicaCount()collection name -> loaded replica numMap<String,Integer>getNumLoadedReplicaMap()collection name -> loaded replica numintgetNumLoadedReplicaOrDefault(String key, int defaultValue)collection name -> loaded replica numintgetNumLoadedReplicaOrThrow(String key)collection name -> loaded replica numMap<String,Integer>getNumOutgoingNode()Deprecated.intgetNumOutgoingNodeCount()collection name -> accessed other rg's node numMap<String,Integer>getNumOutgoingNodeMap()collection name -> accessed other rg's node numintgetNumOutgoingNodeOrDefault(String key, int defaultValue)collection name -> accessed other rg's node numintgetNumOutgoingNodeOrThrow(String key)collection name -> accessed other rg's node numbooleanhasConfig()resource group configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsNumLoadedReplica(String key)
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4;
-
getNumLoadedReplica
@Deprecated Map<String,Integer> getNumLoadedReplica()
Deprecated.UsegetNumLoadedReplicaMap()instead.
-
getNumLoadedReplicaMap
Map<String,Integer> getNumLoadedReplicaMap()
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4;
-
getNumLoadedReplicaOrDefault
int getNumLoadedReplicaOrDefault(String key, int defaultValue)
collection name -> loaded replica num
map<string, int32> num_loaded_replica = 4;
-
getNumLoadedReplicaOrThrow
int getNumLoadedReplicaOrThrow(String key)
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
boolean containsNumOutgoingNode(String key)
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5;
-
getNumOutgoingNode
@Deprecated Map<String,Integer> getNumOutgoingNode()
Deprecated.UsegetNumOutgoingNodeMap()instead.
-
getNumOutgoingNodeMap
Map<String,Integer> getNumOutgoingNodeMap()
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5;
-
getNumOutgoingNodeOrDefault
int getNumOutgoingNodeOrDefault(String key, int defaultValue)
collection name -> accessed other rg's node num
map<string, int32> num_outgoing_node = 5;
-
getNumOutgoingNodeOrThrow
int getNumOutgoingNodeOrThrow(String key)
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
boolean containsNumIncomingNode(String key)
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6;
-
getNumIncomingNode
@Deprecated Map<String,Integer> getNumIncomingNode()
Deprecated.UsegetNumIncomingNodeMap()instead.
-
getNumIncomingNodeMap
Map<String,Integer> getNumIncomingNodeMap()
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6;
-
getNumIncomingNodeOrDefault
int getNumIncomingNodeOrDefault(String key, int defaultValue)
collection name -> be accessed node num by other rg
map<string, int32> num_incoming_node = 6;
-
getNumIncomingNodeOrThrow
int getNumIncomingNodeOrThrow(String key)
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
List<NodeInfo> getNodesList()
query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8;
-
getNodes
NodeInfo getNodes(int index)
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
NodeInfoOrBuilder getNodesOrBuilder(int index)
query node belong to this resource group now.
repeated .milvus.proto.common.NodeInfo nodes = 8;
-
-