org.apache.hadoop.hdfs.qjournal.protocol

## Class QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>
      - - org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder
  Enclosing class:
    QJournalProtocolProtos.FinalizeLogSegmentRequestProto

      public static final class QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>
      implements QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder

  Protobuf type `hadoop.hdfs.qjournal.FinalizeLogSegmentRequestProto`

       finalizeLogSegment()

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto` | `build()`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto` | `buildPartial()`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `clear()`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `clearEndTxId()` `required uint64 endTxId = 3;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `clearReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `clearStartTxId()` `required uint64 startTxId = 2;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `clone()`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `long` | `getEndTxId()` `required uint64 endTxId = 3;`
    `QJournalProtocolProtos.RequestInfoProto` | `getReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.RequestInfoProto.Builder` | `getReqInfoBuilder()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.RequestInfoProtoOrBuilder` | `getReqInfoOrBuilder()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `long` | `getStartTxId()` `required uint64 startTxId = 2;`
    `boolean` | `hasEndTxId()` `required uint64 endTxId = 3;`
    `boolean` | `hasReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `boolean` | `hasStartTxId()` `required uint64 startTxId = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `mergeFrom(QJournalProtocolProtos.FinalizeLogSegmentRequestProto other)`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `setEndTxId(long value)` `required uint64 endTxId = 3;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder` | `setStartTxId(long value)` `required uint64 startTxId = 2;`

    - ### Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

      `addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields`

    - ### Methods inherited from class com.google.protobuf.AbstractMessage.Builder

      `findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException`

    - ### Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

      `addAll, newUninitializedMessageException`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.google.protobuf.MessageOrBuilder

      `findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField`

- - ### 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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`

    - #### clear

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`

    - #### clone

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`

    - #### getDefaultInstanceForType

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto getDefaultInstanceForType()

      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

    - #### build

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto build()

      Specified by:
        `build` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `build` in interface `com.google.protobuf.MessageLite.Builder`

    - #### buildPartial

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto buildPartial()

      Specified by:
        `buildPartial` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `buildPartial` in interface `com.google.protobuf.MessageLite.Builder`

    - #### mergeFrom

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`

    - #### mergeFrom

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder mergeFrom(QJournalProtocolProtos.FinalizeLogSegmentRequestProto other)

    - #### isInitialized

          public final boolean isInitialized()

      Specified by:
        `isInitialized` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Overrides:
        `isInitialized` in class `com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`

    - #### mergeFrom

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.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<QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder>`
      Throws:
        `IOException`

    - #### hasReqInfo

          public boolean hasReqInfo()

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
      Specified by:
        `hasReqInfo` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### getReqInfo

          public QJournalProtocolProtos.RequestInfoProto getReqInfo()

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
      Specified by:
        `getReqInfo` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### setReqInfo

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto value)

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`

    - #### setReqInfo

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`

    - #### mergeReqInfo

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`

    - #### clearReqInfo

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder clearReqInfo()

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`

    - #### getReqInfoBuilder

          public QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder()

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`

    - #### getReqInfoOrBuilder

          public QJournalProtocolProtos.RequestInfoProtoOrBuilder getReqInfoOrBuilder()

      `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
      Specified by:
        `getReqInfoOrBuilder` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### hasStartTxId

          public boolean hasStartTxId()

      `required uint64 startTxId = 2;`
      Specified by:
        `hasStartTxId` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### getStartTxId

          public long getStartTxId()

      `required uint64 startTxId = 2;`
      Specified by:
        `getStartTxId` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### setStartTxId

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder setStartTxId(long value)

      `required uint64 startTxId = 2;`

    - #### clearStartTxId

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder clearStartTxId()

      `required uint64 startTxId = 2;`

    - #### hasEndTxId

          public boolean hasEndTxId()

      `required uint64 endTxId = 3;`
      Specified by:
        `hasEndTxId` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### getEndTxId

          public long getEndTxId()

      `required uint64 endTxId = 3;`
      Specified by:
        `getEndTxId` in interface `QJournalProtocolProtos.FinalizeLogSegmentRequestProtoOrBuilder`

    - #### setEndTxId

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder setEndTxId(long value)

      `required uint64 endTxId = 3;`

    - #### clearEndTxId

          public QJournalProtocolProtos.FinalizeLogSegmentRequestProto.Builder clearEndTxId()

      `required uint64 endTxId = 3;`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.