Class Collections.MoveShard.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.MoveShard.Builder>
io.qdrant.client.grpc.Collections.MoveShard.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Collections.MoveShardOrBuilder, Cloneable
Enclosing class:
Collections.MoveShard

public static final class Collections.MoveShard.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.MoveShard.Builder> implements Collections.MoveShardOrBuilder
Protobuf type qdrant.MoveShard
  • Method Details

    • 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<Collections.MoveShard.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<Collections.MoveShard.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<Collections.MoveShard.Builder>
    • getDefaultInstanceForType

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

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

      public Collections.MoveShard 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<Collections.MoveShard.Builder>
    • setField

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • clearField

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • clearOneof

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • setRepeatedField

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • addRepeatedField

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • mergeFrom

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
    • mergeFrom

    • isInitialized

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

      public Collections.MoveShard.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<Collections.MoveShard.Builder>
      Throws:
      IOException
    • getShardId

      public int getShardId()
       Local shard id
       
      uint32 shard_id = 1;
      Specified by:
      getShardId in interface Collections.MoveShardOrBuilder
      Returns:
      The shardId.
    • setShardId

      public Collections.MoveShard.Builder setShardId(int value)
       Local shard id
       
      uint32 shard_id = 1;
      Parameters:
      value - The shardId to set.
      Returns:
      This builder for chaining.
    • clearShardId

      public Collections.MoveShard.Builder clearShardId()
       Local shard id
       
      uint32 shard_id = 1;
      Returns:
      This builder for chaining.
    • getFromPeerId

      public long getFromPeerId()
      uint64 from_peer_id = 2;
      Specified by:
      getFromPeerId in interface Collections.MoveShardOrBuilder
      Returns:
      The fromPeerId.
    • setFromPeerId

      public Collections.MoveShard.Builder setFromPeerId(long value)
      uint64 from_peer_id = 2;
      Parameters:
      value - The fromPeerId to set.
      Returns:
      This builder for chaining.
    • clearFromPeerId

      public Collections.MoveShard.Builder clearFromPeerId()
      uint64 from_peer_id = 2;
      Returns:
      This builder for chaining.
    • getToPeerId

      public long getToPeerId()
      uint64 to_peer_id = 3;
      Specified by:
      getToPeerId in interface Collections.MoveShardOrBuilder
      Returns:
      The toPeerId.
    • setToPeerId

      public Collections.MoveShard.Builder setToPeerId(long value)
      uint64 to_peer_id = 3;
      Parameters:
      value - The toPeerId to set.
      Returns:
      This builder for chaining.
    • clearToPeerId

      public Collections.MoveShard.Builder clearToPeerId()
      uint64 to_peer_id = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Collections.MoveShard.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<Collections.MoveShard.Builder>
    • mergeUnknownFields

      public final Collections.MoveShard.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<Collections.MoveShard.Builder>