org.apache.flume.channel.file.proto
Class ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.Builder>
              extended by org.apache.flume.channel.file.proto.ProtosFactory.Checkpoint.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtosFactory.CheckpointOrBuilder
Enclosing class:
ProtosFactory.Checkpoint

public static final class ProtosFactory.Checkpoint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.Checkpoint.Builder>
implements ProtosFactory.CheckpointOrBuilder


Method Summary
 ProtosFactory.Checkpoint.Builder addActiveLogs(int index, ProtosFactory.ActiveLog.Builder builderForValue)
           
 ProtosFactory.Checkpoint.Builder addActiveLogs(int index, ProtosFactory.ActiveLog value)
           
 ProtosFactory.Checkpoint.Builder addActiveLogs(ProtosFactory.ActiveLog.Builder builderForValue)
           
 ProtosFactory.Checkpoint.Builder addActiveLogs(ProtosFactory.ActiveLog value)
           
 ProtosFactory.ActiveLog.Builder addActiveLogsBuilder()
           
 ProtosFactory.ActiveLog.Builder addActiveLogsBuilder(int index)
           
 ProtosFactory.Checkpoint.Builder addAllActiveLogs(Iterable<? extends ProtosFactory.ActiveLog> values)
           
 ProtosFactory.Checkpoint build()
           
 ProtosFactory.Checkpoint buildPartial()
           
 ProtosFactory.Checkpoint.Builder clear()
           
 ProtosFactory.Checkpoint.Builder clearActiveLogs()
           
 ProtosFactory.Checkpoint.Builder clearQueueHead()
           
 ProtosFactory.Checkpoint.Builder clearQueueSize()
           
 ProtosFactory.Checkpoint.Builder clearVersion()
           
 ProtosFactory.Checkpoint.Builder clearWriteOrderID()
           
 ProtosFactory.Checkpoint.Builder clone()
           
 ProtosFactory.ActiveLog getActiveLogs(int index)
           
 ProtosFactory.ActiveLog.Builder getActiveLogsBuilder(int index)
           
 List<ProtosFactory.ActiveLog.Builder> getActiveLogsBuilderList()
           
 int getActiveLogsCount()
           
 List<ProtosFactory.ActiveLog> getActiveLogsList()
           
 ProtosFactory.ActiveLogOrBuilder getActiveLogsOrBuilder(int index)
           
 List<? extends ProtosFactory.ActiveLogOrBuilder> getActiveLogsOrBuilderList()
           
 ProtosFactory.Checkpoint getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getQueueHead()
           
 int getQueueSize()
           
 int getVersion()
           
 long getWriteOrderID()
           
 boolean hasQueueHead()
           
 boolean hasQueueSize()
           
 boolean hasVersion()
           
 boolean hasWriteOrderID()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ProtosFactory.Checkpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtosFactory.Checkpoint.Builder mergeFrom(com.google.protobuf.Message other)
           
 ProtosFactory.Checkpoint.Builder mergeFrom(ProtosFactory.Checkpoint other)
           
 ProtosFactory.Checkpoint.Builder removeActiveLogs(int index)
           
 ProtosFactory.Checkpoint.Builder setActiveLogs(int index, ProtosFactory.ActiveLog.Builder builderForValue)
           
 ProtosFactory.Checkpoint.Builder setActiveLogs(int index, ProtosFactory.ActiveLog value)
           
 ProtosFactory.Checkpoint.Builder setQueueHead(int value)
           
 ProtosFactory.Checkpoint.Builder setQueueSize(int value)
           
 ProtosFactory.Checkpoint.Builder setVersion(int value)
           
 ProtosFactory.Checkpoint.Builder setWriteOrderID(long value)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
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
getAllFields, getField, 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<ProtosFactory.Checkpoint.Builder>

clear

public ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.Builder>

clone

public ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.Builder>

getDefaultInstanceForType

public ProtosFactory.Checkpoint getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.Builder>

mergeFrom

public ProtosFactory.Checkpoint.Builder mergeFrom(ProtosFactory.Checkpoint other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.Checkpoint.Builder>

mergeFrom

public ProtosFactory.Checkpoint.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<ProtosFactory.Checkpoint.Builder>
Throws:
IOException

hasVersion

public boolean hasVersion()
Specified by:
hasVersion in interface ProtosFactory.CheckpointOrBuilder

getVersion

public int getVersion()
Specified by:
getVersion in interface ProtosFactory.CheckpointOrBuilder

setVersion

public ProtosFactory.Checkpoint.Builder setVersion(int value)

clearVersion

public ProtosFactory.Checkpoint.Builder clearVersion()

hasWriteOrderID

public boolean hasWriteOrderID()
Specified by:
hasWriteOrderID in interface ProtosFactory.CheckpointOrBuilder

getWriteOrderID

public long getWriteOrderID()
Specified by:
getWriteOrderID in interface ProtosFactory.CheckpointOrBuilder

setWriteOrderID

public ProtosFactory.Checkpoint.Builder setWriteOrderID(long value)

clearWriteOrderID

public ProtosFactory.Checkpoint.Builder clearWriteOrderID()

hasQueueSize

public boolean hasQueueSize()
Specified by:
hasQueueSize in interface ProtosFactory.CheckpointOrBuilder

getQueueSize

public int getQueueSize()
Specified by:
getQueueSize in interface ProtosFactory.CheckpointOrBuilder

setQueueSize

public ProtosFactory.Checkpoint.Builder setQueueSize(int value)

clearQueueSize

public ProtosFactory.Checkpoint.Builder clearQueueSize()

hasQueueHead

public boolean hasQueueHead()
Specified by:
hasQueueHead in interface ProtosFactory.CheckpointOrBuilder

getQueueHead

public int getQueueHead()
Specified by:
getQueueHead in interface ProtosFactory.CheckpointOrBuilder

setQueueHead

public ProtosFactory.Checkpoint.Builder setQueueHead(int value)

clearQueueHead

public ProtosFactory.Checkpoint.Builder clearQueueHead()

getActiveLogsList

public List<ProtosFactory.ActiveLog> getActiveLogsList()
Specified by:
getActiveLogsList in interface ProtosFactory.CheckpointOrBuilder

getActiveLogsCount

public int getActiveLogsCount()
Specified by:
getActiveLogsCount in interface ProtosFactory.CheckpointOrBuilder

getActiveLogs

public ProtosFactory.ActiveLog getActiveLogs(int index)
Specified by:
getActiveLogs in interface ProtosFactory.CheckpointOrBuilder

setActiveLogs

public ProtosFactory.Checkpoint.Builder setActiveLogs(int index,
                                                      ProtosFactory.ActiveLog value)

setActiveLogs

public ProtosFactory.Checkpoint.Builder setActiveLogs(int index,
                                                      ProtosFactory.ActiveLog.Builder builderForValue)

addActiveLogs

public ProtosFactory.Checkpoint.Builder addActiveLogs(ProtosFactory.ActiveLog value)

addActiveLogs

public ProtosFactory.Checkpoint.Builder addActiveLogs(int index,
                                                      ProtosFactory.ActiveLog value)

addActiveLogs

public ProtosFactory.Checkpoint.Builder addActiveLogs(ProtosFactory.ActiveLog.Builder builderForValue)

addActiveLogs

public ProtosFactory.Checkpoint.Builder addActiveLogs(int index,
                                                      ProtosFactory.ActiveLog.Builder builderForValue)

addAllActiveLogs

public ProtosFactory.Checkpoint.Builder addAllActiveLogs(Iterable<? extends ProtosFactory.ActiveLog> values)

clearActiveLogs

public ProtosFactory.Checkpoint.Builder clearActiveLogs()

removeActiveLogs

public ProtosFactory.Checkpoint.Builder removeActiveLogs(int index)

getActiveLogsBuilder

public ProtosFactory.ActiveLog.Builder getActiveLogsBuilder(int index)

getActiveLogsOrBuilder

public ProtosFactory.ActiveLogOrBuilder getActiveLogsOrBuilder(int index)
Specified by:
getActiveLogsOrBuilder in interface ProtosFactory.CheckpointOrBuilder

getActiveLogsOrBuilderList

public List<? extends ProtosFactory.ActiveLogOrBuilder> getActiveLogsOrBuilderList()
Specified by:
getActiveLogsOrBuilderList in interface ProtosFactory.CheckpointOrBuilder

addActiveLogsBuilder

public ProtosFactory.ActiveLog.Builder addActiveLogsBuilder()

addActiveLogsBuilder

public ProtosFactory.ActiveLog.Builder addActiveLogsBuilder(int index)

getActiveLogsBuilderList

public List<ProtosFactory.ActiveLog.Builder> getActiveLogsBuilderList()


Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.