org.apache.flume.channel.file.proto
Class ProtosFactory.LogFileMetaData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.LogFileMetaData.Builder>
org.apache.flume.channel.file.proto.ProtosFactory.LogFileMetaData.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtosFactory.LogFileMetaDataOrBuilder
- Enclosing class:
- ProtosFactory.LogFileMetaData
public static final class ProtosFactory.LogFileMetaData.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.LogFileMetaData.Builder>
- implements ProtosFactory.LogFileMetaDataOrBuilder
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.LogFileMetaData.Builder>
clear
public ProtosFactory.LogFileMetaData.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.LogFileMetaData.Builder>
clone
public ProtosFactory.LogFileMetaData.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.LogFileMetaData.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.LogFileMetaData.Builder>
getDefaultInstanceForType
public ProtosFactory.LogFileMetaData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
build
public ProtosFactory.LogFileMetaData build()
- Specified by:
build
in interface com.google.protobuf.Message.Builder
- Specified by:
build
in interface com.google.protobuf.MessageLite.Builder
buildPartial
public ProtosFactory.LogFileMetaData buildPartial()
- Specified by:
buildPartial
in interface com.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public ProtosFactory.LogFileMetaData.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.LogFileMetaData.Builder>
mergeFrom
public ProtosFactory.LogFileMetaData.Builder mergeFrom(ProtosFactory.LogFileMetaData 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.LogFileMetaData.Builder>
mergeFrom
public ProtosFactory.LogFileMetaData.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.LogFileMetaData.Builder>
- Throws:
IOException
hasVersion
public boolean hasVersion()
- Specified by:
hasVersion
in interface ProtosFactory.LogFileMetaDataOrBuilder
getVersion
public int getVersion()
- Specified by:
getVersion
in interface ProtosFactory.LogFileMetaDataOrBuilder
setVersion
public ProtosFactory.LogFileMetaData.Builder setVersion(int value)
clearVersion
public ProtosFactory.LogFileMetaData.Builder clearVersion()
hasLogFileID
public boolean hasLogFileID()
- Specified by:
hasLogFileID
in interface ProtosFactory.LogFileMetaDataOrBuilder
getLogFileID
public int getLogFileID()
- Specified by:
getLogFileID
in interface ProtosFactory.LogFileMetaDataOrBuilder
setLogFileID
public ProtosFactory.LogFileMetaData.Builder setLogFileID(int value)
clearLogFileID
public ProtosFactory.LogFileMetaData.Builder clearLogFileID()
hasCheckpointPosition
public boolean hasCheckpointPosition()
- Specified by:
hasCheckpointPosition
in interface ProtosFactory.LogFileMetaDataOrBuilder
getCheckpointPosition
public long getCheckpointPosition()
- Specified by:
getCheckpointPosition
in interface ProtosFactory.LogFileMetaDataOrBuilder
setCheckpointPosition
public ProtosFactory.LogFileMetaData.Builder setCheckpointPosition(long value)
clearCheckpointPosition
public ProtosFactory.LogFileMetaData.Builder clearCheckpointPosition()
hasCheckpointWriteOrderID
public boolean hasCheckpointWriteOrderID()
- Specified by:
hasCheckpointWriteOrderID
in interface ProtosFactory.LogFileMetaDataOrBuilder
getCheckpointWriteOrderID
public long getCheckpointWriteOrderID()
- Specified by:
getCheckpointWriteOrderID
in interface ProtosFactory.LogFileMetaDataOrBuilder
setCheckpointWriteOrderID
public ProtosFactory.LogFileMetaData.Builder setCheckpointWriteOrderID(long value)
clearCheckpointWriteOrderID
public ProtosFactory.LogFileMetaData.Builder clearCheckpointWriteOrderID()
hasEncryption
public boolean hasEncryption()
- Specified by:
hasEncryption
in interface ProtosFactory.LogFileMetaDataOrBuilder
getEncryption
public ProtosFactory.LogFileEncryption getEncryption()
- Specified by:
getEncryption
in interface ProtosFactory.LogFileMetaDataOrBuilder
setEncryption
public ProtosFactory.LogFileMetaData.Builder setEncryption(ProtosFactory.LogFileEncryption value)
setEncryption
public ProtosFactory.LogFileMetaData.Builder setEncryption(ProtosFactory.LogFileEncryption.Builder builderForValue)
mergeEncryption
public ProtosFactory.LogFileMetaData.Builder mergeEncryption(ProtosFactory.LogFileEncryption value)
clearEncryption
public ProtosFactory.LogFileMetaData.Builder clearEncryption()
getEncryptionBuilder
public ProtosFactory.LogFileEncryption.Builder getEncryptionBuilder()
getEncryptionOrBuilder
public ProtosFactory.LogFileEncryptionOrBuilder getEncryptionOrBuilder()
- Specified by:
getEncryptionOrBuilder
in interface ProtosFactory.LogFileMetaDataOrBuilder
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.