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

public static final class ProtosFactory.Put.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.Put.Builder>
implements ProtosFactory.PutOrBuilder

Protobuf type Put


Method Summary
 ProtosFactory.Put build()
           
 ProtosFactory.Put buildPartial()
           
 ProtosFactory.Put.Builder clear()
           
 ProtosFactory.Put.Builder clearChecksum()
          optional sfixed64 checksum = 2;
 ProtosFactory.Put.Builder clearEvent()
          required .FlumeEvent event = 1;
 ProtosFactory.Put.Builder clone()
           
 long getChecksum()
          optional sfixed64 checksum = 2;
 ProtosFactory.Put getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 ProtosFactory.FlumeEvent getEvent()
          required .FlumeEvent event = 1;
 ProtosFactory.FlumeEvent.Builder getEventBuilder()
          required .FlumeEvent event = 1;
 ProtosFactory.FlumeEventOrBuilder getEventOrBuilder()
          required .FlumeEvent event = 1;
 boolean hasChecksum()
          optional sfixed64 checksum = 2;
 boolean hasEvent()
          required .FlumeEvent event = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ProtosFactory.Put.Builder mergeEvent(ProtosFactory.FlumeEvent value)
          required .FlumeEvent event = 1;
 ProtosFactory.Put.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtosFactory.Put.Builder mergeFrom(com.google.protobuf.Message other)
           
 ProtosFactory.Put.Builder mergeFrom(ProtosFactory.Put other)
           
 ProtosFactory.Put.Builder setChecksum(long value)
          optional sfixed64 checksum = 2;
 ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent.Builder builderForValue)
          required .FlumeEvent event = 1;
 ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent value)
          required .FlumeEvent event = 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<ProtosFactory.Put.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasEvent

public boolean hasEvent()
required .FlumeEvent event = 1;

Specified by:
hasEvent in interface ProtosFactory.PutOrBuilder

getEvent

public ProtosFactory.FlumeEvent getEvent()
required .FlumeEvent event = 1;

Specified by:
getEvent in interface ProtosFactory.PutOrBuilder

setEvent

public ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent value)
required .FlumeEvent event = 1;


setEvent

public ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent.Builder builderForValue)
required .FlumeEvent event = 1;


mergeEvent

public ProtosFactory.Put.Builder mergeEvent(ProtosFactory.FlumeEvent value)
required .FlumeEvent event = 1;


clearEvent

public ProtosFactory.Put.Builder clearEvent()
required .FlumeEvent event = 1;


getEventBuilder

public ProtosFactory.FlumeEvent.Builder getEventBuilder()
required .FlumeEvent event = 1;


getEventOrBuilder

public ProtosFactory.FlumeEventOrBuilder getEventOrBuilder()
required .FlumeEvent event = 1;

Specified by:
getEventOrBuilder in interface ProtosFactory.PutOrBuilder

hasChecksum

public boolean hasChecksum()
optional sfixed64 checksum = 2;

Specified by:
hasChecksum in interface ProtosFactory.PutOrBuilder

getChecksum

public long getChecksum()
optional sfixed64 checksum = 2;

Specified by:
getChecksum in interface ProtosFactory.PutOrBuilder

setChecksum

public ProtosFactory.Put.Builder setChecksum(long value)
optional sfixed64 checksum = 2;


clearChecksum

public ProtosFactory.Put.Builder clearChecksum()
optional sfixed64 checksum = 2;



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