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

  Protobuf type `LogFileMetaData`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProtosFactory.LogFileMetaData` | `build()`
    `ProtosFactory.LogFileMetaData` | `buildPartial()`
    `ProtosFactory.LogFileMetaData.Builder` | `clear()`
    `ProtosFactory.LogFileMetaData.Builder` | `clearBackupCheckpointPosition()` `optional sfixed64 backupCheckpointPosition = 6;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearBackupCheckpointWriteOrderID()` `optional sfixed64 backupCheckpointWriteOrderID = 7;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearCheckpointPosition()` `required sfixed64 checkpointPosition = 3;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearCheckpointWriteOrderID()` `required sfixed64 checkpointWriteOrderID = 4;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearEncryption()` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearLogFileID()` `required sfixed32 logFileID = 2;`
    `ProtosFactory.LogFileMetaData.Builder` | `clearVersion()` `required sfixed32 version = 1;`
    `ProtosFactory.LogFileMetaData.Builder` | `clone()`
    `long` | `getBackupCheckpointPosition()` `optional sfixed64 backupCheckpointPosition = 6;`
    `long` | `getBackupCheckpointWriteOrderID()` `optional sfixed64 backupCheckpointWriteOrderID = 7;`
    `long` | `getCheckpointPosition()` `required sfixed64 checkpointPosition = 3;`
    `long` | `getCheckpointWriteOrderID()` `required sfixed64 checkpointWriteOrderID = 4;`
    `ProtosFactory.LogFileMetaData` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `ProtosFactory.LogFileEncryption` | `getEncryption()` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileEncryption.Builder` | `getEncryptionBuilder()` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileEncryptionOrBuilder` | `getEncryptionOrBuilder()` `optional .LogFileEncryption encryption = 5;`
    `int` | `getLogFileID()` `required sfixed32 logFileID = 2;`
    `int` | `getVersion()` `required sfixed32 version = 1;`
    `boolean` | `hasBackupCheckpointPosition()` `optional sfixed64 backupCheckpointPosition = 6;`
    `boolean` | `hasBackupCheckpointWriteOrderID()` `optional sfixed64 backupCheckpointWriteOrderID = 7;`
    `boolean` | `hasCheckpointPosition()` `required sfixed64 checkpointPosition = 3;`
    `boolean` | `hasCheckpointWriteOrderID()` `required sfixed64 checkpointWriteOrderID = 4;`
    `boolean` | `hasEncryption()` `optional .LogFileEncryption encryption = 5;`
    `boolean` | `hasLogFileID()` `required sfixed32 logFileID = 2;`
    `boolean` | `hasVersion()` `required sfixed32 version = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `ProtosFactory.LogFileMetaData.Builder` | `mergeEncryption(ProtosFactory.LogFileEncryption value)` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileMetaData.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `ProtosFactory.LogFileMetaData.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `ProtosFactory.LogFileMetaData.Builder` | `mergeFrom(ProtosFactory.LogFileMetaData other)`
    `ProtosFactory.LogFileMetaData.Builder` | `setBackupCheckpointPosition(long value)` `optional sfixed64 backupCheckpointPosition = 6;`
    `ProtosFactory.LogFileMetaData.Builder` | `setBackupCheckpointWriteOrderID(long value)` `optional sfixed64 backupCheckpointWriteOrderID = 7;`
    `ProtosFactory.LogFileMetaData.Builder` | `setCheckpointPosition(long value)` `required sfixed64 checkpointPosition = 3;`
    `ProtosFactory.LogFileMetaData.Builder` | `setCheckpointWriteOrderID(long value)` `required sfixed64 checkpointWriteOrderID = 4;`
    `ProtosFactory.LogFileMetaData.Builder` | `setEncryption(ProtosFactory.LogFileEncryption.Builder builderForValue)` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileMetaData.Builder` | `setEncryption(ProtosFactory.LogFileEncryption value)` `optional .LogFileEncryption encryption = 5;`
    `ProtosFactory.LogFileMetaData.Builder` | `setLogFileID(int value)` `required sfixed32 logFileID = 2;`
    `ProtosFactory.LogFileMetaData.Builder` | `setVersion(int value)` `required sfixed32 version = 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.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()

      `required sfixed32 version = 1;`
      Specified by:
        `hasVersion` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getVersion

          public int getVersion()

      `required sfixed32 version = 1;`
      Specified by:
        `getVersion` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setVersion

          public ProtosFactory.LogFileMetaData.Builder setVersion(int value)

      `required sfixed32 version = 1;`

    - #### clearVersion

          public ProtosFactory.LogFileMetaData.Builder clearVersion()

      `required sfixed32 version = 1;`

    - #### hasLogFileID

          public boolean hasLogFileID()

      `required sfixed32 logFileID = 2;`
      Specified by:
        `hasLogFileID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getLogFileID

          public int getLogFileID()

      `required sfixed32 logFileID = 2;`
      Specified by:
        `getLogFileID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setLogFileID

          public ProtosFactory.LogFileMetaData.Builder setLogFileID(int value)

      `required sfixed32 logFileID = 2;`

    - #### clearLogFileID

          public ProtosFactory.LogFileMetaData.Builder clearLogFileID()

      `required sfixed32 logFileID = 2;`

    - #### hasCheckpointPosition

          public boolean hasCheckpointPosition()

      `required sfixed64 checkpointPosition = 3;`
      Specified by:
        `hasCheckpointPosition` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getCheckpointPosition

          public long getCheckpointPosition()

      `required sfixed64 checkpointPosition = 3;`
      Specified by:
        `getCheckpointPosition` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setCheckpointPosition

          public ProtosFactory.LogFileMetaData.Builder setCheckpointPosition(long value)

      `required sfixed64 checkpointPosition = 3;`

    - #### clearCheckpointPosition

          public ProtosFactory.LogFileMetaData.Builder clearCheckpointPosition()

      `required sfixed64 checkpointPosition = 3;`

    - #### hasCheckpointWriteOrderID

          public boolean hasCheckpointWriteOrderID()

      `required sfixed64 checkpointWriteOrderID = 4;`
      Specified by:
        `hasCheckpointWriteOrderID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getCheckpointWriteOrderID

          public long getCheckpointWriteOrderID()

      `required sfixed64 checkpointWriteOrderID = 4;`
      Specified by:
        `getCheckpointWriteOrderID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setCheckpointWriteOrderID

          public ProtosFactory.LogFileMetaData.Builder setCheckpointWriteOrderID(long value)

      `required sfixed64 checkpointWriteOrderID = 4;`

    - #### clearCheckpointWriteOrderID

          public ProtosFactory.LogFileMetaData.Builder clearCheckpointWriteOrderID()

      `required sfixed64 checkpointWriteOrderID = 4;`

    - #### hasEncryption

          public boolean hasEncryption()

      `optional .LogFileEncryption encryption = 5;`
      Specified by:
        `hasEncryption` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getEncryption

          public ProtosFactory.LogFileEncryption getEncryption()

      `optional .LogFileEncryption encryption = 5;`
      Specified by:
        `getEncryption` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setEncryption

          public ProtosFactory.LogFileMetaData.Builder setEncryption(ProtosFactory.LogFileEncryption value)

      `optional .LogFileEncryption encryption = 5;`

    - #### setEncryption

          public ProtosFactory.LogFileMetaData.Builder setEncryption(ProtosFactory.LogFileEncryption.Builder builderForValue)

      `optional .LogFileEncryption encryption = 5;`

    - #### mergeEncryption

          public ProtosFactory.LogFileMetaData.Builder mergeEncryption(ProtosFactory.LogFileEncryption value)

      `optional .LogFileEncryption encryption = 5;`

    - #### clearEncryption

          public ProtosFactory.LogFileMetaData.Builder clearEncryption()

      `optional .LogFileEncryption encryption = 5;`

    - #### getEncryptionBuilder

          public ProtosFactory.LogFileEncryption.Builder getEncryptionBuilder()

      `optional .LogFileEncryption encryption = 5;`

    - #### getEncryptionOrBuilder

          public ProtosFactory.LogFileEncryptionOrBuilder getEncryptionOrBuilder()

      `optional .LogFileEncryption encryption = 5;`
      Specified by:
        `getEncryptionOrBuilder` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### hasBackupCheckpointPosition

          public boolean hasBackupCheckpointPosition()

      `optional sfixed64 backupCheckpointPosition = 6;`
      Specified by:
        `hasBackupCheckpointPosition` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getBackupCheckpointPosition

          public long getBackupCheckpointPosition()

      `optional sfixed64 backupCheckpointPosition = 6;`
      Specified by:
        `getBackupCheckpointPosition` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setBackupCheckpointPosition

          public ProtosFactory.LogFileMetaData.Builder setBackupCheckpointPosition(long value)

      `optional sfixed64 backupCheckpointPosition = 6;`

    - #### clearBackupCheckpointPosition

          public ProtosFactory.LogFileMetaData.Builder clearBackupCheckpointPosition()

      `optional sfixed64 backupCheckpointPosition = 6;`

    - #### hasBackupCheckpointWriteOrderID

          public boolean hasBackupCheckpointWriteOrderID()

      `optional sfixed64 backupCheckpointWriteOrderID = 7;`
      Specified by:
        `hasBackupCheckpointWriteOrderID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### getBackupCheckpointWriteOrderID

          public long getBackupCheckpointWriteOrderID()

      `optional sfixed64 backupCheckpointWriteOrderID = 7;`
      Specified by:
        `getBackupCheckpointWriteOrderID` in interface `ProtosFactory.LogFileMetaDataOrBuilder`

    - #### setBackupCheckpointWriteOrderID

          public ProtosFactory.LogFileMetaData.Builder setBackupCheckpointWriteOrderID(long value)

      `optional sfixed64 backupCheckpointWriteOrderID = 7;`

    - #### clearBackupCheckpointWriteOrderID

          public ProtosFactory.LogFileMetaData.Builder clearBackupCheckpointWriteOrderID()

      `optional sfixed64 backupCheckpointWriteOrderID = 7;`

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