Package io.milvus.grpc
Class ScalarField
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.ScalarField
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ScalarFieldOrBuilder
,Serializable
public final class ScalarField extends com.google.protobuf.GeneratedMessageV3 implements ScalarFieldOrBuilder
Protobuf typemilvus.proto.schema.ScalarField
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalarField.Builder
Protobuf typemilvus.proto.schema.ScalarField
static class
ScalarField.DataCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARRAY_DATA_FIELD_NUMBER
static int
BOOL_DATA_FIELD_NUMBER
static int
BYTES_DATA_FIELD_NUMBER
static int
DOUBLE_DATA_FIELD_NUMBER
static int
FLOAT_DATA_FIELD_NUMBER
static int
INT_DATA_FIELD_NUMBER
static int
JSON_DATA_FIELD_NUMBER
static int
LONG_DATA_FIELD_NUMBER
static int
STRING_DATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ArrayArray
getArrayData()
.milvus.proto.schema.ArrayArray array_data = 8;
ArrayArrayOrBuilder
getArrayDataOrBuilder()
.milvus.proto.schema.ArrayArray array_data = 8;
BoolArray
getBoolData()
.milvus.proto.schema.BoolArray bool_data = 1;
BoolArrayOrBuilder
getBoolDataOrBuilder()
.milvus.proto.schema.BoolArray bool_data = 1;
BytesArray
getBytesData()
.milvus.proto.schema.BytesArray bytes_data = 7;
BytesArrayOrBuilder
getBytesDataOrBuilder()
.milvus.proto.schema.BytesArray bytes_data = 7;
ScalarField.DataCase
getDataCase()
static ScalarField
getDefaultInstance()
ScalarField
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DoubleArray
getDoubleData()
.milvus.proto.schema.DoubleArray double_data = 5;
DoubleArrayOrBuilder
getDoubleDataOrBuilder()
.milvus.proto.schema.DoubleArray double_data = 5;
FloatArray
getFloatData()
.milvus.proto.schema.FloatArray float_data = 4;
FloatArrayOrBuilder
getFloatDataOrBuilder()
.milvus.proto.schema.FloatArray float_data = 4;
IntArray
getIntData()
.milvus.proto.schema.IntArray int_data = 2;
IntArrayOrBuilder
getIntDataOrBuilder()
.milvus.proto.schema.IntArray int_data = 2;
JSONArray
getJsonData()
.milvus.proto.schema.JSONArray json_data = 9;
JSONArrayOrBuilder
getJsonDataOrBuilder()
.milvus.proto.schema.JSONArray json_data = 9;
LongArray
getLongData()
.milvus.proto.schema.LongArray long_data = 3;
LongArrayOrBuilder
getLongDataOrBuilder()
.milvus.proto.schema.LongArray long_data = 3;
com.google.protobuf.Parser<ScalarField>
getParserForType()
int
getSerializedSize()
StringArray
getStringData()
.milvus.proto.schema.StringArray string_data = 6;
StringArrayOrBuilder
getStringDataOrBuilder()
.milvus.proto.schema.StringArray string_data = 6;
boolean
hasArrayData()
.milvus.proto.schema.ArrayArray array_data = 8;
boolean
hasBoolData()
.milvus.proto.schema.BoolArray bool_data = 1;
boolean
hasBytesData()
.milvus.proto.schema.BytesArray bytes_data = 7;
boolean
hasDoubleData()
.milvus.proto.schema.DoubleArray double_data = 5;
boolean
hasFloatData()
.milvus.proto.schema.FloatArray float_data = 4;
int
hashCode()
boolean
hasIntData()
.milvus.proto.schema.IntArray int_data = 2;
boolean
hasJsonData()
.milvus.proto.schema.JSONArray json_data = 9;
boolean
hasLongData()
.milvus.proto.schema.LongArray long_data = 3;
boolean
hasStringData()
.milvus.proto.schema.StringArray string_data = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ScalarField.Builder
newBuilder()
static ScalarField.Builder
newBuilder(ScalarField prototype)
ScalarField.Builder
newBuilderForType()
protected ScalarField.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ScalarField
parseDelimitedFrom(InputStream input)
static ScalarField
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ScalarField
parseFrom(byte[] data)
static ScalarField
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ScalarField
parseFrom(com.google.protobuf.ByteString data)
static ScalarField
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ScalarField
parseFrom(com.google.protobuf.CodedInputStream input)
static ScalarField
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ScalarField
parseFrom(InputStream input)
static ScalarField
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ScalarField
parseFrom(ByteBuffer data)
static ScalarField
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ScalarField>
parser()
ScalarField.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BOOL_DATA_FIELD_NUMBER
public static final int BOOL_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_DATA_FIELD_NUMBER
public static final int INT_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LONG_DATA_FIELD_NUMBER
public static final int LONG_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_DATA_FIELD_NUMBER
public static final int FLOAT_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOUBLE_DATA_FIELD_NUMBER
public static final int DOUBLE_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_DATA_FIELD_NUMBER
public static final int STRING_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_DATA_FIELD_NUMBER
public static final int BYTES_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_DATA_FIELD_NUMBER
public static final int ARRAY_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JSON_DATA_FIELD_NUMBER
public static final int JSON_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDataCase
public ScalarField.DataCase getDataCase()
- Specified by:
getDataCase
in interfaceScalarFieldOrBuilder
-
hasBoolData
public boolean hasBoolData()
.milvus.proto.schema.BoolArray bool_data = 1;
- Specified by:
hasBoolData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the boolData field is set.
-
getBoolData
public BoolArray getBoolData()
.milvus.proto.schema.BoolArray bool_data = 1;
- Specified by:
getBoolData
in interfaceScalarFieldOrBuilder
- Returns:
- The boolData.
-
getBoolDataOrBuilder
public BoolArrayOrBuilder getBoolDataOrBuilder()
.milvus.proto.schema.BoolArray bool_data = 1;
- Specified by:
getBoolDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasIntData
public boolean hasIntData()
.milvus.proto.schema.IntArray int_data = 2;
- Specified by:
hasIntData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the intData field is set.
-
getIntData
public IntArray getIntData()
.milvus.proto.schema.IntArray int_data = 2;
- Specified by:
getIntData
in interfaceScalarFieldOrBuilder
- Returns:
- The intData.
-
getIntDataOrBuilder
public IntArrayOrBuilder getIntDataOrBuilder()
.milvus.proto.schema.IntArray int_data = 2;
- Specified by:
getIntDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasLongData
public boolean hasLongData()
.milvus.proto.schema.LongArray long_data = 3;
- Specified by:
hasLongData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the longData field is set.
-
getLongData
public LongArray getLongData()
.milvus.proto.schema.LongArray long_data = 3;
- Specified by:
getLongData
in interfaceScalarFieldOrBuilder
- Returns:
- The longData.
-
getLongDataOrBuilder
public LongArrayOrBuilder getLongDataOrBuilder()
.milvus.proto.schema.LongArray long_data = 3;
- Specified by:
getLongDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasFloatData
public boolean hasFloatData()
.milvus.proto.schema.FloatArray float_data = 4;
- Specified by:
hasFloatData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the floatData field is set.
-
getFloatData
public FloatArray getFloatData()
.milvus.proto.schema.FloatArray float_data = 4;
- Specified by:
getFloatData
in interfaceScalarFieldOrBuilder
- Returns:
- The floatData.
-
getFloatDataOrBuilder
public FloatArrayOrBuilder getFloatDataOrBuilder()
.milvus.proto.schema.FloatArray float_data = 4;
- Specified by:
getFloatDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasDoubleData
public boolean hasDoubleData()
.milvus.proto.schema.DoubleArray double_data = 5;
- Specified by:
hasDoubleData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the doubleData field is set.
-
getDoubleData
public DoubleArray getDoubleData()
.milvus.proto.schema.DoubleArray double_data = 5;
- Specified by:
getDoubleData
in interfaceScalarFieldOrBuilder
- Returns:
- The doubleData.
-
getDoubleDataOrBuilder
public DoubleArrayOrBuilder getDoubleDataOrBuilder()
.milvus.proto.schema.DoubleArray double_data = 5;
- Specified by:
getDoubleDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasStringData
public boolean hasStringData()
.milvus.proto.schema.StringArray string_data = 6;
- Specified by:
hasStringData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the stringData field is set.
-
getStringData
public StringArray getStringData()
.milvus.proto.schema.StringArray string_data = 6;
- Specified by:
getStringData
in interfaceScalarFieldOrBuilder
- Returns:
- The stringData.
-
getStringDataOrBuilder
public StringArrayOrBuilder getStringDataOrBuilder()
.milvus.proto.schema.StringArray string_data = 6;
- Specified by:
getStringDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasBytesData
public boolean hasBytesData()
.milvus.proto.schema.BytesArray bytes_data = 7;
- Specified by:
hasBytesData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the bytesData field is set.
-
getBytesData
public BytesArray getBytesData()
.milvus.proto.schema.BytesArray bytes_data = 7;
- Specified by:
getBytesData
in interfaceScalarFieldOrBuilder
- Returns:
- The bytesData.
-
getBytesDataOrBuilder
public BytesArrayOrBuilder getBytesDataOrBuilder()
.milvus.proto.schema.BytesArray bytes_data = 7;
- Specified by:
getBytesDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasArrayData
public boolean hasArrayData()
.milvus.proto.schema.ArrayArray array_data = 8;
- Specified by:
hasArrayData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the arrayData field is set.
-
getArrayData
public ArrayArray getArrayData()
.milvus.proto.schema.ArrayArray array_data = 8;
- Specified by:
getArrayData
in interfaceScalarFieldOrBuilder
- Returns:
- The arrayData.
-
getArrayDataOrBuilder
public ArrayArrayOrBuilder getArrayDataOrBuilder()
.milvus.proto.schema.ArrayArray array_data = 8;
- Specified by:
getArrayDataOrBuilder
in interfaceScalarFieldOrBuilder
-
hasJsonData
public boolean hasJsonData()
.milvus.proto.schema.JSONArray json_data = 9;
- Specified by:
hasJsonData
in interfaceScalarFieldOrBuilder
- Returns:
- Whether the jsonData field is set.
-
getJsonData
public JSONArray getJsonData()
.milvus.proto.schema.JSONArray json_data = 9;
- Specified by:
getJsonData
in interfaceScalarFieldOrBuilder
- Returns:
- The jsonData.
-
getJsonDataOrBuilder
public JSONArrayOrBuilder getJsonDataOrBuilder()
.milvus.proto.schema.JSONArray json_data = 9;
- Specified by:
getJsonDataOrBuilder
in interfaceScalarFieldOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ScalarField parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScalarField parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ScalarField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ScalarField parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ScalarField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ScalarField parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ScalarField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ScalarField.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ScalarField.Builder newBuilder()
-
newBuilder
public static ScalarField.Builder newBuilder(ScalarField prototype)
-
toBuilder
public ScalarField.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ScalarField.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ScalarField getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ScalarField> parser()
-
getParserForType
public com.google.protobuf.Parser<ScalarField> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ScalarField getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-