org.apache.hadoop.hdfs.qjournal.protocol

## Class QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder

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

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

      public static final class QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder>
      implements QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder

  Protobuf type `hadoop.hdfs.qjournal.AcceptRecoveryRequestProto`

       acceptRecovery()

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `QJournalProtocolProtos.AcceptRecoveryRequestProto` | `build()`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto` | `buildPartial()`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `clear()`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `clearFromURL()` `required string fromURL = 3;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `clearReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `clearStateToAccept()` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `clone()`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `String` | `getFromURL()` `required string fromURL = 3;`
    `com.google.protobuf.ByteString` | `getFromURLBytes()` `required string fromURL = 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;`
    `QJournalProtocolProtos.SegmentStateProto` | `getStateToAccept()` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `QJournalProtocolProtos.SegmentStateProto.Builder` | `getStateToAcceptBuilder()` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `QJournalProtocolProtos.SegmentStateProtoOrBuilder` | `getStateToAcceptOrBuilder()` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `boolean` | `hasFromURL()` `required string fromURL = 3;`
    `boolean` | `hasReqInfo()` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `boolean` | `hasStateToAccept()` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `mergeFrom(QJournalProtocolProtos.AcceptRecoveryRequestProto other)`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `mergeStateToAccept(QJournalProtocolProtos.SegmentStateProto value)` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setFromURL(String value)` `required string fromURL = 3;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setFromURLBytes(com.google.protobuf.ByteString value)` `required string fromURL = 3;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setReqInfo(QJournalProtocolProtos.RequestInfoProto value)` `required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setStateToAccept(QJournalProtocolProtos.SegmentStateProto.Builder builderForValue)` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`
    `QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder` | `setStateToAccept(QJournalProtocolProtos.SegmentStateProto value)` `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 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.AcceptRecoveryRequestProto.Builder>`

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public QJournalProtocolProtos.AcceptRecoveryRequestProto getDefaultInstanceForType()

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

    - #### build

          public QJournalProtocolProtos.AcceptRecoveryRequestProto build()

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

    - #### buildPartial

          public QJournalProtocolProtos.AcceptRecoveryRequestProto buildPartial()

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

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### hasReqInfo

          public boolean hasReqInfo()

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

    - #### getReqInfo

          public QJournalProtocolProtos.RequestInfoProto getReqInfo()

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

    - #### setReqInfo

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

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

    - #### setReqInfo

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

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

    - #### mergeReqInfo

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

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

    - #### clearReqInfo

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.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.AcceptRecoveryRequestProtoOrBuilder`

    - #### hasStateToAccept

          public boolean hasStateToAccept()

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

      Specified by:
        `hasStateToAccept` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### getStateToAccept

          public QJournalProtocolProtos.SegmentStateProto getStateToAccept()

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

      Specified by:
        `getStateToAccept` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### setStateToAccept

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder setStateToAccept(QJournalProtocolProtos.SegmentStateProto value)

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

    - #### setStateToAccept

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder setStateToAccept(QJournalProtocolProtos.SegmentStateProto.Builder builderForValue)

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

    - #### mergeStateToAccept

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder mergeStateToAccept(QJournalProtocolProtos.SegmentStateProto value)

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

    - #### clearStateToAccept

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder clearStateToAccept()

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

    - #### getStateToAcceptBuilder

          public QJournalProtocolProtos.SegmentStateProto.Builder getStateToAcceptBuilder()

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

    - #### getStateToAcceptOrBuilder

          public QJournalProtocolProtos.SegmentStateProtoOrBuilder getStateToAcceptOrBuilder()

      `required .hadoop.hdfs.qjournal.SegmentStateProto stateToAccept = 2;`

           Details on the segment to recover

      Specified by:
        `getStateToAcceptOrBuilder` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### hasFromURL

          public boolean hasFromURL()

      `required string fromURL = 3;`

           The URL from which the log may be copied

      Specified by:
        `hasFromURL` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### getFromURL

          public String getFromURL()

      `required string fromURL = 3;`

           The URL from which the log may be copied

      Specified by:
        `getFromURL` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### getFromURLBytes

          public com.google.protobuf.ByteString getFromURLBytes()

      `required string fromURL = 3;`

           The URL from which the log may be copied

      Specified by:
        `getFromURLBytes` in interface `QJournalProtocolProtos.AcceptRecoveryRequestProtoOrBuilder`

    - #### setFromURL

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder setFromURL(String value)

      `required string fromURL = 3;`

           The URL from which the log may be copied

    - #### clearFromURL

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder clearFromURL()

      `required string fromURL = 3;`

           The URL from which the log may be copied

    - #### setFromURLBytes

          public QJournalProtocolProtos.AcceptRecoveryRequestProto.Builder setFromURLBytes(com.google.protobuf.ByteString value)

      `required string fromURL = 3;`

           The URL from which the log may be copied

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