org.apache.hadoop.hdfs.qjournal.protocol

## Class QJournalProtocolProtos.JournalRequestProto.Builder

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

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

      public static final class QJournalProtocolProtos.JournalRequestProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.JournalRequestProto.Builder>
      implements QJournalProtocolProtos.JournalRequestProtoOrBuilder

  Protobuf type `hadoop.hdfs.qjournal.JournalRequestProto`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `QJournalProtocolProtos.JournalRequestProto` | `build()`
    `QJournalProtocolProtos.JournalRequestProto` | `buildPartial()`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clear()`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearFirstTxnId()` `required uint64 firstTxnId = 2;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearNameServiceId()` `optional string nameServiceId = 6;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearNumTxns()` `required uint32 numTxns = 3;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearRecords()` `required bytes records = 4;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clearSegmentTxnId()` `required uint64 segmentTxnId = 5;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `clone()`
    `QJournalProtocolProtos.JournalRequestProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `long` | `getFirstTxnId()` `required uint64 firstTxnId = 2;`
    `String` | `getNameServiceId()` `optional string nameServiceId = 6;`
    `com.google.protobuf.ByteString` | `getNameServiceIdBytes()` `optional string nameServiceId = 6;`
    `int` | `getNumTxns()` `required uint32 numTxns = 3;`
    `com.google.protobuf.ByteString` | `getRecords()` `required bytes records = 4;`
    `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` | `getSegmentTxnId()` `required uint64 segmentTxnId = 5;`
    `boolean` | `hasFirstTxnId()` `required uint64 firstTxnId = 2;`
    `boolean` | `hasNameServiceId()` `optional string nameServiceId = 6;`
    `boolean` | `hasNumTxns()` `required uint32 numTxns = 3;`
    `boolean` | `hasRecords()` `required bytes records = 4;`
    `boolean` | `hasReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `boolean` | `hasSegmentTxnId()` `required uint64 segmentTxnId = 5;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `mergeFrom(QJournalProtocolProtos.JournalRequestProto other)`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setFirstTxnId(long value)` `required uint64 firstTxnId = 2;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setNameServiceId(String value)` `optional string nameServiceId = 6;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setNameServiceIdBytes(com.google.protobuf.ByteString value)` `optional string nameServiceId = 6;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setNumTxns(int value)` `required uint32 numTxns = 3;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setRecords(com.google.protobuf.ByteString value)` `required bytes records = 4;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.JournalRequestProto.Builder` | `setSegmentTxnId(long value)` `required uint64 segmentTxnId = 5;`

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

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public QJournalProtocolProtos.JournalRequestProto getDefaultInstanceForType()

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

    - #### build

          public QJournalProtocolProtos.JournalRequestProto build()

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

    - #### buildPartial

          public QJournalProtocolProtos.JournalRequestProto buildPartial()

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

    - #### mergeFrom

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

    - #### mergeFrom

          public QJournalProtocolProtos.JournalRequestProto.Builder mergeFrom(QJournalProtocolProtos.JournalRequestProto 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.JournalRequestProto.Builder>`

    - #### mergeFrom

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

    - #### hasReqInfo

          public boolean hasReqInfo()

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

    - #### getReqInfo

          public QJournalProtocolProtos.RequestInfoProto getReqInfo()

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

    - #### setReqInfo

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

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

    - #### setReqInfo

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

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

    - #### mergeReqInfo

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

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

    - #### clearReqInfo

          public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProtoOrBuilder`

    - #### hasFirstTxnId

          public boolean hasFirstTxnId()

      `required uint64 firstTxnId = 2;`
      Specified by:
        `hasFirstTxnId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getFirstTxnId

          public long getFirstTxnId()

      `required uint64 firstTxnId = 2;`
      Specified by:
        `getFirstTxnId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### setFirstTxnId

          public QJournalProtocolProtos.JournalRequestProto.Builder setFirstTxnId(long value)

      `required uint64 firstTxnId = 2;`

    - #### clearFirstTxnId

          public QJournalProtocolProtos.JournalRequestProto.Builder clearFirstTxnId()

      `required uint64 firstTxnId = 2;`

    - #### hasNumTxns

          public boolean hasNumTxns()

      `required uint32 numTxns = 3;`
      Specified by:
        `hasNumTxns` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getNumTxns

          public int getNumTxns()

      `required uint32 numTxns = 3;`
      Specified by:
        `getNumTxns` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### setNumTxns

          public QJournalProtocolProtos.JournalRequestProto.Builder setNumTxns(int value)

      `required uint32 numTxns = 3;`

    - #### clearNumTxns

          public QJournalProtocolProtos.JournalRequestProto.Builder clearNumTxns()

      `required uint32 numTxns = 3;`

    - #### hasRecords

          public boolean hasRecords()

      `required bytes records = 4;`
      Specified by:
        `hasRecords` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getRecords

          public com.google.protobuf.ByteString getRecords()

      `required bytes records = 4;`
      Specified by:
        `getRecords` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### setRecords

          public QJournalProtocolProtos.JournalRequestProto.Builder setRecords(com.google.protobuf.ByteString value)

      `required bytes records = 4;`

    - #### clearRecords

          public QJournalProtocolProtos.JournalRequestProto.Builder clearRecords()

      `required bytes records = 4;`

    - #### hasSegmentTxnId

          public boolean hasSegmentTxnId()

      `required uint64 segmentTxnId = 5;`
      Specified by:
        `hasSegmentTxnId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getSegmentTxnId

          public long getSegmentTxnId()

      `required uint64 segmentTxnId = 5;`
      Specified by:
        `getSegmentTxnId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### setSegmentTxnId

          public QJournalProtocolProtos.JournalRequestProto.Builder setSegmentTxnId(long value)

      `required uint64 segmentTxnId = 5;`

    - #### clearSegmentTxnId

          public QJournalProtocolProtos.JournalRequestProto.Builder clearSegmentTxnId()

      `required uint64 segmentTxnId = 5;`

    - #### hasNameServiceId

          public boolean hasNameServiceId()

      `optional string nameServiceId = 6;`
      Specified by:
        `hasNameServiceId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getNameServiceId

          public String getNameServiceId()

      `optional string nameServiceId = 6;`
      Specified by:
        `getNameServiceId` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### getNameServiceIdBytes

          public com.google.protobuf.ByteString getNameServiceIdBytes()

      `optional string nameServiceId = 6;`
      Specified by:
        `getNameServiceIdBytes` in interface `QJournalProtocolProtos.JournalRequestProtoOrBuilder`

    - #### setNameServiceId

          public QJournalProtocolProtos.JournalRequestProto.Builder setNameServiceId(String value)

      `optional string nameServiceId = 6;`

    - #### clearNameServiceId

          public QJournalProtocolProtos.JournalRequestProto.Builder clearNameServiceId()

      `optional string nameServiceId = 6;`

    - #### setNameServiceIdBytes

          public QJournalProtocolProtos.JournalRequestProto.Builder setNameServiceIdBytes(com.google.protobuf.ByteString value)

      `optional string nameServiceId = 6;`

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