Class WeaviateProtoSearchGet.SortBy.Builder

    • Method Detail

      • 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.Builder<WeaviateProtoSearchGet.SortBy.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.SortBy.Builder>
      • getDefaultInstanceForType

        public WeaviateProtoSearchGet.SortBy getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WeaviateProtoSearchGet.SortBy build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WeaviateProtoSearchGet.SortBy buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.SortBy.Builder>
      • mergeFrom

        public WeaviateProtoSearchGet.SortBy.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WeaviateProtoSearchGet.SortBy.Builder>
        Throws:
        IOException
      • setAscending

        public WeaviateProtoSearchGet.SortBy.Builder setAscending​(boolean value)
        bool ascending = 1;
        Parameters:
        value - The ascending to set.
        Returns:
        This builder for chaining.
      • getPathList

        public com.google.protobuf.ProtocolStringList getPathList()
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Specified by:
        getPathList in interface WeaviateProtoSearchGet.SortByOrBuilder
        Returns:
        A list containing the path.
      • getPathCount

        public int getPathCount()
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Specified by:
        getPathCount in interface WeaviateProtoSearchGet.SortByOrBuilder
        Returns:
        The count of path.
      • getPath

        public String getPath​(int index)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Specified by:
        getPath in interface WeaviateProtoSearchGet.SortByOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The path at the given index.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes​(int index)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Specified by:
        getPathBytes in interface WeaviateProtoSearchGet.SortByOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the path at the given index.
      • setPath

        public WeaviateProtoSearchGet.SortBy.Builder setPath​(int index,
                                                             String value)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Parameters:
        index - The index to set the value at.
        value - The path to set.
        Returns:
        This builder for chaining.
      • addPath

        public WeaviateProtoSearchGet.SortBy.Builder addPath​(String value)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Parameters:
        value - The path to add.
        Returns:
        This builder for chaining.
      • addAllPath

        public WeaviateProtoSearchGet.SortBy.Builder addAllPath​(Iterable<String> values)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Parameters:
        values - The path to add.
        Returns:
        This builder for chaining.
      • clearPath

        public WeaviateProtoSearchGet.SortBy.Builder clearPath()
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Returns:
        This builder for chaining.
      • addPathBytes

        public WeaviateProtoSearchGet.SortBy.Builder addPathBytes​(com.google.protobuf.ByteString value)
         currently only supports one entry (eg just properties, no refs). But the
         weaviate datastructure already has paths in it and this makes it easily
         extendable in the future
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 2;
        Parameters:
        value - The bytes of the path to add.
        Returns:
        This builder for chaining.