Class WeaviateProtoSearchGet.SortBy.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.SortBy.Builder>
io.weaviate.client.grpc.protocol.v1.WeaviateProtoSearchGet.SortBy.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.SortByOrBuilder, Cloneable
Enclosing class:
WeaviateProtoSearchGet.SortBy

public static final class WeaviateProtoSearchGet.SortBy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeaviateProtoSearchGet.SortBy.Builder> implements WeaviateProtoSearchGet.SortByOrBuilder
Protobuf type weaviate.v1.SortBy
  • 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.SortBy.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.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.GeneratedMessage.Builder<WeaviateProtoSearchGet.SortBy.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public WeaviateProtoSearchGet.SortBy.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.SortBy.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.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
    • getAscending

      public boolean getAscending()
      bool ascending = 1;
      Specified by:
      getAscending in interface WeaviateProtoSearchGet.SortByOrBuilder
      Returns:
      The ascending.
    • setAscending

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

      public WeaviateProtoSearchGet.SortBy.Builder clearAscending()
      bool ascending = 1;
      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

       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

       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

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

      public final WeaviateProtoSearchGet.SortBy.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.SortBy.Builder>
    • mergeUnknownFields

      public final WeaviateProtoSearchGet.SortBy.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.SortBy.Builder>