Class WeaviateProtoSearchGet.GroupBy.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
io.weaviate.client.grpc.protocol.v1.WeaviateProtoSearchGet.GroupBy.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WeaviateProtoSearchGet.GroupByOrBuilder, Cloneable
Enclosing class:
WeaviateProtoSearchGet.GroupBy

public static final class WeaviateProtoSearchGet.GroupBy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder> implements WeaviateProtoSearchGet.GroupByOrBuilder
Protobuf type weaviate.v1.GroupBy
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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.GeneratedMessage.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • getDefaultInstanceForType

      public WeaviateProtoSearchGet.GroupBy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • 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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • setField

      public WeaviateProtoSearchGet.GroupBy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • clearField

      public WeaviateProtoSearchGet.GroupBy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • clearOneof

      public WeaviateProtoSearchGet.GroupBy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • setRepeatedField

      public WeaviateProtoSearchGet.GroupBy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • addRepeatedField

      public WeaviateProtoSearchGet.GroupBy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • mergeFrom

      public WeaviateProtoSearchGet.GroupBy.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • mergeFrom

    • isInitialized

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

      public WeaviateProtoSearchGet.GroupBy.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.GroupBy.Builder>
      Throws:
      IOException
    • 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

       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

       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

       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.
    • getNumberOfGroups

      public int getNumberOfGroups()
      int32 number_of_groups = 2;
      Specified by:
      getNumberOfGroups in interface WeaviateProtoSearchGet.GroupByOrBuilder
      Returns:
      The numberOfGroups.
    • setNumberOfGroups

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

      public WeaviateProtoSearchGet.GroupBy.Builder clearNumberOfGroups()
      int32 number_of_groups = 2;
      Returns:
      This builder for chaining.
    • getObjectsPerGroup

      public int getObjectsPerGroup()
      int32 objects_per_group = 3;
      Specified by:
      getObjectsPerGroup in interface WeaviateProtoSearchGet.GroupByOrBuilder
      Returns:
      The objectsPerGroup.
    • setObjectsPerGroup

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

      public WeaviateProtoSearchGet.GroupBy.Builder clearObjectsPerGroup()
      int32 objects_per_group = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final WeaviateProtoSearchGet.GroupBy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>
    • mergeUnknownFields

      public final WeaviateProtoSearchGet.GroupBy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.GroupBy.Builder>