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 type
milvus.proto.schema.FunctionSchema- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.schema.FunctionSchemaNested 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FunctionSchemastring description = 3;com.google.protobuf.ByteStringstring description = 3;static final com.google.protobuf.Descriptors.DescriptorlonggetId()int64 id = 2;longgetInputFieldIds(int index) repeated int64 input_field_ids = 6;intrepeated int64 input_field_ids = 6;repeated int64 input_field_ids = 6;getInputFieldNames(int index) repeated string input_field_names = 5;com.google.protobuf.ByteStringgetInputFieldNamesBytes(int index) repeated string input_field_names = 5;intrepeated string input_field_names = 5;com.google.protobuf.ProtocolStringListrepeated string input_field_names = 5;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;longgetOutputFieldIds(int index) repeated int64 output_field_ids = 8;intrepeated int64 output_field_ids = 8;repeated int64 output_field_ids = 8;getOutputFieldNames(int index) repeated string output_field_names = 7;com.google.protobuf.ByteStringgetOutputFieldNamesBytes(int index) repeated string output_field_names = 7;intrepeated string output_field_names = 7;com.google.protobuf.ProtocolStringListrepeated string output_field_names = 7;getParams(int index) repeated .milvus.proto.common.KeyValuePair params = 9;intrepeated .milvus.proto.common.KeyValuePair params = 9;repeated .milvus.proto.common.KeyValuePair params = 9;getParamsOrBuilder(int index) repeated .milvus.proto.common.KeyValuePair params = 9;List<? extends KeyValuePairOrBuilder> repeated .milvus.proto.common.KeyValuePair params = 9;com.google.protobuf.Parser<FunctionSchema> intgetType().milvus.proto.schema.FunctionType type = 4;int.milvus.proto.schema.FunctionType type = 4;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FunctionSchema.Builderstatic FunctionSchema.BuildernewBuilder(FunctionSchema prototype) 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()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, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NAMES_FIELD_NUMBER
public static final int INPUT_FIELD_NAMES_FIELD_NUMBER- See Also:
-
INPUT_FIELD_IDS_FIELD_NUMBER
public static final int INPUT_FIELD_IDS_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_NAMES_FIELD_NUMBER
public static final int OUTPUT_FIELD_NAMES_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_IDS_FIELD_NUMBER
public static final int OUTPUT_FIELD_IDS_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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
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
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
.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
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
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
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
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
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsListin interfaceFunctionSchemaOrBuilder
-
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
repeated .milvus.proto.common.KeyValuePair params = 9;- Specified by:
getParamsin interfaceFunctionSchemaOrBuilder
-
getParamsOrBuilder
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static FunctionSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-