org.apache.flume.channel.file.proto

## Class ProtosFactory.FlumeEvent.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.FlumeEvent.Builder>
      - - org.apache.flume.channel.file.proto.ProtosFactory.FlumeEvent.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtosFactory.FlumeEventOrBuilder
  Enclosing class:
    ProtosFactory.FlumeEvent

      public static final class ProtosFactory.FlumeEvent.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<ProtosFactory.FlumeEvent.Builder>
      implements ProtosFactory.FlumeEventOrBuilder

  Protobuf type `FlumeEvent`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProtosFactory.FlumeEvent.Builder` | `addAllHeaders(Iterable<? extends ProtosFactory.FlumeEventHeader> values)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `addHeaders(int index, ProtosFactory.FlumeEventHeader.Builder builderForValue)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `addHeaders(int index, ProtosFactory.FlumeEventHeader value)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `addHeaders(ProtosFactory.FlumeEventHeader.Builder builderForValue)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `addHeaders(ProtosFactory.FlumeEventHeader value)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEventHeader.Builder` | `addHeadersBuilder()` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEventHeader.Builder` | `addHeadersBuilder(int index)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent` | `build()`
    `ProtosFactory.FlumeEvent` | `buildPartial()`
    `ProtosFactory.FlumeEvent.Builder` | `clear()`
    `ProtosFactory.FlumeEvent.Builder` | `clearBody()` `required bytes body = 2;`
    `ProtosFactory.FlumeEvent.Builder` | `clearHeaders()` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `clone()`
    `com.google.protobuf.ByteString` | `getBody()` `required bytes body = 2;`
    `ProtosFactory.FlumeEvent` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `ProtosFactory.FlumeEventHeader` | `getHeaders(int index)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEventHeader.Builder` | `getHeadersBuilder(int index)` `repeated .FlumeEventHeader headers = 1;`
    `List<ProtosFactory.FlumeEventHeader.Builder>` | `getHeadersBuilderList()` `repeated .FlumeEventHeader headers = 1;`
    `int` | `getHeadersCount()` `repeated .FlumeEventHeader headers = 1;`
    `List<ProtosFactory.FlumeEventHeader>` | `getHeadersList()` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEventHeaderOrBuilder` | `getHeadersOrBuilder(int index)` `repeated .FlumeEventHeader headers = 1;`
    `List<? extends ProtosFactory.FlumeEventHeaderOrBuilder>` | `getHeadersOrBuilderList()` `repeated .FlumeEventHeader headers = 1;`
    `boolean` | `hasBody()` `required bytes body = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `ProtosFactory.FlumeEvent.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `ProtosFactory.FlumeEvent.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `ProtosFactory.FlumeEvent.Builder` | `mergeFrom(ProtosFactory.FlumeEvent other)`
    `ProtosFactory.FlumeEvent.Builder` | `removeHeaders(int index)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `setBody(com.google.protobuf.ByteString value)` `required bytes body = 2;`
    `ProtosFactory.FlumeEvent.Builder` | `setHeaders(int index, ProtosFactory.FlumeEventHeader.Builder builderForValue)` `repeated .FlumeEventHeader headers = 1;`
    `ProtosFactory.FlumeEvent.Builder` | `setHeaders(int index, ProtosFactory.FlumeEventHeader value)` `repeated .FlumeEventHeader headers = 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.FlumeEvent.Builder>`

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public ProtosFactory.FlumeEvent getDefaultInstanceForType()

      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

    - #### build

          public ProtosFactory.FlumeEvent build()

      Specified by:
        `build` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `build` in interface `com.google.protobuf.MessageLite.Builder`

    - #### buildPartial

          public ProtosFactory.FlumeEvent buildPartial()

      Specified by:
        `buildPartial` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `buildPartial` in interface `com.google.protobuf.MessageLite.Builder`

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### getHeadersList

          public List<ProtosFactory.FlumeEventHeader> getHeadersList()

      `repeated .FlumeEventHeader headers = 1;`
      Specified by:
        `getHeadersList` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### getHeadersCount

          public int getHeadersCount()

      `repeated .FlumeEventHeader headers = 1;`
      Specified by:
        `getHeadersCount` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### getHeaders

          public ProtosFactory.FlumeEventHeader getHeaders(int index)

      `repeated .FlumeEventHeader headers = 1;`
      Specified by:
        `getHeaders` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### setHeaders

          public ProtosFactory.FlumeEvent.Builder setHeaders(int index,
                                                    ProtosFactory.FlumeEventHeader value)

      `repeated .FlumeEventHeader headers = 1;`

    - #### setHeaders

          public ProtosFactory.FlumeEvent.Builder setHeaders(int index,
                                                    ProtosFactory.FlumeEventHeader.Builder builderForValue)

      `repeated .FlumeEventHeader headers = 1;`

    - #### addHeaders

          public ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader value)

      `repeated .FlumeEventHeader headers = 1;`

    - #### addHeaders

          public ProtosFactory.FlumeEvent.Builder addHeaders(int index,
                                                    ProtosFactory.FlumeEventHeader value)

      `repeated .FlumeEventHeader headers = 1;`

    - #### addHeaders

          public ProtosFactory.FlumeEvent.Builder addHeaders(ProtosFactory.FlumeEventHeader.Builder builderForValue)

      `repeated .FlumeEventHeader headers = 1;`

    - #### addHeaders

          public ProtosFactory.FlumeEvent.Builder addHeaders(int index,
                                                    ProtosFactory.FlumeEventHeader.Builder builderForValue)

      `repeated .FlumeEventHeader headers = 1;`

    - #### addAllHeaders

          public ProtosFactory.FlumeEvent.Builder addAllHeaders(Iterable<? extends ProtosFactory.FlumeEventHeader> values)

      `repeated .FlumeEventHeader headers = 1;`

    - #### clearHeaders

          public ProtosFactory.FlumeEvent.Builder clearHeaders()

      `repeated .FlumeEventHeader headers = 1;`

    - #### removeHeaders

          public ProtosFactory.FlumeEvent.Builder removeHeaders(int index)

      `repeated .FlumeEventHeader headers = 1;`

    - #### getHeadersBuilder

          public ProtosFactory.FlumeEventHeader.Builder getHeadersBuilder(int index)

      `repeated .FlumeEventHeader headers = 1;`

    - #### getHeadersOrBuilder

          public ProtosFactory.FlumeEventHeaderOrBuilder getHeadersOrBuilder(int index)

      `repeated .FlumeEventHeader headers = 1;`
      Specified by:
        `getHeadersOrBuilder` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### getHeadersOrBuilderList

          public List<? extends ProtosFactory.FlumeEventHeaderOrBuilder> getHeadersOrBuilderList()

      `repeated .FlumeEventHeader headers = 1;`
      Specified by:
        `getHeadersOrBuilderList` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### addHeadersBuilder

          public ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder()

      `repeated .FlumeEventHeader headers = 1;`

    - #### addHeadersBuilder

          public ProtosFactory.FlumeEventHeader.Builder addHeadersBuilder(int index)

      `repeated .FlumeEventHeader headers = 1;`

    - #### getHeadersBuilderList

          public List<ProtosFactory.FlumeEventHeader.Builder> getHeadersBuilderList()

      `repeated .FlumeEventHeader headers = 1;`

    - #### hasBody

          public boolean hasBody()

      `required bytes body = 2;`
      Specified by:
        `hasBody` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### getBody

          public com.google.protobuf.ByteString getBody()

      `required bytes body = 2;`
      Specified by:
        `getBody` in interface `ProtosFactory.FlumeEventOrBuilder`

    - #### setBody

          public ProtosFactory.FlumeEvent.Builder setBody(com.google.protobuf.ByteString value)

      `required bytes body = 2;`

    - #### clearBody

          public ProtosFactory.FlumeEvent.Builder clearBody()

      `required bytes body = 2;`

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