public final class ReplicaInfo extends com.google.protobuf.GeneratedMessageV3 implements ReplicaInfoOrBuilder
ReplicaGroupProtobuf type
milvus.proto.milvus.ReplicaInfo| 限定符和类型 | 类和说明 |
|---|---|
static class |
ReplicaInfo.Builder
ReplicaGroup
Protobuf type
milvus.proto.milvus.ReplicaInfo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COLLECTIONID_FIELD_NUMBER |
static int |
NODE_IDS_FIELD_NUMBER |
static int |
NUM_OUTBOUND_NODE_FIELD_NUMBER |
static int |
PARTITION_IDS_FIELD_NUMBER |
static int |
REPLICAID_FIELD_NUMBER |
static int |
RESOURCE_GROUP_NAME_FIELD_NUMBER |
static int |
SHARD_REPLICAS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsNumOutboundNode(String key)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7; |
boolean |
equals(Object obj) |
long |
getCollectionID()
int64 collectionID = 2; |
static ReplicaInfo |
getDefaultInstance() |
ReplicaInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getNodeIds(int index)
include leaders
repeated int64 node_ids = 5; |
int |
getNodeIdsCount()
include leaders
repeated int64 node_ids = 5; |
List<Long> |
getNodeIdsList()
include leaders
repeated int64 node_ids = 5; |
Map<String,Integer> |
getNumOutboundNode()
已过时。
|
int |
getNumOutboundNodeCount()
outbound access rg -> node num
map<string, int32> num_outbound_node = 7; |
Map<String,Integer> |
getNumOutboundNodeMap()
outbound access rg -> node num
map<string, int32> num_outbound_node = 7; |
int |
getNumOutboundNodeOrDefault(String key,
int defaultValue)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7; |
int |
getNumOutboundNodeOrThrow(String key)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7; |
com.google.protobuf.Parser<ReplicaInfo> |
getParserForType() |
long |
getPartitionIds(int index)
empty indicates to load collection
repeated int64 partition_ids = 3; |
int |
getPartitionIdsCount()
empty indicates to load collection
repeated int64 partition_ids = 3; |
List<Long> |
getPartitionIdsList()
empty indicates to load collection
repeated int64 partition_ids = 3; |
long |
getReplicaID()
int64 replicaID = 1; |
String |
getResourceGroupName()
string resource_group_name = 6; |
com.google.protobuf.ByteString |
getResourceGroupNameBytes()
string resource_group_name = 6; |
int |
getSerializedSize() |
ShardReplica |
getShardReplicas(int index)
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4; |
int |
getShardReplicasCount()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4; |
List<ShardReplica> |
getShardReplicasList()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4; |
ShardReplicaOrBuilder |
getShardReplicasOrBuilder(int index)
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4; |
List<? extends ShardReplicaOrBuilder> |
getShardReplicasOrBuilderList()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ReplicaInfo.Builder |
newBuilder() |
static ReplicaInfo.Builder |
newBuilder(ReplicaInfo prototype) |
ReplicaInfo.Builder |
newBuilderForType() |
protected ReplicaInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReplicaInfo |
parseDelimitedFrom(InputStream input) |
static ReplicaInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicaInfo |
parseFrom(byte[] data) |
static ReplicaInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicaInfo |
parseFrom(ByteBuffer data) |
static ReplicaInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicaInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ReplicaInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicaInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReplicaInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicaInfo |
parseFrom(InputStream input) |
static ReplicaInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReplicaInfo> |
parser() |
ReplicaInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int REPLICAID_FIELD_NUMBER
public static final int COLLECTIONID_FIELD_NUMBER
public static final int PARTITION_IDS_FIELD_NUMBER
public static final int SHARD_REPLICAS_FIELD_NUMBER
public static final int NODE_IDS_FIELD_NUMBER
public static final int RESOURCE_GROUP_NAME_FIELD_NUMBER
public static final int NUM_OUTBOUND_NODE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public long getReplicaID()
int64 replicaID = 1;getReplicaID 在接口中 ReplicaInfoOrBuilderpublic long getCollectionID()
int64 collectionID = 2;getCollectionID 在接口中 ReplicaInfoOrBuilderpublic List<Long> getPartitionIdsList()
empty indicates to load collection
repeated int64 partition_ids = 3;getPartitionIdsList 在接口中 ReplicaInfoOrBuilderpublic int getPartitionIdsCount()
empty indicates to load collection
repeated int64 partition_ids = 3;getPartitionIdsCount 在接口中 ReplicaInfoOrBuilderpublic long getPartitionIds(int index)
empty indicates to load collection
repeated int64 partition_ids = 3;getPartitionIds 在接口中 ReplicaInfoOrBuilderindex - The index of the element to return.public List<ShardReplica> getShardReplicasList()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;getShardReplicasList 在接口中 ReplicaInfoOrBuilderpublic List<? extends ShardReplicaOrBuilder> getShardReplicasOrBuilderList()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;public int getShardReplicasCount()
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;getShardReplicasCount 在接口中 ReplicaInfoOrBuilderpublic ShardReplica getShardReplicas(int index)
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;getShardReplicas 在接口中 ReplicaInfoOrBuilderpublic ShardReplicaOrBuilder getShardReplicasOrBuilder(int index)
repeated .milvus.proto.milvus.ShardReplica shard_replicas = 4;public List<Long> getNodeIdsList()
include leaders
repeated int64 node_ids = 5;getNodeIdsList 在接口中 ReplicaInfoOrBuilderpublic int getNodeIdsCount()
include leaders
repeated int64 node_ids = 5;getNodeIdsCount 在接口中 ReplicaInfoOrBuilderpublic long getNodeIds(int index)
include leaders
repeated int64 node_ids = 5;getNodeIds 在接口中 ReplicaInfoOrBuilderindex - The index of the element to return.public String getResourceGroupName()
string resource_group_name = 6;getResourceGroupName 在接口中 ReplicaInfoOrBuilderpublic com.google.protobuf.ByteString getResourceGroupNameBytes()
string resource_group_name = 6;getResourceGroupNameBytes 在接口中 ReplicaInfoOrBuilderpublic int getNumOutboundNodeCount()
ReplicaInfoOrBuilderoutbound access rg -> node num
map<string, int32> num_outbound_node = 7;getNumOutboundNodeCount 在接口中 ReplicaInfoOrBuilderpublic boolean containsNumOutboundNode(String key)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7;containsNumOutboundNode 在接口中 ReplicaInfoOrBuilder@Deprecated public Map<String,Integer> getNumOutboundNode()
getNumOutboundNodeMap() instead.getNumOutboundNode 在接口中 ReplicaInfoOrBuilderpublic Map<String,Integer> getNumOutboundNodeMap()
outbound access rg -> node num
map<string, int32> num_outbound_node = 7;getNumOutboundNodeMap 在接口中 ReplicaInfoOrBuilderpublic int getNumOutboundNodeOrDefault(String key, int defaultValue)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7;public int getNumOutboundNodeOrThrow(String key)
outbound access rg -> node num
map<string, int32> num_outbound_node = 7;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ReplicaInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicaInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReplicaInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReplicaInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReplicaInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReplicaInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReplicaInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReplicaInfo.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ReplicaInfo.Builder newBuilder()
public static ReplicaInfo.Builder newBuilder(ReplicaInfo prototype)
public ReplicaInfo.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ReplicaInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ReplicaInfo getDefaultInstance()
public static com.google.protobuf.Parser<ReplicaInfo> parser()
public com.google.protobuf.Parser<ReplicaInfo> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ReplicaInfo getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.