org.apache.hadoop.hdfs.qjournal.protocol
Class QJournalProtocolProtos.StartLogSegmentRequestProto.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.StartLogSegmentRequestProto.Builder>
              extended by org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.StartLogSegmentRequestProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder
Enclosing class:
QJournalProtocolProtos.StartLogSegmentRequestProto

public static final class QJournalProtocolProtos.StartLogSegmentRequestProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.StartLogSegmentRequestProto.Builder>
implements QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

Protobuf type hadoop.hdfs.StartLogSegmentRequestProto


 startLogSegment()
 


Method Summary
 QJournalProtocolProtos.StartLogSegmentRequestProto build()
           
 QJournalProtocolProtos.StartLogSegmentRequestProto buildPartial()
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clear()
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearLayoutVersion()
          optional sint32 layoutVersion = 3;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearReqInfo()
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearTxid()
          required uint64 txid = 2;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clone()
           
 QJournalProtocolProtos.StartLogSegmentRequestProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getLayoutVersion()
          optional sint32 layoutVersion = 3;
 QJournalProtocolProtos.RequestInfoProto getReqInfo()
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder()
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.RequestInfoProtoOrBuilder getReqInfoOrBuilder()
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 long getTxid()
          required uint64 txid = 2;
 boolean hasLayoutVersion()
          optional sint32 layoutVersion = 3;
 boolean hasReqInfo()
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 boolean hasTxid()
          required uint64 txid = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder mergeFrom(QJournalProtocolProtos.StartLogSegmentRequestProto other)
           
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setLayoutVersion(int value)
          optional sint32 layoutVersion = 3;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto value)
          required .hadoop.hdfs.RequestInfoProto reqInfo = 1;
 QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setTxid(long value)
          required uint64 txid = 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.StartLogSegmentRequestProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasReqInfo

public boolean hasReqInfo()
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;

Specified by:
hasReqInfo in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

getReqInfo

public QJournalProtocolProtos.RequestInfoProto getReqInfo()
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;

Specified by:
getReqInfo in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

setReqInfo

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto value)
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;


setReqInfo

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue)
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;


mergeReqInfo

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value)
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;


clearReqInfo

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearReqInfo()
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;


getReqInfoBuilder

public QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder()
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;


getReqInfoOrBuilder

public QJournalProtocolProtos.RequestInfoProtoOrBuilder getReqInfoOrBuilder()
required .hadoop.hdfs.RequestInfoProto reqInfo = 1;

Specified by:
getReqInfoOrBuilder in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

hasTxid

public boolean hasTxid()
required uint64 txid = 2;
 Transaction ID
 

Specified by:
hasTxid in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

getTxid

public long getTxid()
required uint64 txid = 2;
 Transaction ID
 

Specified by:
getTxid in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

setTxid

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setTxid(long value)
required uint64 txid = 2;
 Transaction ID
 


clearTxid

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearTxid()
required uint64 txid = 2;
 Transaction ID
 


hasLayoutVersion

public boolean hasLayoutVersion()
optional sint32 layoutVersion = 3;
 the LayoutVersion in the client
 

Specified by:
hasLayoutVersion in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

getLayoutVersion

public int getLayoutVersion()
optional sint32 layoutVersion = 3;
 the LayoutVersion in the client
 

Specified by:
getLayoutVersion in interface QJournalProtocolProtos.StartLogSegmentRequestProtoOrBuilder

setLayoutVersion

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder setLayoutVersion(int value)
optional sint32 layoutVersion = 3;
 the LayoutVersion in the client
 


clearLayoutVersion

public QJournalProtocolProtos.StartLogSegmentRequestProto.Builder clearLayoutVersion()
optional sint32 layoutVersion = 3;
 the LayoutVersion in the client
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.