public final class CreateCollectionRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateCollectionRequestOrBuilder
proxima.dashvector.proto.CreateCollectionRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateCollectionRequest.Builder
Protobuf type
proxima.dashvector.proto.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 |
DIMENSION_FIELD_NUMBER |
static int |
DTYPE_FIELD_NUMBER |
static int |
EXTRA_PARAMS_FIELD_NUMBER |
static int |
FIELDS_SCHEMA_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
VECTORS_SCHEMA_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsExtraParams(String key)
map<string, string> extra_params = 6; |
boolean |
containsFieldsSchema(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
boolean |
containsVectorsSchema(String key)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8; |
boolean |
equals(Object obj) |
static CreateCollectionRequest |
getDefaultInstance() |
CreateCollectionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDimension()
uint32 dimension = 2; |
CollectionInfo.DataType |
getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
int |
getDtypeValue()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
Map<String,String> |
getExtraParams()
已过时。
|
int |
getExtraParamsCount()
map<string, string> extra_params = 6; |
Map<String,String> |
getExtraParamsMap()
map<string, string> extra_params = 6; |
String |
getExtraParamsOrDefault(String key,
String defaultValue)
map<string, string> extra_params = 6; |
String |
getExtraParamsOrThrow(String key)
map<string, string> extra_params = 6; |
Map<String,FieldType> |
getFieldsSchema()
已过时。
|
int |
getFieldsSchemaCount()
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
Map<String,FieldType> |
getFieldsSchemaMap()
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
FieldType |
getFieldsSchemaOrDefault(String key,
FieldType defaultValue)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
FieldType |
getFieldsSchemaOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
Map<String,Integer> |
getFieldsSchemaValue()
已过时。
|
Map<String,Integer> |
getFieldsSchemaValueMap()
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
int |
getFieldsSchemaValueOrDefault(String key,
int defaultValue)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
int |
getFieldsSchemaValueOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5; |
CollectionInfo.Metric |
getMetric()
.proxima.dashvector.proto.CollectionInfo.Metric metric = 4; |
int |
getMetricValue()
.proxima.dashvector.proto.CollectionInfo.Metric metric = 4; |
String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
com.google.protobuf.Parser<CreateCollectionRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Map<String,CollectionInfo.VectorParam> |
getVectorsSchema()
已过时。
|
int |
getVectorsSchemaCount()
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8; |
Map<String,CollectionInfo.VectorParam> |
getVectorsSchemaMap()
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8; |
CollectionInfo.VectorParam |
getVectorsSchemaOrDefault(String key,
CollectionInfo.VectorParam defaultValue)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8; |
CollectionInfo.VectorParam |
getVectorsSchemaOrThrow(String key)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
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, 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 NAME_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
public static final int DTYPE_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int VECTORS_SCHEMA_FIELD_NUMBER
public static final int FIELDS_SCHEMA_FIELD_NUMBER
public static final int EXTRA_PARAMS_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 String getName()
string name = 1;getName 在接口中 CreateCollectionRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes 在接口中 CreateCollectionRequestOrBuilderpublic int getDimension()
uint32 dimension = 2;getDimension 在接口中 CreateCollectionRequestOrBuilderpublic int getDtypeValue()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3;getDtypeValue 在接口中 CreateCollectionRequestOrBuilderpublic CollectionInfo.DataType getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3;getDtype 在接口中 CreateCollectionRequestOrBuilderpublic int getMetricValue()
.proxima.dashvector.proto.CollectionInfo.Metric metric = 4;getMetricValue 在接口中 CreateCollectionRequestOrBuilderpublic CollectionInfo.Metric getMetric()
.proxima.dashvector.proto.CollectionInfo.Metric metric = 4;getMetric 在接口中 CreateCollectionRequestOrBuilderpublic int getVectorsSchemaCount()
CreateCollectionRequestOrBuilderdimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8;public boolean containsVectorsSchema(String key)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8;@Deprecated public Map<String,CollectionInfo.VectorParam> getVectorsSchema()
getVectorsSchemaMap() instead.public Map<String,CollectionInfo.VectorParam> getVectorsSchemaMap()
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8;public CollectionInfo.VectorParam getVectorsSchemaOrDefault(String key, CollectionInfo.VectorParam defaultValue)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8;public CollectionInfo.VectorParam getVectorsSchemaOrThrow(String key)
dimension, dtype and metric will be ignored if vectors are set
map<string, .proxima.dashvector.proto.CollectionInfo.VectorParam> vectors_schema = 8;public int getFieldsSchemaCount()
CreateCollectionRequestOrBuildermap<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public boolean containsFieldsSchema(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;@Deprecated public Map<String,FieldType> getFieldsSchema()
getFieldsSchemaMap() instead.public Map<String,FieldType> getFieldsSchemaMap()
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public FieldType getFieldsSchemaOrDefault(String key, FieldType defaultValue)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public FieldType getFieldsSchemaOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;@Deprecated public Map<String,Integer> getFieldsSchemaValue()
getFieldsSchemaValueMap() instead.public Map<String,Integer> getFieldsSchemaValueMap()
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public int getFieldsSchemaValueOrDefault(String key, int defaultValue)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public int getFieldsSchemaValueOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldType> fields_schema = 5;public int getExtraParamsCount()
CreateCollectionRequestOrBuildermap<string, string> extra_params = 6;public boolean containsExtraParams(String key)
map<string, string> extra_params = 6;@Deprecated public Map<String,String> getExtraParams()
getExtraParamsMap() instead.public Map<String,String> getExtraParamsMap()
map<string, string> extra_params = 6;public String getExtraParamsOrDefault(String key, String defaultValue)
map<string, string> extra_params = 6;public String getExtraParamsOrThrow(String key)
map<string, string> extra_params = 6;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 © 2024. All rights reserved.