QJournalProtocolProtos.NewEpochResponseProtoOrBuilder (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.qjournal.protocol, class: QJournalProtocolProtos, interface: NewEpochResponseProtoOrBuilder

Package org.apache.hadoop.hdfs.qjournal.protocol

# Interface QJournalProtocolProtos.NewEpochResponseProtoOrBuilder

All Superinterfaces:
  `org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder`, `org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder`

All Known Implementing Classes:
  `QJournalProtocolProtos.NewEpochResponseProto`, `QJournalProtocolProtos.NewEpochResponseProto.Builder`

Enclosing class:
  QJournalProtocolProtos

public static interface QJournalProtocolProtos.NewEpochResponseProtoOrBuilder extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getLastSegmentTxId()`
  `optional uint64 lastSegmentTxId = 1;`
  `boolean`
  `hasLastSegmentTxId()`
  `optional uint64 lastSegmentTxId = 1;`

  ### Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder

  `isInitialized`

  ### Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder

  `findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

- ## Method Details

  - ### hasLastSegmentTxId

    boolean hasLastSegmentTxId()
    `optional uint64 lastSegmentTxId = 1;`
    Returns:
      Whether the lastSegmentTxId field is set.

  - ### getLastSegmentTxId

    long getLastSegmentTxId()
    `optional uint64 lastSegmentTxId = 1;`
    Returns:
      The lastSegmentTxId.