public static final class FieldSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder> implements FieldSchemaOrBuilder
@brief Field schemaProtobuf type
milvus.proto.schema.FieldSchema| 限定符和类型 | 方法和说明 |
|---|---|
FieldSchema.Builder |
addAllIndexParams(Iterable<? extends KeyValuePair> values)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
addAllTypeParams(Iterable<? extends KeyValuePair> values)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
addIndexParams(int index,
KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
addIndexParams(int index,
KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
addIndexParams(KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
addIndexParams(KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
KeyValuePair.Builder |
addIndexParamsBuilder()
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
KeyValuePair.Builder |
addIndexParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldSchema.Builder |
addTypeParams(int index,
KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
addTypeParams(int index,
KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
addTypeParams(KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
addTypeParams(KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
KeyValuePair.Builder |
addTypeParamsBuilder()
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
KeyValuePair.Builder |
addTypeParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema |
build() |
FieldSchema |
buildPartial() |
FieldSchema.Builder |
clear() |
FieldSchema.Builder |
clearAutoID()
bool autoID = 8; |
FieldSchema.Builder |
clearDataType()
.milvus.proto.schema.DataType data_type = 5; |
FieldSchema.Builder |
clearDescription()
string description = 4; |
FieldSchema.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FieldSchema.Builder |
clearFieldID()
int64 fieldID = 1; |
FieldSchema.Builder |
clearIndexParams()
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
clearIsPrimaryKey()
bool is_primary_key = 3; |
FieldSchema.Builder |
clearName()
string name = 2; |
FieldSchema.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FieldSchema.Builder |
clearState()
To keep compatible with older version, the default state is `Created`.
|
FieldSchema.Builder |
clearTypeParams()
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
clone() |
boolean |
getAutoID()
bool autoID = 8; |
DataType |
getDataType()
.milvus.proto.schema.DataType data_type = 5; |
int |
getDataTypeValue()
.milvus.proto.schema.DataType data_type = 5; |
FieldSchema |
getDefaultInstanceForType() |
String |
getDescription()
string description = 4; |
com.google.protobuf.ByteString |
getDescriptionBytes()
string description = 4; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFieldID()
int64 fieldID = 1; |
KeyValuePair |
getIndexParams(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
KeyValuePair.Builder |
getIndexParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
List<KeyValuePair.Builder> |
getIndexParamsBuilderList()
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; |
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; |
KeyValuePair.Builder |
getTypeParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
List<KeyValuePair.Builder> |
getTypeParamsBuilderList()
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FieldSchema.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FieldSchema.Builder |
mergeFrom(FieldSchema other) |
FieldSchema.Builder |
mergeFrom(com.google.protobuf.Message other) |
FieldSchema.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FieldSchema.Builder |
removeIndexParams(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
removeTypeParams(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
setAutoID(boolean value)
bool autoID = 8; |
FieldSchema.Builder |
setDataType(DataType value)
.milvus.proto.schema.DataType data_type = 5; |
FieldSchema.Builder |
setDataTypeValue(int value)
.milvus.proto.schema.DataType data_type = 5; |
FieldSchema.Builder |
setDescription(String value)
string description = 4; |
FieldSchema.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 4; |
FieldSchema.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldSchema.Builder |
setFieldID(long value)
int64 fieldID = 1; |
FieldSchema.Builder |
setIndexParams(int index,
KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
setIndexParams(int index,
KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7; |
FieldSchema.Builder |
setIsPrimaryKey(boolean value)
bool is_primary_key = 3; |
FieldSchema.Builder |
setName(String value)
string name = 2; |
FieldSchema.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 2; |
FieldSchema.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FieldSchema.Builder |
setState(FieldState value)
To keep compatible with older version, the default state is `Created`.
|
FieldSchema.Builder |
setStateValue(int value)
To keep compatible with older version, the default state is `Created`.
|
FieldSchema.Builder |
setTypeParams(int index,
KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
setTypeParams(int index,
KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6; |
FieldSchema.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic FieldSchema build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic FieldSchema buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic FieldSchema.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<FieldSchema.Builder>public FieldSchema.Builder mergeFrom(FieldSchema other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public FieldSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<FieldSchema.Builder>IOExceptionpublic long getFieldID()
int64 fieldID = 1;getFieldID 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setFieldID(long value)
int64 fieldID = 1;value - The fieldID to set.public FieldSchema.Builder clearFieldID()
int64 fieldID = 1;public String getName()
string name = 2;getName 在接口中 FieldSchemaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 2;getNameBytes 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setName(String value)
string name = 2;value - The name to set.public FieldSchema.Builder clearName()
string name = 2;public FieldSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2;value - The bytes for name to set.public boolean getIsPrimaryKey()
bool is_primary_key = 3;getIsPrimaryKey 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setIsPrimaryKey(boolean value)
bool is_primary_key = 3;value - The isPrimaryKey to set.public FieldSchema.Builder clearIsPrimaryKey()
bool is_primary_key = 3;public String getDescription()
string description = 4;getDescription 在接口中 FieldSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
string description = 4;getDescriptionBytes 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setDescription(String value)
string description = 4;value - The description to set.public FieldSchema.Builder clearDescription()
string description = 4;public FieldSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 4;value - The bytes for description to set.public int getDataTypeValue()
.milvus.proto.schema.DataType data_type = 5;getDataTypeValue 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setDataTypeValue(int value)
.milvus.proto.schema.DataType data_type = 5;value - The enum numeric value on the wire for dataType to set.public DataType getDataType()
.milvus.proto.schema.DataType data_type = 5;getDataType 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setDataType(DataType value)
.milvus.proto.schema.DataType data_type = 5;value - The dataType to set.public FieldSchema.Builder clearDataType()
.milvus.proto.schema.DataType data_type = 5;public List<KeyValuePair> getTypeParamsList()
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsList 在接口中 FieldSchemaOrBuilderpublic 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 FieldSchema.Builder setTypeParams(int index, KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder setTypeParams(int index, KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder addTypeParams(KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder addTypeParams(int index, KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder addTypeParams(KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder addTypeParams(int index, KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder addAllTypeParams(Iterable<? extends KeyValuePair> values)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder clearTypeParams()
repeated .milvus.proto.common.KeyValuePair type_params = 6;public FieldSchema.Builder removeTypeParams(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public KeyValuePair.Builder getTypeParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public KeyValuePairOrBuilder getTypeParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsOrBuilder 在接口中 FieldSchemaOrBuilderpublic List<? extends KeyValuePairOrBuilder> getTypeParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair type_params = 6;public KeyValuePair.Builder addTypeParamsBuilder()
repeated .milvus.proto.common.KeyValuePair type_params = 6;public KeyValuePair.Builder addTypeParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;public List<KeyValuePair.Builder> getTypeParamsBuilderList()
repeated .milvus.proto.common.KeyValuePair type_params = 6;public List<KeyValuePair> getIndexParamsList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsList 在接口中 FieldSchemaOrBuilderpublic 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 FieldSchema.Builder setIndexParams(int index, KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder setIndexParams(int index, KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder addIndexParams(KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder addIndexParams(int index, KeyValuePair value)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder addIndexParams(KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder addIndexParams(int index, KeyValuePair.Builder builderForValue)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder addAllIndexParams(Iterable<? extends KeyValuePair> values)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder clearIndexParams()
repeated .milvus.proto.common.KeyValuePair index_params = 7;public FieldSchema.Builder removeIndexParams(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public KeyValuePair.Builder getIndexParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public KeyValuePairOrBuilder getIndexParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsOrBuilder 在接口中 FieldSchemaOrBuilderpublic List<? extends KeyValuePairOrBuilder> getIndexParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;public KeyValuePair.Builder addIndexParamsBuilder()
repeated .milvus.proto.common.KeyValuePair index_params = 7;public KeyValuePair.Builder addIndexParamsBuilder(int index)
repeated .milvus.proto.common.KeyValuePair index_params = 7;public List<KeyValuePair.Builder> getIndexParamsBuilderList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;public boolean getAutoID()
bool autoID = 8;getAutoID 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setAutoID(boolean value)
bool autoID = 8;value - The autoID to set.public FieldSchema.Builder clearAutoID()
bool autoID = 8;public int getStateValue()
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;getStateValue 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setStateValue(int value)
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;value - The enum numeric value on the wire for state to set.public FieldState getState()
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;getState 在接口中 FieldSchemaOrBuilderpublic FieldSchema.Builder setState(FieldState value)
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;value - The state to set.public FieldSchema.Builder clearState()
To keep compatible with older version, the default state is `Created`.
.milvus.proto.schema.FieldState state = 9;public final FieldSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>public final FieldSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>Copyright © 2023. All rights reserved.