Class Replication.Status.Builder

    • Method Detail

      • 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<Replication.Status.Builder>
      • clear

        public Replication.Status.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<Replication.Status.Builder>
      • clone

        public Replication.Status.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.GeneratedMessage.Builder<Replication.Status.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<Replication.Status.Builder>
      • getDefaultInstanceForType

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

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

        public Replication.Status buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public Replication.Status.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<Replication.Status.Builder>
      • isInitialized

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

        public Replication.Status.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<Replication.Status.Builder>
        Throws:
        IOException
      • hasBegin

        public boolean hasBegin()
        optional int64 begin = 1 [default = 0];
         offset where replication should start
         
        Specified by:
        hasBegin in interface Replication.StatusOrBuilder
      • getBegin

        public long getBegin()
        optional int64 begin = 1 [default = 0];
         offset where replication should start
         
        Specified by:
        getBegin in interface Replication.StatusOrBuilder
      • setBegin

        public Replication.Status.Builder setBegin​(long value)
        optional int64 begin = 1 [default = 0];
         offset where replication should start
         
      • clearBegin

        public Replication.Status.Builder clearBegin()
        optional int64 begin = 1 [default = 0];
         offset where replication should start
         
      • hasEnd

        public boolean hasEnd()
        optional int64 end = 2 [default = 0];
         offset where data is ready for replication
         
        Specified by:
        hasEnd in interface Replication.StatusOrBuilder
      • getEnd

        public long getEnd()
        optional int64 end = 2 [default = 0];
         offset where data is ready for replication
         
        Specified by:
        getEnd in interface Replication.StatusOrBuilder
      • setEnd

        public Replication.Status.Builder setEnd​(long value)
        optional int64 end = 2 [default = 0];
         offset where data is ready for replication
         
      • clearEnd

        public Replication.Status.Builder clearEnd()
        optional int64 end = 2 [default = 0];
         offset where data is ready for replication
         
      • setInfiniteEnd

        public Replication.Status.Builder setInfiniteEnd​(boolean value)
        optional bool infiniteEnd = 3 [default = false];
         do we have a discrete 'end'
         
      • clearInfiniteEnd

        public Replication.Status.Builder clearInfiniteEnd()
        optional bool infiniteEnd = 3 [default = false];
         do we have a discrete 'end'
         
      • hasClosed

        public boolean hasClosed()
        optional bool closed = 4 [default = false];
         will more data be appended to the file
         
        Specified by:
        hasClosed in interface Replication.StatusOrBuilder
      • getClosed

        public boolean getClosed()
        optional bool closed = 4 [default = false];
         will more data be appended to the file
         
        Specified by:
        getClosed in interface Replication.StatusOrBuilder
      • setClosed

        public Replication.Status.Builder setClosed​(boolean value)
        optional bool closed = 4 [default = false];
         will more data be appended to the file
         
      • clearClosed

        public Replication.Status.Builder clearClosed()
        optional bool closed = 4 [default = false];
         will more data be appended to the file
         
      • setCreatedTime

        public Replication.Status.Builder setCreatedTime​(long value)
        optional int64 createdTime = 5 [default = 0];
         when, in ms, was the file created?
         
      • clearCreatedTime

        public Replication.Status.Builder clearCreatedTime()
        optional int64 createdTime = 5 [default = 0];
         when, in ms, was the file created?