org.apache.flume.channel.file.proto
Class ProtosFactory.Put.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.Put.Builder>
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
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 interface com.google.protobuf.MessageOrBuilder |
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
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()
- Specified by:
hasEvent
in interface ProtosFactory.PutOrBuilder
getEvent
public ProtosFactory.FlumeEvent getEvent()
- Specified by:
getEvent
in interface ProtosFactory.PutOrBuilder
setEvent
public ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent value)
setEvent
public ProtosFactory.Put.Builder setEvent(ProtosFactory.FlumeEvent.Builder builderForValue)
mergeEvent
public ProtosFactory.Put.Builder mergeEvent(ProtosFactory.FlumeEvent value)
clearEvent
public ProtosFactory.Put.Builder clearEvent()
getEventBuilder
public ProtosFactory.FlumeEvent.Builder getEventBuilder()
getEventOrBuilder
public ProtosFactory.FlumeEventOrBuilder getEventOrBuilder()
- Specified by:
getEventOrBuilder
in interface ProtosFactory.PutOrBuilder
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.