org.apache.hadoop.hdfs.qjournal.protocol
Class QJournalProtocolProtos.RequestInfoProto.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
              extended by org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, QJournalProtocolProtos.RequestInfoProtoOrBuilder
Enclosing class:
QJournalProtocolProtos.RequestInfoProto

public static final class QJournalProtocolProtos.RequestInfoProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
implements QJournalProtocolProtos.RequestInfoProtoOrBuilder

Protobuf type hadoop.hdfs.qjournal.RequestInfoProto


Method Summary
 QJournalProtocolProtos.RequestInfoProto build()
           
 QJournalProtocolProtos.RequestInfoProto buildPartial()
           
 QJournalProtocolProtos.RequestInfoProto.Builder clear()
           
 QJournalProtocolProtos.RequestInfoProto.Builder clearCommittedTxId()
          optional uint64 committedTxId = 4;
 QJournalProtocolProtos.RequestInfoProto.Builder clearEpoch()
          required uint64 epoch = 2;
 QJournalProtocolProtos.RequestInfoProto.Builder clearIpcSerialNumber()
          required uint64 ipcSerialNumber = 3;
 QJournalProtocolProtos.RequestInfoProto.Builder clearJournalId()
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 QJournalProtocolProtos.RequestInfoProto.Builder clone()
           
 long getCommittedTxId()
          optional uint64 committedTxId = 4;
 QJournalProtocolProtos.RequestInfoProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getEpoch()
          required uint64 epoch = 2;
 long getIpcSerialNumber()
          required uint64 ipcSerialNumber = 3;
 QJournalProtocolProtos.JournalIdProto getJournalId()
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 QJournalProtocolProtos.JournalIdProto.Builder getJournalIdBuilder()
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 boolean hasCommittedTxId()
          optional uint64 committedTxId = 4;
 boolean hasEpoch()
          required uint64 epoch = 2;
 boolean hasIpcSerialNumber()
          required uint64 ipcSerialNumber = 3;
 boolean hasJournalId()
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(QJournalProtocolProtos.RequestInfoProto other)
           
 QJournalProtocolProtos.RequestInfoProto.Builder mergeJournalId(QJournalProtocolProtos.JournalIdProto value)
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 QJournalProtocolProtos.RequestInfoProto.Builder setCommittedTxId(long value)
          optional uint64 committedTxId = 4;
 QJournalProtocolProtos.RequestInfoProto.Builder setEpoch(long value)
          required uint64 epoch = 2;
 QJournalProtocolProtos.RequestInfoProto.Builder setIpcSerialNumber(long value)
          required uint64 ipcSerialNumber = 3;
 QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto value)
          required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
 
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.RequestInfoProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

public QJournalProtocolProtos.RequestInfoProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public QJournalProtocolProtos.RequestInfoProto build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public QJournalProtocolProtos.RequestInfoProto buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasJournalId

public boolean hasJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;

Specified by:
hasJournalId in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

getJournalId

public QJournalProtocolProtos.JournalIdProto getJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;

Specified by:
getJournalId in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

setJournalId

public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;


setJournalId

public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;


mergeJournalId

public QJournalProtocolProtos.RequestInfoProto.Builder mergeJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;


clearJournalId

public QJournalProtocolProtos.RequestInfoProto.Builder clearJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;


getJournalIdBuilder

public QJournalProtocolProtos.JournalIdProto.Builder getJournalIdBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;


getJournalIdOrBuilder

public QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;

Specified by:
getJournalIdOrBuilder in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

hasEpoch

public boolean hasEpoch()
required uint64 epoch = 2;

Specified by:
hasEpoch in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

getEpoch

public long getEpoch()
required uint64 epoch = 2;

Specified by:
getEpoch in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

setEpoch

public QJournalProtocolProtos.RequestInfoProto.Builder setEpoch(long value)
required uint64 epoch = 2;


clearEpoch

public QJournalProtocolProtos.RequestInfoProto.Builder clearEpoch()
required uint64 epoch = 2;


hasIpcSerialNumber

public boolean hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3;

Specified by:
hasIpcSerialNumber in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

getIpcSerialNumber

public long getIpcSerialNumber()
required uint64 ipcSerialNumber = 3;

Specified by:
getIpcSerialNumber in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

setIpcSerialNumber

public QJournalProtocolProtos.RequestInfoProto.Builder setIpcSerialNumber(long value)
required uint64 ipcSerialNumber = 3;


clearIpcSerialNumber

public QJournalProtocolProtos.RequestInfoProto.Builder clearIpcSerialNumber()
required uint64 ipcSerialNumber = 3;


hasCommittedTxId

public boolean hasCommittedTxId()
optional uint64 committedTxId = 4;
 Whenever a writer makes a request, it informs
 the node of the latest committed txid. This may
 be higher than the transaction data included in the
 request itself, eg in the case that the node has
 fallen behind.
 

Specified by:
hasCommittedTxId in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

getCommittedTxId

public long getCommittedTxId()
optional uint64 committedTxId = 4;
 Whenever a writer makes a request, it informs
 the node of the latest committed txid. This may
 be higher than the transaction data included in the
 request itself, eg in the case that the node has
 fallen behind.
 

Specified by:
getCommittedTxId in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

setCommittedTxId

public QJournalProtocolProtos.RequestInfoProto.Builder setCommittedTxId(long value)
optional uint64 committedTxId = 4;
 Whenever a writer makes a request, it informs
 the node of the latest committed txid. This may
 be higher than the transaction data included in the
 request itself, eg in the case that the node has
 fallen behind.
 


clearCommittedTxId

public QJournalProtocolProtos.RequestInfoProto.Builder clearCommittedTxId()
optional uint64 committedTxId = 4;
 Whenever a writer makes a request, it informs
 the node of the latest committed txid. This may
 be higher than the transaction data included in the
 request itself, eg in the case that the node has
 fallen behind.
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.