public final class FieldSchema extends com.google.protobuf.GeneratedMessageV3 implements FieldSchemaOrBuilder
@brief Field schemaProtobuf type
milvus.proto.schema.FieldSchema| 限定符和类型 | 类和说明 |
|---|---|
static class |
FieldSchema.Builder
@brief Field schema
Protobuf type
milvus.proto.schema.FieldSchema |
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 |
AUTOID_FIELD_NUMBER |
static int |
DATA_TYPE_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FIELDID_FIELD_NUMBER |
static int |
INDEX_PARAMS_FIELD_NUMBER |
static int |
IS_PRIMARY_KEY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_PARAMS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAutoID()
bool autoID = 8; |
DataType |
getDataType()
.milvus.proto.schema.DataType data_type = 5; |
int |
getDataTypeValue()
.milvus.proto.schema.DataType data_type = 5; |
static FieldSchema |
getDefaultInstance() |
FieldSchema |
getDefaultInstanceForType() |
String |
getDescription()
string description = 4; |
com.google.protobuf.ByteString |
getDescriptionBytes()
string description = 4; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFieldID()
int64 fieldID = 1; |
KeyValuePair |
getIndexParams(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
int |
getIndexParamsCount()
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
List<KeyValuePair> |
getIndexParamsList()
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
KeyValuePairOrBuilder |
getIndexParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
List<? extends KeyValuePairOrBuilder> |
getIndexParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
boolean |
getIsPrimaryKey()
bool is_primary_key = 3; |
String |
getName()
string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 2; |
com.google.protobuf.Parser<FieldSchema> |
getParserForType() |
int |
getSerializedSize() |
FieldState |
getState()
To keep compatible with older version, the default state is `Created`.
|
int |
getStateValue()
To keep compatible with older version, the default state is `Created`.
|
KeyValuePair |
getTypeParams(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
int |
getTypeParamsCount()
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
List<KeyValuePair> |
getTypeParamsList()
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
KeyValuePairOrBuilder |
getTypeParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
List<? extends KeyValuePairOrBuilder> |
getTypeParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FieldSchema.Builder |
newBuilder() |
static FieldSchema.Builder |
newBuilder(FieldSchema prototype) |
FieldSchema.Builder |
newBuilderForType() |
protected FieldSchema.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FieldSchema |
parseDelimitedFrom(InputStream input) |
static FieldSchema |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldSchema |
parseFrom(byte[] data) |
static FieldSchema |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldSchema |
parseFrom(ByteBuffer data) |
static FieldSchema |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldSchema |
parseFrom(com.google.protobuf.ByteString data) |
static FieldSchema |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldSchema |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FieldSchema |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldSchema |
parseFrom(InputStream input) |
static FieldSchema |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FieldSchema> |
parser() |
FieldSchema.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 FIELDID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int IS_PRIMARY_KEY_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
public static final int TYPE_PARAMS_FIELD_NUMBER
public static final int INDEX_PARAMS_FIELD_NUMBER
public static final int AUTOID_FIELD_NUMBER
public static final int STATE_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 long getFieldID()
int64 fieldID = 1;getFieldID 在接口中 FieldSchemaOrBuilderpublic String getName()
string name = 2;getName 在接口中 FieldSchemaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 2;getNameBytes 在接口中 FieldSchemaOrBuilderpublic boolean getIsPrimaryKey()
bool is_primary_key = 3;getIsPrimaryKey 在接口中 FieldSchemaOrBuilderpublic String getDescription()
string description = 4;getDescription 在接口中 FieldSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
string description = 4;getDescriptionBytes 在接口中 FieldSchemaOrBuilderpublic int getDataTypeValue()
.milvus.proto.schema.DataType data_type = 5;getDataTypeValue 在接口中 FieldSchemaOrBuilderpublic DataType getDataType()
.milvus.proto.schema.DataType data_type = 5;getDataType 在接口中 FieldSchemaOrBuilderpublic List<KeyValuePair> getTypeParamsList()
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsList 在接口中 FieldSchemaOrBuilderpublic List<? extends KeyValuePairOrBuilder> getTypeParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair type_params = 6;public int getTypeParamsCount()
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsCount 在接口中 FieldSchemaOrBuilderpublic KeyValuePair getTypeParams(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParams 在接口中 FieldSchemaOrBuilderpublic KeyValuePairOrBuilder getTypeParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsOrBuilder 在接口中 FieldSchemaOrBuilderpublic List<KeyValuePair> getIndexParamsList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsList 在接口中 FieldSchemaOrBuilderpublic List<? extends KeyValuePairOrBuilder> getIndexParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;public int getIndexParamsCount()
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsCount 在接口中 FieldSchemaOrBuilderpublic KeyValuePair getIndexParams(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParams 在接口中 FieldSchemaOrBuilderpublic KeyValuePairOrBuilder getIndexParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsOrBuilder 在接口中 FieldSchemaOrBuilderpublic boolean getAutoID()
bool autoID = 8;getAutoID 在接口中 FieldSchemaOrBuilderpublic int getStateValue()
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;getStateValue 在接口中 FieldSchemaOrBuilderpublic FieldState getState()
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;getState 在接口中 FieldSchemaOrBuilderpublic 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 FieldSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldSchema parseFrom(InputStream input) throws IOException
IOExceptionpublic static FieldSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FieldSchema parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FieldSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FieldSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FieldSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FieldSchema.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static FieldSchema.Builder newBuilder()
public static FieldSchema.Builder newBuilder(FieldSchema prototype)
public FieldSchema.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected FieldSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static FieldSchema getDefaultInstance()
public static com.google.protobuf.Parser<FieldSchema> parser()
public com.google.protobuf.Parser<FieldSchema> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public FieldSchema getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.