Interface QJournalProtocolProtos.NewEpochRequestProtoOrBuilder

All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder, org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
All Known Implementing Classes:
QJournalProtocolProtos.NewEpochRequestProto, QJournalProtocolProtos.NewEpochRequestProto.Builder
Enclosing class:
QJournalProtocolProtos

public static interface QJournalProtocolProtos.NewEpochRequestProtoOrBuilder extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    required uint64 epoch = 3;
    required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
    required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
    optional string nameServiceId = 4;
    org.apache.hadoop.thirdparty.protobuf.ByteString
    optional string nameServiceId = 4;
    org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto
    required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;
    org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilder
    required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;
    boolean
    required uint64 epoch = 3;
    boolean
    required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
    boolean
    optional string nameServiceId = 4;
    boolean
    required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;

    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

    • hasJid

      boolean hasJid()
      required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
      Returns:
      Whether the jid field is set.
    • getJid

      required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
      Returns:
      The jid.
    • getJidOrBuilder

      required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;
    • hasNsInfo

      boolean hasNsInfo()
      required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;
      Returns:
      Whether the nsInfo field is set.
    • getNsInfo

      org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto getNsInfo()
      required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;
      Returns:
      The nsInfo.
    • getNsInfoOrBuilder

      org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilder getNsInfoOrBuilder()
      required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;
    • hasEpoch

      boolean hasEpoch()
      required uint64 epoch = 3;
      Returns:
      Whether the epoch field is set.
    • getEpoch

      long getEpoch()
      required uint64 epoch = 3;
      Returns:
      The epoch.
    • hasNameServiceId

      boolean hasNameServiceId()
      optional string nameServiceId = 4;
      Returns:
      Whether the nameServiceId field is set.
    • getNameServiceId

      String getNameServiceId()
      optional string nameServiceId = 4;
      Returns:
      The nameServiceId.
    • getNameServiceIdBytes

      org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()
      optional string nameServiceId = 4;
      Returns:
      The bytes for nameServiceId.