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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface FunctionSchemaOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface FunctionSchemaOrBuilder
      Returns:
      The bytes for name.
    • getId

      public long getId()
      int64 id = 2;
      Specified by:
      getId in interface FunctionSchemaOrBuilder
      Returns:
      The id.
    • getDescription

      public String getDescription()
      string description = 3;
      Specified by:
      getDescription in interface FunctionSchemaOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 3;
      Specified by:
      getDescriptionBytes in interface FunctionSchemaOrBuilder
      Returns:
      The bytes for description.
    • getTypeValue

      public int getTypeValue()
      .milvus.proto.schema.FunctionType type = 4;
      Specified by:
      getTypeValue in interface FunctionSchemaOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public FunctionType getType()
      .milvus.proto.schema.FunctionType type = 4;
      Specified by:
      getType in interface FunctionSchemaOrBuilder
      Returns:
      The type.
    • getInputFieldNamesList

      public com.google.protobuf.ProtocolStringList getInputFieldNamesList()
      repeated string input_field_names = 5;
      Specified by:
      getInputFieldNamesList in interface FunctionSchemaOrBuilder
      Returns:
      A list containing the inputFieldNames.
    • getInputFieldNamesCount

      public int getInputFieldNamesCount()
      repeated string input_field_names = 5;
      Specified by:
      getInputFieldNamesCount in interface FunctionSchemaOrBuilder
      Returns:
      The count of inputFieldNames.
    • getInputFieldNames

      public String getInputFieldNames(int index)
      repeated string input_field_names = 5;
      Specified by:
      getInputFieldNames in interface FunctionSchemaOrBuilder
      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:
      getInputFieldNamesBytes in interface FunctionSchemaOrBuilder
      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:
      getInputFieldIdsList in interface FunctionSchemaOrBuilder
      Returns:
      A list containing the inputFieldIds.
    • getInputFieldIdsCount

      public int getInputFieldIdsCount()
      repeated int64 input_field_ids = 6;
      Specified by:
      getInputFieldIdsCount in interface FunctionSchemaOrBuilder
      Returns:
      The count of inputFieldIds.
    • getInputFieldIds

      public long getInputFieldIds(int index)
      repeated int64 input_field_ids = 6;
      Specified by:
      getInputFieldIds in interface FunctionSchemaOrBuilder
      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:
      getOutputFieldNamesList in interface FunctionSchemaOrBuilder
      Returns:
      A list containing the outputFieldNames.
    • getOutputFieldNamesCount

      public int getOutputFieldNamesCount()
      repeated string output_field_names = 7;
      Specified by:
      getOutputFieldNamesCount in interface FunctionSchemaOrBuilder
      Returns:
      The count of outputFieldNames.
    • getOutputFieldNames

      public String getOutputFieldNames(int index)
      repeated string output_field_names = 7;
      Specified by:
      getOutputFieldNames in interface FunctionSchemaOrBuilder
      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:
      getOutputFieldNamesBytes in interface FunctionSchemaOrBuilder
      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:
      getOutputFieldIdsList in interface FunctionSchemaOrBuilder
      Returns:
      A list containing the outputFieldIds.
    • getOutputFieldIdsCount

      public int getOutputFieldIdsCount()
      repeated int64 output_field_ids = 8;
      Specified by:
      getOutputFieldIdsCount in interface FunctionSchemaOrBuilder
      Returns:
      The count of outputFieldIds.
    • getOutputFieldIds

      public long getOutputFieldIds(int index)
      repeated int64 output_field_ids = 8;
      Specified by:
      getOutputFieldIds in interface FunctionSchemaOrBuilder
      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:
      getParamsList in interface FunctionSchemaOrBuilder
    • getParamsOrBuilderList

      public List<? extends KeyValuePairOrBuilder> getParamsOrBuilderList()
      repeated .milvus.proto.common.KeyValuePair params = 9;
      Specified by:
      getParamsOrBuilderList in interface FunctionSchemaOrBuilder
    • getParamsCount

      public int getParamsCount()
      repeated .milvus.proto.common.KeyValuePair params = 9;
      Specified by:
      getParamsCount in interface FunctionSchemaOrBuilder
    • getParams

      public KeyValuePair getParams(int index)
      repeated .milvus.proto.common.KeyValuePair params = 9;
      Specified by:
      getParams in interface FunctionSchemaOrBuilder
    • getParamsOrBuilder

      public KeyValuePairOrBuilder getParamsOrBuilder(int index)
      repeated .milvus.proto.common.KeyValuePair params = 9;
      Specified by:
      getParamsOrBuilder in interface FunctionSchemaOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FunctionSchema.Builder newBuilder()
    • newBuilder

      public static FunctionSchema.Builder newBuilder(FunctionSchema prototype)
    • toBuilder

      public FunctionSchema.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FunctionSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public FunctionSchema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder