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

public static final class ProtosFactory.FlumeEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.FlumeEvent.Builder>
implements ProtosFactory.FlumeEventOrBuilder


Method Summary
 ProtosFactory.FlumeEvent.Builder addAllHeaders(Iterable<? extends ProtosFactory.FlumeEventHeader> values)
           
 ProtosFactory.FlumeEvent.Builder addHeaders(int index, ProtosFactory.FlumeEventHeader.Builder builderForValue)
           
 ProtosFactory.FlumeEvent.Builder addHeaders(int index, ProtosFactory.FlumeEventHeader value)
           
 ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader.Builder builderForValue)
           
 ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader value)
           
 ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder()
           
 ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder(int index)
           
 ProtosFactory.FlumeEvent build()
           
 ProtosFactory.FlumeEvent buildPartial()
           
 ProtosFactory.FlumeEvent.Builder clear()
           
 ProtosFactory.FlumeEvent.Builder clearBody()
           
 ProtosFactory.FlumeEvent.Builder clearHeaders()
           
 ProtosFactory.FlumeEvent.Builder clone()
           
 com.google.protobuf.ByteString getBody()
           
 ProtosFactory.FlumeEvent getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 ProtosFactory.FlumeEventHeader getHeaders(int index)
           
 ProtosFactory.FlumeEventHeader.Builder getHeadersBuilder(int index)
           
 List<ProtosFactory.FlumeEventHeader.Builder> getHeadersBuilderList()
           
 int getHeadersCount()
           
 List<ProtosFactory.FlumeEventHeader> getHeadersList()
           
 ProtosFactory.FlumeEventHeaderOrBuilder getHeadersOrBuilder(int index)
           
 List<? extends ProtosFactory.FlumeEventHeaderOrBuilder> getHeadersOrBuilderList()
           
 boolean hasBody()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ProtosFactory.FlumeEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtosFactory.FlumeEvent.Builder mergeFrom(com.google.protobuf.Message other)
           
 ProtosFactory.FlumeEvent.Builder mergeFrom(ProtosFactory.FlumeEvent other)
           
 ProtosFactory.FlumeEvent.Builder removeHeaders(int index)
           
 ProtosFactory.FlumeEvent.Builder setBody(com.google.protobuf.ByteString value)
           
 ProtosFactory.FlumeEvent.Builder setHeaders(int index, ProtosFactory.FlumeEventHeader.Builder builderForValue)
           
 ProtosFactory.FlumeEvent.Builder setHeaders(int index, ProtosFactory.FlumeEventHeader 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.FlumeEvent.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

public ProtosFactory.FlumeEvent.Builder mergeFrom(ProtosFactory.FlumeEvent 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.FlumeEvent.Builder>

mergeFrom

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

getHeadersList

public List<ProtosFactory.FlumeEventHeader> getHeadersList()
Specified by:
getHeadersList in interface ProtosFactory.FlumeEventOrBuilder

getHeadersCount

public int getHeadersCount()
Specified by:
getHeadersCount in interface ProtosFactory.FlumeEventOrBuilder

getHeaders

public ProtosFactory.FlumeEventHeader getHeaders(int index)
Specified by:
getHeaders in interface ProtosFactory.FlumeEventOrBuilder

setHeaders

public ProtosFactory.FlumeEvent.Builder setHeaders(int index,
                                                   ProtosFactory.FlumeEventHeader value)

setHeaders

public ProtosFactory.FlumeEvent.Builder setHeaders(int index,
                                                   ProtosFactory.FlumeEventHeader.Builder builderForValue)

addHeaders

public ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader value)

addHeaders

public ProtosFactory.FlumeEvent.Builder addHeaders(int index,
                                                   ProtosFactory.FlumeEventHeader value)

addHeaders

public ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader.Builder builderForValue)

addHeaders

public ProtosFactory.FlumeEvent.Builder addHeaders(int index,
                                                   ProtosFactory.FlumeEventHeader.Builder builderForValue)

addAllHeaders

public ProtosFactory.FlumeEvent.Builder addAllHeaders(Iterable<? extends ProtosFactory.FlumeEventHeader> values)

clearHeaders

public ProtosFactory.FlumeEvent.Builder clearHeaders()

removeHeaders

public ProtosFactory.FlumeEvent.Builder removeHeaders(int index)

getHeadersBuilder

public ProtosFactory.FlumeEventHeader.Builder getHeadersBuilder(int index)

getHeadersOrBuilder

public ProtosFactory.FlumeEventHeaderOrBuilder getHeadersOrBuilder(int index)
Specified by:
getHeadersOrBuilder in interface ProtosFactory.FlumeEventOrBuilder

getHeadersOrBuilderList

public List<? extends ProtosFactory.FlumeEventHeaderOrBuilder> getHeadersOrBuilderList()
Specified by:
getHeadersOrBuilderList in interface ProtosFactory.FlumeEventOrBuilder

addHeadersBuilder

public ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder()

addHeadersBuilder

public ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder(int index)

getHeadersBuilderList

public List<ProtosFactory.FlumeEventHeader.Builder> getHeadersBuilderList()

hasBody

public boolean hasBody()
Specified by:
hasBody in interface ProtosFactory.FlumeEventOrBuilder

getBody

public com.google.protobuf.ByteString getBody()
Specified by:
getBody in interface ProtosFactory.FlumeEventOrBuilder

setBody

public ProtosFactory.FlumeEvent.Builder setBody(com.google.protobuf.ByteString value)

clearBody

public ProtosFactory.FlumeEvent.Builder clearBody()


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