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

Protobuf type FlumeEventHeader


Method Summary
 ProtosFactory.FlumeEventHeader build()
           
 ProtosFactory.FlumeEventHeader buildPartial()
           
 ProtosFactory.FlumeEventHeader.Builder clear()
           
 ProtosFactory.FlumeEventHeader.Builder clearKey()
          required string key = 1;
 ProtosFactory.FlumeEventHeader.Builder clearValue()
          required string value = 2;
 ProtosFactory.FlumeEventHeader.Builder clone()
           
 ProtosFactory.FlumeEventHeader getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getKey()
          required string key = 1;
 com.google.protobuf.ByteString getKeyBytes()
          required string key = 1;
 String getValue()
          required string value = 2;
 com.google.protobuf.ByteString getValueBytes()
          required string value = 2;
 boolean hasKey()
          required string key = 1;
 boolean hasValue()
          required string value = 2;
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)
          required string key = 1;
 ProtosFactory.FlumeEventHeader.Builder setKeyBytes(com.google.protobuf.ByteString value)
          required string key = 1;
 ProtosFactory.FlumeEventHeader.Builder setValue(String value)
          required string value = 2;
 ProtosFactory.FlumeEventHeader.Builder setValueBytes(com.google.protobuf.ByteString value)
          required string value = 2;
 
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<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()
required string key = 1;

Specified by:
hasKey in interface ProtosFactory.FlumeEventHeaderOrBuilder

getKey

public String getKey()
required string key = 1;

Specified by:
getKey in interface ProtosFactory.FlumeEventHeaderOrBuilder

getKeyBytes

public com.google.protobuf.ByteString getKeyBytes()
required string key = 1;

Specified by:
getKeyBytes in interface ProtosFactory.FlumeEventHeaderOrBuilder

setKey

public ProtosFactory.FlumeEventHeader.Builder setKey(String value)
required string key = 1;


clearKey

public ProtosFactory.FlumeEventHeader.Builder clearKey()
required string key = 1;


setKeyBytes

public ProtosFactory.FlumeEventHeader.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;


hasValue

public boolean hasValue()
required string value = 2;

Specified by:
hasValue in interface ProtosFactory.FlumeEventHeaderOrBuilder

getValue

public String getValue()
required string value = 2;

Specified by:
getValue in interface ProtosFactory.FlumeEventHeaderOrBuilder

getValueBytes

public com.google.protobuf.ByteString getValueBytes()
required string value = 2;

Specified by:
getValueBytes in interface ProtosFactory.FlumeEventHeaderOrBuilder

setValue

public ProtosFactory.FlumeEventHeader.Builder setValue(String value)
required string value = 2;


clearValue

public ProtosFactory.FlumeEventHeader.Builder clearValue()
required string value = 2;


setValueBytes

public ProtosFactory.FlumeEventHeader.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 2;



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