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

public static final class QJournalProtocolProtos.NewEpochResponseProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.NewEpochResponseProto.Builder>
implements QJournalProtocolProtos.NewEpochResponseProtoOrBuilder

Protobuf type hadoop.hdfs.NewEpochResponseProto


Method Summary
 QJournalProtocolProtos.NewEpochResponseProto build()
           
 QJournalProtocolProtos.NewEpochResponseProto buildPartial()
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder clear()
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder clearLastSegmentTxId()
          optional uint64 lastSegmentTxId = 1;
 QJournalProtocolProtos.NewEpochResponseProto.Builder clone()
           
 QJournalProtocolProtos.NewEpochResponseProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getLastSegmentTxId()
          optional uint64 lastSegmentTxId = 1;
 boolean hasLastSegmentTxId()
          optional uint64 lastSegmentTxId = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder mergeFrom(QJournalProtocolProtos.NewEpochResponseProto other)
           
 QJournalProtocolProtos.NewEpochResponseProto.Builder setLastSegmentTxId(long value)
          optional uint64 lastSegmentTxId = 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.NewEpochResponseProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasLastSegmentTxId

public boolean hasLastSegmentTxId()
optional uint64 lastSegmentTxId = 1;

Specified by:
hasLastSegmentTxId in interface QJournalProtocolProtos.NewEpochResponseProtoOrBuilder

getLastSegmentTxId

public long getLastSegmentTxId()
optional uint64 lastSegmentTxId = 1;

Specified by:
getLastSegmentTxId in interface QJournalProtocolProtos.NewEpochResponseProtoOrBuilder

setLastSegmentTxId

public QJournalProtocolProtos.NewEpochResponseProto.Builder setLastSegmentTxId(long value)
optional uint64 lastSegmentTxId = 1;


clearLastSegmentTxId

public QJournalProtocolProtos.NewEpochResponseProto.Builder clearLastSegmentTxId()
optional uint64 lastSegmentTxId = 1;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.