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

public static final class ProtosFactory.FlumeEventHeader.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.FlumeEventHeader.Builder>
implements ProtosFactory.FlumeEventHeaderOrBuilder


Method Summary
 ProtosFactory.FlumeEventHeader build()
           
 ProtosFactory.FlumeEventHeader buildPartial()
           
 ProtosFactory.FlumeEventHeader.Builder clear()
           
 ProtosFactory.FlumeEventHeader.Builder clearKey()
           
 ProtosFactory.FlumeEventHeader.Builder clearValue()
           
 ProtosFactory.FlumeEventHeader.Builder clone()
           
 ProtosFactory.FlumeEventHeader getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getKey()
           
 String getValue()
           
 boolean hasKey()
           
 boolean hasValue()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ProtosFactory.FlumeEventHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtosFactory.FlumeEventHeader.Builder mergeFrom(com.google.protobuf.Message other)
           
 ProtosFactory.FlumeEventHeader.Builder mergeFrom(ProtosFactory.FlumeEventHeader other)
           
 ProtosFactory.FlumeEventHeader.Builder setKey(String value)
           
 ProtosFactory.FlumeEventHeader.Builder setValue(String 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.FlumeEventHeader.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasKey

public boolean hasKey()
Specified by:
hasKey in interface ProtosFactory.FlumeEventHeaderOrBuilder

getKey

public String getKey()
Specified by:
getKey in interface ProtosFactory.FlumeEventHeaderOrBuilder

setKey

public ProtosFactory.FlumeEventHeader.Builder setKey(String value)

clearKey

public ProtosFactory.FlumeEventHeader.Builder clearKey()

hasValue

public boolean hasValue()
Specified by:
hasValue in interface ProtosFactory.FlumeEventHeaderOrBuilder

getValue

public String getValue()
Specified by:
getValue in interface ProtosFactory.FlumeEventHeaderOrBuilder

setValue

public ProtosFactory.FlumeEventHeader.Builder setValue(String value)

clearValue

public ProtosFactory.FlumeEventHeader.Builder clearValue()


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