Class Persistent.CreateReq.Position.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Persistent.CreateReq.Position.Builder>
com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.CreateReq.Position.Builder
All Implemented Interfaces:
Persistent.CreateReq.PositionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Persistent.CreateReq.Position

public static final class Persistent.CreateReq.Position.Builder extends com.google.protobuf.GeneratedMessage.Builder<Persistent.CreateReq.Position.Builder> implements Persistent.CreateReq.PositionOrBuilder
Protobuf type event_store.client.persistent_subscriptions.CreateReq.Position
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Persistent.CreateReq.Position.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.GeneratedMessage.Builder<Persistent.CreateReq.Position.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<Persistent.CreateReq.Position.Builder>
    • getDefaultInstanceForType

      public Persistent.CreateReq.Position getDefaultInstanceForType()
      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 Persistent.CreateReq.Position buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Persistent.CreateReq.Position.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<Persistent.CreateReq.Position.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Persistent.CreateReq.Position.Builder>
    • mergeFrom

      public Persistent.CreateReq.Position.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<Persistent.CreateReq.Position.Builder>
      Throws:
      IOException
    • getCommitPosition

      public long getCommitPosition()
      uint64 commit_position = 1;
      Specified by:
      getCommitPosition in interface Persistent.CreateReq.PositionOrBuilder
      Returns:
      The commitPosition.
    • setCommitPosition

      public Persistent.CreateReq.Position.Builder setCommitPosition(long value)
      uint64 commit_position = 1;
      Parameters:
      value - The commitPosition to set.
      Returns:
      This builder for chaining.
    • clearCommitPosition

      public Persistent.CreateReq.Position.Builder clearCommitPosition()
      uint64 commit_position = 1;
      Returns:
      This builder for chaining.
    • getPreparePosition

      public long getPreparePosition()
      uint64 prepare_position = 2;
      Specified by:
      getPreparePosition in interface Persistent.CreateReq.PositionOrBuilder
      Returns:
      The preparePosition.
    • setPreparePosition

      public Persistent.CreateReq.Position.Builder setPreparePosition(long value)
      uint64 prepare_position = 2;
      Parameters:
      value - The preparePosition to set.
      Returns:
      This builder for chaining.
    • clearPreparePosition

      public Persistent.CreateReq.Position.Builder clearPreparePosition()
      uint64 prepare_position = 2;
      Returns:
      This builder for chaining.