com.google.protobuf

## Interface GeneratedMessageLite.Visitor

- All Known Implementing Classes:
    GeneratedMessageLite.MergeFromVisitor
  Enclosing class:
    GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>

      protected static interface GeneratedMessageLite.Visitor

  An abstract visitor that the generated code calls into that we use to implement various features. Fields that are not members of oneofs are always visited. Members of a oneof are only visited when they are the set oneof case value on the "other" proto. The visitOneofNotSet method is invoked if other's oneof case is not set.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `visitBoolean(boolean minePresent, boolean mine, boolean otherPresent, boolean other)`
    `Internal.BooleanList` | `visitBooleanList(Internal.BooleanList mine, Internal.BooleanList other)`
    `ByteString` | `visitByteString(boolean minePresent, ByteString mine, boolean otherPresent, ByteString other)`
    `double` | `visitDouble(boolean minePresent, double mine, boolean otherPresent, double other)`
    `Internal.DoubleList` | `visitDoubleList(Internal.DoubleList mine, Internal.DoubleList other)`
    `com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor>` | `visitExtensions(com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor> mine, com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor> other)`
    `float` | `visitFloat(boolean minePresent, float mine, boolean otherPresent, float other)`
    `Internal.FloatList` | `visitFloatList(Internal.FloatList mine, Internal.FloatList other)`
    `int` | `visitInt(boolean minePresent, int mine, boolean otherPresent, int other)`
    `Internal.IntList` | `visitIntList(Internal.IntList mine, Internal.IntList other)`
    `LazyFieldLite` | `visitLazyMessage(LazyFieldLite mine, LazyFieldLite other)`
    `<T> Internal.ProtobufList<T>` | `visitList(Internal.ProtobufList<T> mine, Internal.ProtobufList<T> other)`
    `long` | `visitLong(boolean minePresent, long mine, boolean otherPresent, long other)`
    `Internal.LongList` | `visitLongList(Internal.LongList mine, Internal.LongList other)`
    `<K,V> MapFieldLite<K,V>` | `visitMap(MapFieldLite<K,V> mine, MapFieldLite<K,V> other)`
    `<T extends MessageLite> T` | `visitMessage(T mine, T other)` Message fields use null sentinals.
    `java.lang.Object` | `visitOneofBoolean(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofByteString(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofDouble(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofFloat(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofInt(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofLazyMessage(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofLong(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.Object` | `visitOneofMessage(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `void` | `visitOneofNotSet(boolean minePresent)`
    `java.lang.Object` | `visitOneofString(boolean minePresent, java.lang.Object mine, java.lang.Object other)`
    `java.lang.String` | `visitString(boolean minePresent, java.lang.String mine, boolean otherPresent, java.lang.String other)`
    `UnknownFieldSetLite` | `visitUnknownFields(UnknownFieldSetLite mine, UnknownFieldSetLite other)`

- - ### Method Detail

    - #### visitBoolean

          boolean visitBoolean(boolean minePresent,
                             boolean mine,
                             boolean otherPresent,
                             boolean other)

    - #### visitInt

          int visitInt(boolean minePresent,
                     int mine,
                     boolean otherPresent,
                     int other)

    - #### visitDouble

          double visitDouble(boolean minePresent,
                           double mine,
                           boolean otherPresent,
                           double other)

    - #### visitFloat

          float visitFloat(boolean minePresent,
                         float mine,
                         boolean otherPresent,
                         float other)

    - #### visitLong

          long visitLong(boolean minePresent,
                       long mine,
                       boolean otherPresent,
                       long other)

    - #### visitString

          java.lang.String visitString(boolean minePresent,
                                     java.lang.String mine,
                                     boolean otherPresent,
                                     java.lang.String other)

    - #### visitByteString

          ByteString visitByteString(boolean minePresent,
                                   ByteString mine,
                                   boolean otherPresent,
                                   ByteString other)

    - #### visitOneofBoolean

          java.lang.Object visitOneofBoolean(boolean minePresent,
                                           java.lang.Object mine,
                                           java.lang.Object other)

    - #### visitOneofInt

          java.lang.Object visitOneofInt(boolean minePresent,
                                       java.lang.Object mine,
                                       java.lang.Object other)

    - #### visitOneofDouble

          java.lang.Object visitOneofDouble(boolean minePresent,
                                          java.lang.Object mine,
                                          java.lang.Object other)

    - #### visitOneofFloat

          java.lang.Object visitOneofFloat(boolean minePresent,
                                         java.lang.Object mine,
                                         java.lang.Object other)

    - #### visitOneofLong

          java.lang.Object visitOneofLong(boolean minePresent,
                                        java.lang.Object mine,
                                        java.lang.Object other)

    - #### visitOneofString

          java.lang.Object visitOneofString(boolean minePresent,
                                          java.lang.Object mine,
                                          java.lang.Object other)

    - #### visitOneofByteString

          java.lang.Object visitOneofByteString(boolean minePresent,
                                              java.lang.Object mine,
                                              java.lang.Object other)

    - #### visitOneofLazyMessage

          java.lang.Object visitOneofLazyMessage(boolean minePresent,
                                               java.lang.Object mine,
                                               java.lang.Object other)

    - #### visitOneofMessage

          java.lang.Object visitOneofMessage(boolean minePresent,
                                           java.lang.Object mine,
                                           java.lang.Object other)

    - #### visitOneofNotSet

          void visitOneofNotSet(boolean minePresent)

    - #### visitMessage

          <T extends MessageLite> T visitMessage(T mine,
                                               T other)

      Message fields use null sentinals.

    - #### visitLazyMessage

          LazyFieldLite visitLazyMessage(LazyFieldLite mine,
                                       LazyFieldLite other)

    - #### visitList

          <T> Internal.ProtobufList<T> visitList(Internal.ProtobufList<T> mine,
                                               Internal.ProtobufList<T> other)

    - #### visitBooleanList

          Internal.BooleanList visitBooleanList(Internal.BooleanList mine,
                                              Internal.BooleanList other)

    - #### visitIntList

          Internal.IntList visitIntList(Internal.IntList mine,
                                      Internal.IntList other)

    - #### visitDoubleList

          Internal.DoubleList visitDoubleList(Internal.DoubleList mine,
                                            Internal.DoubleList other)

    - #### visitFloatList

          Internal.FloatList visitFloatList(Internal.FloatList mine,
                                          Internal.FloatList other)

    - #### visitLongList

          Internal.LongList visitLongList(Internal.LongList mine,
                                        Internal.LongList other)

    - #### visitExtensions

          com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor> visitExtensions(com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor> mine,
                                                                                                                   com.google.protobuf.FieldSet<com.google.protobuf.GeneratedMessageLite.ExtensionDescriptor> other)

    - #### visitUnknownFields

          UnknownFieldSetLite visitUnknownFields(UnknownFieldSetLite mine,
                                               UnknownFieldSetLite other)

    - #### visitMap

          <K,V> MapFieldLite<K,V> visitMap(MapFieldLite<K,V> mine,
                                         MapFieldLite<K,V> other)