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

public static final class QJournalProtocolProtos.SegmentStateProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.SegmentStateProto.Builder>
implements QJournalProtocolProtos.SegmentStateProtoOrBuilder

Protobuf type hadoop.hdfs.qjournal.SegmentStateProto


Method Summary
 QJournalProtocolProtos.SegmentStateProto build()
           
 QJournalProtocolProtos.SegmentStateProto buildPartial()
           
 QJournalProtocolProtos.SegmentStateProto.Builder clear()
           
 QJournalProtocolProtos.SegmentStateProto.Builder clearEndTxId()
          required uint64 endTxId = 2;
 QJournalProtocolProtos.SegmentStateProto.Builder clearIsInProgress()
          required bool isInProgress = 3;
 QJournalProtocolProtos.SegmentStateProto.Builder clearStartTxId()
          required uint64 startTxId = 1;
 QJournalProtocolProtos.SegmentStateProto.Builder clone()
           
 QJournalProtocolProtos.SegmentStateProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getEndTxId()
          required uint64 endTxId = 2;
 boolean getIsInProgress()
          required bool isInProgress = 3;
 long getStartTxId()
          required uint64 startTxId = 1;
 boolean hasEndTxId()
          required uint64 endTxId = 2;
 boolean hasIsInProgress()
          required bool isInProgress = 3;
 boolean hasStartTxId()
          required uint64 startTxId = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 QJournalProtocolProtos.SegmentStateProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 QJournalProtocolProtos.SegmentStateProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 QJournalProtocolProtos.SegmentStateProto.Builder mergeFrom(QJournalProtocolProtos.SegmentStateProto other)
           
 QJournalProtocolProtos.SegmentStateProto.Builder setEndTxId(long value)
          required uint64 endTxId = 2;
 QJournalProtocolProtos.SegmentStateProto.Builder setIsInProgress(boolean value)
          required bool isInProgress = 3;
 QJournalProtocolProtos.SegmentStateProto.Builder setStartTxId(long value)
          required uint64 startTxId = 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.SegmentStateProto.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasStartTxId

public boolean hasStartTxId()
required uint64 startTxId = 1;

Specified by:
hasStartTxId in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

getStartTxId

public long getStartTxId()
required uint64 startTxId = 1;

Specified by:
getStartTxId in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

setStartTxId

public QJournalProtocolProtos.SegmentStateProto.Builder setStartTxId(long value)
required uint64 startTxId = 1;


clearStartTxId

public QJournalProtocolProtos.SegmentStateProto.Builder clearStartTxId()
required uint64 startTxId = 1;


hasEndTxId

public boolean hasEndTxId()
required uint64 endTxId = 2;

Specified by:
hasEndTxId in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

getEndTxId

public long getEndTxId()
required uint64 endTxId = 2;

Specified by:
getEndTxId in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

setEndTxId

public QJournalProtocolProtos.SegmentStateProto.Builder setEndTxId(long value)
required uint64 endTxId = 2;


clearEndTxId

public QJournalProtocolProtos.SegmentStateProto.Builder clearEndTxId()
required uint64 endTxId = 2;


hasIsInProgress

public boolean hasIsInProgress()
required bool isInProgress = 3;

Specified by:
hasIsInProgress in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

getIsInProgress

public boolean getIsInProgress()
required bool isInProgress = 3;

Specified by:
getIsInProgress in interface QJournalProtocolProtos.SegmentStateProtoOrBuilder

setIsInProgress

public QJournalProtocolProtos.SegmentStateProto.Builder setIsInProgress(boolean value)
required bool isInProgress = 3;


clearIsInProgress

public QJournalProtocolProtos.SegmentStateProto.Builder clearIsInProgress()
required bool isInProgress = 3;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.