Package io.milvus.grpc
Class FunctionSchema
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.FunctionSchema
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FunctionSchemaOrBuilder,Serializable
public final class FunctionSchema extends com.google.protobuf.GeneratedMessageV3 implements FunctionSchemaOrBuilder
Protobuf typemilvus.proto.schema.FunctionSchema- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionSchema.BuilderProtobuf typemilvus.proto.schema.FunctionSchema-
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 intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINPUT_FIELD_IDS_FIELD_NUMBERstatic intINPUT_FIELD_NAMES_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOUTPUT_FIELD_IDS_FIELD_NUMBERstatic intOUTPUT_FIELD_NAMES_FIELD_NUMBERstatic intPARAMS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FunctionSchemagetDefaultInstance()FunctionSchemagetDefaultInstanceForType()StringgetDescription()string description = 3;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 3;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()int64 id = 2;longgetInputFieldIds(int index)repeated int64 input_field_ids = 6;intgetInputFieldIdsCount()repeated int64 input_field_ids = 6;List<Long>getInputFieldIdsList()repeated int64 input_field_ids = 6;StringgetInputFieldNames(int index)repeated string input_field_names = 5;com.google.protobuf.ByteStringgetInputFieldNamesBytes(int index)repeated string input_field_names = 5;intgetInputFieldNamesCount()repeated string input_field_names = 5;com.google.protobuf.ProtocolStringListgetInputFieldNamesList()repeated string input_field_names = 5;StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;longgetOutputFieldIds(int index)repeated int64 output_field_ids = 8;intgetOutputFieldIdsCount()repeated int64 output_field_ids = 8;List<Long>getOutputFieldIdsList()repeated int64 output_field_ids = 8;StringgetOutputFieldNames(int index)repeated string output_field_names = 7;com.google.protobuf.ByteStringgetOutputFieldNamesBytes(int index)repeated string output_field_names = 7;intgetOutputFieldNamesCount()repeated string output_field_names = 7;com.google.protobuf.ProtocolStringListgetOutputFieldNamesList()repeated string output_field_names = 7;KeyValuePairgetParams(int index)repeated .milvus.proto.common.KeyValuePair params = 9;intgetParamsCount()repeated .milvus.proto.common.KeyValuePair params = 9;List<KeyValuePair>getParamsList()repeated .milvus.proto.common.KeyValuePair params = 9;KeyValuePairOrBuildergetParamsOrBuilder(int index)repeated .milvus.proto.common.KeyValuePair params = 9;List<? extends KeyValuePairOrBuilder>getParamsOrBuilderList()repeated .milvus.proto.common.KeyValuePair params = 9;com.google.protobuf.Parser<FunctionSchema>getParserForType()intgetSerializedSize()FunctionTypegetType().milvus.proto.schema.FunctionType type = 4;intgetTypeValue().milvus.proto.schema.FunctionType type = 4;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static FunctionSchema.BuildernewBuilder()static FunctionSchema.BuildernewBuilder(FunctionSchema prototype)FunctionSchema.BuildernewBuilderForType()protected FunctionSchema.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FunctionSchemaparseDelimitedFrom(InputStream input)static FunctionSchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FunctionSchemaparseFrom(byte[] data)static FunctionSchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FunctionSchemaparseFrom(com.google.protobuf.ByteString data)static FunctionSchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FunctionSchemaparseFrom(com.google.protobuf.CodedInputStream input)static FunctionSchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FunctionSchemaparseFrom(InputStream input)static FunctionSchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FunctionSchemaparseFrom(ByteBuffer data)static FunctionSchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FunctionSchema>parser()FunctionSchema.BuildertoBuilder()voidwriteTo(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, internalGetMapFieldReflection, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FIELD_NAMES_FIELD_NUMBER
public static final int INPUT_FIELD_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FIELD_IDS_FIELD_NUMBER
public static final int INPUT_FIELD_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_FIELD_NAMES_FIELD_NUMBER
public static final int OUTPUT_FIELD_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_FIELD_IDS_FIELD_NUMBER
public static final int OUTPUT_FIELD_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
string name = 1;- Specified by:
getNamein interfaceFunctionSchemaOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;- Specified by:
getNameBytesin interfaceFunctionSchemaOrBuilder- Returns:
- The bytes for name.
-
getId
public long getId()
int64 id = 2;- Specified by:
getIdin interfaceFunctionSchemaOrBuilder- Returns:
- The id.
-
getDescription
public String getDescription()
string description = 3;- Specified by:
getDescriptionin interfaceFunctionSchemaOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 3;- Specified by:
getDescriptionBytesin interfaceFunctionSchemaOrBuilder- Returns:
- The bytes for description.
-
getTypeValue
public int getTypeValue()
.milvus.proto.schema.FunctionType type = 4;- Specified by:
getTypeValuein interfaceFunctionSchemaOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public FunctionType getType()
.milvus.proto.schema.FunctionType type = 4;- Specified by:
getTypein interfaceFunctionSchemaOrBuilder- Returns:
- The type.
-
getInputFieldNamesList
public com.google.protobuf.ProtocolStringList getInputFieldNamesList()
repeated string input_field_names = 5;- Specified by:
getInputFieldNamesListin interfaceFunctionSchemaOrBuilder- Returns:
- A list containing the inputFieldNames.
-
getInputFieldNamesCount
public int getInputFieldNamesCount()
repeated string input_field_names = 5;- Specified by:
getInputFieldNamesCountin interfaceFunctionSchemaOrBuilder- Returns:
- The count of inputFieldNames.
-
getInputFieldNames
public String getInputFieldNames(int index)
repeated string input_field_names = 5;- Specified by:
getInputFieldNamesin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputFieldNames at the given index.
-
getInputFieldNamesBytes
public com.google.protobuf.ByteString getInputFieldNamesBytes(int index)
repeated string input_field_names = 5;- Specified by:
getInputFieldNamesBytesin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputFieldNames at the given index.
-
getInputFieldIdsList
public List<Long> getInputFieldIdsList()
repeated int64 input_field_ids = 6;- Specified by:
getInputFieldIdsListin interfaceFunctionSchemaOrBuilder- Returns:
- A list containing the inputFieldIds.
-
getInputFieldIdsCount
public int getInputFieldIdsCount()
repeated int64 input_field_ids = 6;- Specified by:
getInputFieldIdsCountin interfaceFunctionSchemaOrBuilder- Returns:
- The count of inputFieldIds.
-
getInputFieldIds
public long getInputFieldIds(int index)
repeated int64 input_field_ids = 6;- Specified by:
getInputFieldIdsin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputFieldIds at the given index.
-
getOutputFieldNamesList
public com.google.protobuf.ProtocolStringList getOutputFieldNamesList()
repeated string output_field_names = 7;- Specified by:
getOutputFieldNamesListin interfaceFunctionSchemaOrBuilder- Returns:
- A list containing the outputFieldNames.
-
getOutputFieldNamesCount
public int getOutputFieldNamesCount()
repeated string output_field_names = 7;- Specified by:
getOutputFieldNamesCountin interfaceFunctionSchemaOrBuilder- Returns:
- The count of outputFieldNames.
-
getOutputFieldNames
public String getOutputFieldNames(int index)
repeated string output_field_names = 7;- Specified by:
getOutputFieldNamesin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFieldNames at the given index.
-
getOutputFieldNamesBytes
public com.google.protobuf.ByteString getOutputFieldNamesBytes(int index)
repeated string output_field_names = 7;- Specified by:
getOutputFieldNamesBytesin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFieldNames at the given index.
-
getOutputFieldIdsList
public List<Long> getOutputFieldIdsList()
repeated int64 output_field_ids = 8;- Specified by:
getOutputFieldIdsListin interfaceFunctionSchemaOrBuilder- Returns:
- A list containing the outputFieldIds.
-
getOutputFieldIdsCount
public int getOutputFieldIdsCount()
repeated int64 output_field_ids = 8;- Specified by:
getOutputFieldIdsCountin interfaceFunctionSchemaOrBuilder- Returns:
- The count of outputFieldIds.
-
getOutputFieldIds
public long getOutputFieldIds(int index)
repeated int64 output_field_ids = 8;- Specified by:
getOutputFieldIdsin interfaceFunctionSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFieldIds at the given index.
-
getParamsList
public List<KeyValuePair> getParamsList()
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsListin interfaceFunctionSchemaOrBuilder
-
getParamsOrBuilderList
public List<? extends KeyValuePairOrBuilder> getParamsOrBuilderList()
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsOrBuilderListin interfaceFunctionSchemaOrBuilder
-
getParamsCount
public int getParamsCount()
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsCountin interfaceFunctionSchemaOrBuilder
-
getParams
public KeyValuePair getParams(int index)
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsin interfaceFunctionSchemaOrBuilder
-
getParamsOrBuilder
public KeyValuePairOrBuilder getParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsOrBuilderin interfaceFunctionSchemaOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FunctionSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionSchema parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FunctionSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FunctionSchema parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FunctionSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FunctionSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FunctionSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FunctionSchema.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FunctionSchema.Builder newBuilder()
-
newBuilder
public static FunctionSchema.Builder newBuilder(FunctionSchema prototype)
-
toBuilder
public FunctionSchema.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FunctionSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FunctionSchema getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FunctionSchema> parser()
-
getParserForType
public com.google.protobuf.Parser<FunctionSchema> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FunctionSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-