Class WeaviateProtoSearchGet.GroupBy.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.GroupBy.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.GroupBy.Builder>
      • getDefaultInstanceForType

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

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

        public WeaviateProtoSearchGet.GroupBy 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.GroupBy.Builder>
      • getPathList

        public com.google.protobuf.ProtocolStringList getPathList()
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Specified by:
        getPathList in interface WeaviateProtoSearchGet.GroupByOrBuilder
        Returns:
        A list containing the path.
      • getPathCount

        public int getPathCount()
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Specified by:
        getPathCount in interface WeaviateProtoSearchGet.GroupByOrBuilder
        Returns:
        The count of path.
      • getPath

        public String getPath​(int index)
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Specified by:
        getPath in interface WeaviateProtoSearchGet.GroupByOrBuilder
        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 might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Specified by:
        getPathBytes in interface WeaviateProtoSearchGet.GroupByOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the path at the given index.
      • setPath

        public WeaviateProtoSearchGet.GroupBy.Builder setPath​(int index,
                                                              String value)
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Parameters:
        index - The index to set the value at.
        value - The path to set.
        Returns:
        This builder for chaining.
      • addPath

        public WeaviateProtoSearchGet.GroupBy.Builder addPath​(String value)
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Parameters:
        value - The path to add.
        Returns:
        This builder for chaining.
      • addAllPath

        public WeaviateProtoSearchGet.GroupBy.Builder addAllPath​(Iterable<String> values)
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Parameters:
        values - The path to add.
        Returns:
        This builder for chaining.
      • clearPath

        public WeaviateProtoSearchGet.GroupBy.Builder clearPath()
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Returns:
        This builder for chaining.
      • addPathBytes

        public WeaviateProtoSearchGet.GroupBy.Builder addPathBytes​(com.google.protobuf.ByteString value)
         currently only supports one entry (eg just properties, no refs). But might
         be extended in the future.
         protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
         
        repeated string path = 1;
        Parameters:
        value - The bytes of the path to add.
        Returns:
        This builder for chaining.
      • setNumberOfGroups

        public WeaviateProtoSearchGet.GroupBy.Builder setNumberOfGroups​(int value)
        int32 number_of_groups = 2;
        Parameters:
        value - The numberOfGroups to set.
        Returns:
        This builder for chaining.
      • setObjectsPerGroup

        public WeaviateProtoSearchGet.GroupBy.Builder setObjectsPerGroup​(int value)
        int32 objects_per_group = 3;
        Parameters:
        value - The objectsPerGroup to set.
        Returns:
        This builder for chaining.