public final class CreateCollectionRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateCollectionRequestOrBuilder
Create collection in milvusProtobuf type
milvus.proto.milvus.CreateCollectionRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateCollectionRequest.Builder
Create collection in milvus
Protobuf type
milvus.proto.milvus.CreateCollectionRequest |
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 |
BASE_FIELD_NUMBER |
static int |
COLLECTION_NAME_FIELD_NUMBER |
static int |
CONSISTENCY_LEVEL_FIELD_NUMBER |
static int |
DB_NAME_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SHARDS_NUM_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
MsgBase |
getBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1; |
MsgBaseOrBuilder |
getBaseOrBuilder()
Not useful for now
.milvus.proto.common.MsgBase base = 1; |
String |
getCollectionName()
The unique collection name in milvus.
|
com.google.protobuf.ByteString |
getCollectionNameBytes()
The unique collection name in milvus.
|
ConsistencyLevel |
getConsistencyLevel()
The consistency level that the collection used, modification is not supported now.
|
int |
getConsistencyLevelValue()
The consistency level that the collection used, modification is not supported now.
|
String |
getDbName()
Not useful for now
string db_name = 2; |
com.google.protobuf.ByteString |
getDbNameBytes()
Not useful for now
string db_name = 2; |
static CreateCollectionRequest |
getDefaultInstance() |
CreateCollectionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CreateCollectionRequest> |
getParserForType() |
KeyValuePair |
getProperties(int index)
repeated .milvus.proto.common.KeyValuePair properties = 7; |
int |
getPropertiesCount()
repeated .milvus.proto.common.KeyValuePair properties = 7; |
List<KeyValuePair> |
getPropertiesList()
repeated .milvus.proto.common.KeyValuePair properties = 7; |
KeyValuePairOrBuilder |
getPropertiesOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair properties = 7; |
List<? extends KeyValuePairOrBuilder> |
getPropertiesOrBuilderList()
repeated .milvus.proto.common.KeyValuePair properties = 7; |
com.google.protobuf.ByteString |
getSchema()
The serialized `schema.CollectionSchema`(Required)
bytes schema = 4; |
int |
getSerializedSize() |
int |
getShardsNum()
Once set, no modification is allowed (Optional)
https://github.com/milvus-io/milvus/issues/6690
int32 shards_num = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateCollectionRequest.Builder |
newBuilder() |
static CreateCollectionRequest.Builder |
newBuilder(CreateCollectionRequest prototype) |
CreateCollectionRequest.Builder |
newBuilderForType() |
protected CreateCollectionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CreateCollectionRequest |
parseDelimitedFrom(InputStream input) |
static CreateCollectionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateCollectionRequest |
parseFrom(byte[] data) |
static CreateCollectionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateCollectionRequest |
parseFrom(ByteBuffer data) |
static CreateCollectionRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateCollectionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static CreateCollectionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateCollectionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CreateCollectionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateCollectionRequest |
parseFrom(InputStream input) |
static CreateCollectionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CreateCollectionRequest> |
parser() |
CreateCollectionRequest.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, internalGetMapField, 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 BASE_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
public static final int SHARDS_NUM_FIELD_NUMBER
public static final int CONSISTENCY_LEVEL_FIELD_NUMBER
public static final int PROPERTIES_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;hasBase 在接口中 CreateCollectionRequestOrBuilderpublic MsgBase getBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;getBase 在接口中 CreateCollectionRequestOrBuilderpublic MsgBaseOrBuilder getBaseOrBuilder()
Not useful for now
.milvus.proto.common.MsgBase base = 1;public String getDbName()
Not useful for now
string db_name = 2;getDbName 在接口中 CreateCollectionRequestOrBuilderpublic com.google.protobuf.ByteString getDbNameBytes()
Not useful for now
string db_name = 2;getDbNameBytes 在接口中 CreateCollectionRequestOrBuilderpublic String getCollectionName()
The unique collection name in milvus.(Required)
string collection_name = 3;getCollectionName 在接口中 CreateCollectionRequestOrBuilderpublic com.google.protobuf.ByteString getCollectionNameBytes()
The unique collection name in milvus.(Required)
string collection_name = 3;getCollectionNameBytes 在接口中 CreateCollectionRequestOrBuilderpublic com.google.protobuf.ByteString getSchema()
The serialized `schema.CollectionSchema`(Required)
bytes schema = 4;getSchema 在接口中 CreateCollectionRequestOrBuilderpublic int getShardsNum()
Once set, no modification is allowed (Optional) https://github.com/milvus-io/milvus/issues/6690
int32 shards_num = 5;getShardsNum 在接口中 CreateCollectionRequestOrBuilderpublic int getConsistencyLevelValue()
The consistency level that the collection used, modification is not supported now.
.milvus.proto.common.ConsistencyLevel consistency_level = 6;getConsistencyLevelValue 在接口中 CreateCollectionRequestOrBuilderpublic ConsistencyLevel getConsistencyLevel()
The consistency level that the collection used, modification is not supported now.
.milvus.proto.common.ConsistencyLevel consistency_level = 6;getConsistencyLevel 在接口中 CreateCollectionRequestOrBuilderpublic List<KeyValuePair> getPropertiesList()
repeated .milvus.proto.common.KeyValuePair properties = 7;public List<? extends KeyValuePairOrBuilder> getPropertiesOrBuilderList()
repeated .milvus.proto.common.KeyValuePair properties = 7;public int getPropertiesCount()
repeated .milvus.proto.common.KeyValuePair properties = 7;public KeyValuePair getProperties(int index)
repeated .milvus.proto.common.KeyValuePair properties = 7;public KeyValuePairOrBuilder getPropertiesOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair properties = 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 CreateCollectionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateCollectionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static CreateCollectionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateCollectionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CreateCollectionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateCollectionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CreateCollectionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CreateCollectionRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CreateCollectionRequest.Builder newBuilder()
public static CreateCollectionRequest.Builder newBuilder(CreateCollectionRequest prototype)
public CreateCollectionRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected CreateCollectionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static CreateCollectionRequest getDefaultInstance()
public static com.google.protobuf.Parser<CreateCollectionRequest> parser()
public com.google.protobuf.Parser<CreateCollectionRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public CreateCollectionRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.