All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adgear.anoa.test.nested.NestedProtobuf Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: com/adgear/anoa/test/nested/nested_protobuf.proto

package com.adgear.anoa.test.nested;

public final class NestedProtobuf {
  private NestedProtobuf() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  /**
   * Protobuf enum {@code com.adgear.anoa.test.nested.Enum}
   */
  public enum Enum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * OFF = 0;
     */
    OFF(0, 0),
    /**
     * ON = 1;
     */
    ON(1, 1),
    ;

    /**
     * OFF = 0;
     */
    public static final int OFF_VALUE = 0;
    /**
     * ON = 1;
     */
    public static final int ON_VALUE = 1;


    public final int getNumber() {
      return value;
    }

    public static Enum valueOf(int value) {
      switch (value) {
        case 0: return OFF;
        case 1: return ON;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        Enum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public Enum findValueByNumber(int number) {
              return Enum.valueOf(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(index);
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.adgear.anoa.test.nested.NestedProtobuf.getDescriptor().getEnumTypes().get(0);
    }

    private static final Enum[] VALUES = values();

    public static Enum valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int index;
    private final int value;

    private Enum(int index, int value) {
      this.index = index;
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.adgear.anoa.test.nested.Enum)
  }

  public interface BytesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.adgear.anoa.test.nested.Bytes)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional bytes bytes_field = 1;
     */
    boolean hasBytesField();
    /**
     * optional bytes bytes_field = 1;
     */
    com.google.protobuf.ByteString getBytesField();

    /**
     * repeated bytes bytes_list = 2;
     */
    java.util.List getBytesListList();
    /**
     * repeated bytes bytes_list = 2;
     */
    int getBytesListCount();
    /**
     * repeated bytes bytes_list = 2;
     */
    com.google.protobuf.ByteString getBytesList(int index);

    /**
     * map<string, bytes> bytes_map = 3;
     */
    java.util.Map
    getBytesMap();
  }
  /**
   * Protobuf type {@code com.adgear.anoa.test.nested.Bytes}
   */
  public  static final class Bytes extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:com.adgear.anoa.test.nested.Bytes)
      BytesOrBuilder {
    // Use Bytes.newBuilder() to construct.
    private Bytes(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
    }
    private Bytes() {
      bytesField_ = com.google.protobuf.ByteString.EMPTY;
      bytesList_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Bytes(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              bitField0_ |= 0x00000001;
              bytesField_ = input.readBytes();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                bytesList_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              bytesList_.add(input.readBytes());
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                bytesMap_ = com.google.protobuf.MapField.newMapField(
                    BytesMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000004;
              }
              com.google.protobuf.MapEntry
              bytesMap = input.readMessage(
                  BytesMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              bytesMap_.getMutableMap().put(bytesMap.getKey(), bytesMap.getValue());
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw new RuntimeException(e.setUnfinishedMessage(this));
      } catch (java.io.IOException e) {
        throw new RuntimeException(
            new com.google.protobuf.InvalidProtocolBufferException(
                e.getMessage()).setUnfinishedMessage(this));
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          bytesList_ = java.util.Collections.unmodifiableList(bytesList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 3:
          return internalGetBytesMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes.class, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder.class);
    }

    private int bitField0_;
    public static final int BYTES_FIELD_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString bytesField_;
    /**
     * optional bytes bytes_field = 1;
     */
    public boolean hasBytesField() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional bytes bytes_field = 1;
     */
    public com.google.protobuf.ByteString getBytesField() {
      return bytesField_;
    }

    public static final int BYTES_LIST_FIELD_NUMBER = 2;
    private java.util.List bytesList_;
    /**
     * repeated bytes bytes_list = 2;
     */
    public java.util.List
        getBytesListList() {
      return bytesList_;
    }
    /**
     * repeated bytes bytes_list = 2;
     */
    public int getBytesListCount() {
      return bytesList_.size();
    }
    /**
     * repeated bytes bytes_list = 2;
     */
    public com.google.protobuf.ByteString getBytesList(int index) {
      return bytesList_.get(index);
    }

    public static final int BYTES_MAP_FIELD_NUMBER = 3;
    private static final class BytesMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, com.google.protobuf.ByteString> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.BYTES,
                  com.google.protobuf.ByteString.EMPTY);
    }
    private com.google.protobuf.MapField<
        java.lang.String, com.google.protobuf.ByteString> bytesMap_;
    private com.google.protobuf.MapField
    internalGetBytesMap() {
      if (bytesMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            BytesMapDefaultEntryHolder.defaultEntry);
     }
      return bytesMap_;
    }
    /**
     * map<string, bytes> bytes_map = 3;
     */

    public java.util.Map getBytesMap() {
      return internalGetBytesMap().getMap();
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, bytesField_);
      }
      for (int i = 0; i < bytesList_.size(); i++) {
        output.writeBytes(2, bytesList_.get(i));
      }
      for (java.util.Map.Entry entry
           : internalGetBytesMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        bytesMap = BytesMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        output.writeMessage(3, bytesMap);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, bytesField_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < bytesList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(bytesList_.get(i));
        }
        size += dataSize;
        size += 1 * getBytesListList().size();
      }
      for (java.util.Map.Entry entry
           : internalGetBytesMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        bytesMap = BytesMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, bytesMap);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.adgear.anoa.test.nested.NestedProtobuf.Bytes prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.adgear.anoa.test.nested.Bytes}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:com.adgear.anoa.test.nested.Bytes)
        com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetBytesMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetMutableBytesMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.adgear.anoa.test.nested.NestedProtobuf.Bytes.class, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder.class);
      }

      // Construct using com.adgear.anoa.test.nested.NestedProtobuf.Bytes.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        bytesField_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        bytesList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        internalGetMutableBytesMap().clear();
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Bytes_descriptor;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getDefaultInstanceForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance();
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes build() {
        com.adgear.anoa.test.nested.NestedProtobuf.Bytes result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes buildPartial() {
        com.adgear.anoa.test.nested.NestedProtobuf.Bytes result = new com.adgear.anoa.test.nested.NestedProtobuf.Bytes(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.bytesField_ = bytesField_;
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          bytesList_ = java.util.Collections.unmodifiableList(bytesList_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.bytesList_ = bytesList_;
        result.bytesMap_ = internalGetBytesMap();
        result.bytesMap_.makeImmutable();
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.adgear.anoa.test.nested.NestedProtobuf.Bytes) {
          return mergeFrom((com.adgear.anoa.test.nested.NestedProtobuf.Bytes)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.adgear.anoa.test.nested.NestedProtobuf.Bytes other) {
        if (other == com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance()) return this;
        if (other.hasBytesField()) {
          setBytesField(other.getBytesField());
        }
        if (!other.bytesList_.isEmpty()) {
          if (bytesList_.isEmpty()) {
            bytesList_ = other.bytesList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureBytesListIsMutable();
            bytesList_.addAll(other.bytesList_);
          }
          onChanged();
        }
        internalGetMutableBytesMap().mergeFrom(
            other.internalGetBytesMap());
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.adgear.anoa.test.nested.NestedProtobuf.Bytes parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.adgear.anoa.test.nested.NestedProtobuf.Bytes) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.ByteString bytesField_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * optional bytes bytes_field = 1;
       */
      public boolean hasBytesField() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional bytes bytes_field = 1;
       */
      public com.google.protobuf.ByteString getBytesField() {
        return bytesField_;
      }
      /**
       * optional bytes bytes_field = 1;
       */
      public Builder setBytesField(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        bytesField_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes bytes_field = 1;
       */
      public Builder clearBytesField() {
        bitField0_ = (bitField0_ & ~0x00000001);
        bytesField_ = getDefaultInstance().getBytesField();
        onChanged();
        return this;
      }

      private java.util.List bytesList_ = java.util.Collections.emptyList();
      private void ensureBytesListIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          bytesList_ = new java.util.ArrayList(bytesList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public java.util.List
          getBytesListList() {
        return java.util.Collections.unmodifiableList(bytesList_);
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public int getBytesListCount() {
        return bytesList_.size();
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public com.google.protobuf.ByteString getBytesList(int index) {
        return bytesList_.get(index);
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public Builder setBytesList(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureBytesListIsMutable();
        bytesList_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public Builder addBytesList(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureBytesListIsMutable();
        bytesList_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public Builder addAllBytesList(
          java.lang.Iterable values) {
        ensureBytesListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, bytesList_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes bytes_list = 2;
       */
      public Builder clearBytesList() {
        bytesList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, com.google.protobuf.ByteString> bytesMap_;
      private com.google.protobuf.MapField
      internalGetBytesMap() {
        if (bytesMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              BytesMapDefaultEntryHolder.defaultEntry);
       }
        return bytesMap_;
      }
      private com.google.protobuf.MapField
      internalGetMutableBytesMap() {
        onChanged();;
        if (bytesMap_ == null) {
          bytesMap_ = com.google.protobuf.MapField.newMapField(
              BytesMapDefaultEntryHolder.defaultEntry);
        }
        if (!bytesMap_.isMutable()) {
          bytesMap_ = bytesMap_.copy();
        }
        return bytesMap_;
      }
      /**
       * map<string, bytes> bytes_map = 3;
       */
      public java.util.Map getBytesMap() {
        return internalGetBytesMap().getMap();
      }
      /**
       * map<string, bytes> bytes_map = 3;
       */
      public java.util.Map
      getMutableBytesMap() {
        return internalGetMutableBytesMap().getMutableMap();
      }
      /**
       * map<string, bytes> bytes_map = 3;
       */
      public Builder putAllBytesMap(
          java.util.Map values) {
        getMutableBytesMap().putAll(values);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:com.adgear.anoa.test.nested.Bytes)
    }

    // @@protoc_insertion_point(class_scope:com.adgear.anoa.test.nested.Bytes)
    private static final com.adgear.anoa.test.nested.NestedProtobuf.Bytes DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.adgear.anoa.test.nested.NestedProtobuf.Bytes();
    }

    public static com.adgear.anoa.test.nested.NestedProtobuf.Bytes getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      public Bytes parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        try {
          return new Bytes(input, extensionRegistry);
        } catch (RuntimeException e) {
          if (e.getCause() instanceof
              com.google.protobuf.InvalidProtocolBufferException) {
            throw (com.google.protobuf.InvalidProtocolBufferException)
                e.getCause();
          }
          throw e;
        }
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface VariantOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.adgear.anoa.test.nested.Variant)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 int_variant = 10 [default = 1];
     */
    boolean hasIntVariant();
    /**
     * optional uint32 int_variant = 10 [default = 1];
     */
    int getIntVariant();

    /**
     * optional sint64 long_variant = 20 [default = -1];
     */
    boolean hasLongVariant();
    /**
     * optional sint64 long_variant = 20 [default = -1];
     */
    long getLongVariant();

    /**
     * optional float float_variant = 30 [default = -1];
     */
    boolean hasFloatVariant();
    /**
     * optional float float_variant = 30 [default = -1];
     */
    float getFloatVariant();

    /**
     * optional double double_variant = 40 [default = -1];
     */
    boolean hasDoubleVariant();
    /**
     * optional double double_variant = 40 [default = -1];
     */
    double getDoubleVariant();

    /**
     * optional bool boolean_variant = 50 [default = true];
     */
    boolean hasBooleanVariant();
    /**
     * optional bool boolean_variant = 50 [default = true];
     */
    boolean getBooleanVariant();

    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    boolean hasStringVariant();
    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    java.lang.String getStringVariant();
    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    com.google.protobuf.ByteString
        getStringVariantBytes();

    /**
     * optional bytes bytes_variant = 70 [default = "\001\002\003"];
     */
    boolean hasBytesVariant();
    /**
     * optional bytes bytes_variant = 70 [default = "\001\002\003"];
     */
    com.google.protobuf.ByteString getBytesVariant();
  }
  /**
   * Protobuf type {@code com.adgear.anoa.test.nested.Variant}
   */
  public  static final class Variant extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:com.adgear.anoa.test.nested.Variant)
      VariantOrBuilder {
    // Use Variant.newBuilder() to construct.
    private Variant(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
    }
    private Variant() {
      intVariant_ = 1;
      longVariant_ = -1L;
      floatVariant_ = -1F;
      doubleVariant_ = -1D;
      booleanVariant_ = true;
      stringVariant_ = "foo";
      bytesVariant_ = com.google.protobuf.Internal.bytesDefaultValue("\001\002\003");
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Variant(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 80: {
              bitField0_ |= 0x00000001;
              intVariant_ = input.readUInt32();
              break;
            }
            case 160: {
              bitField0_ |= 0x00000002;
              longVariant_ = input.readSInt64();
              break;
            }
            case 245: {
              bitField0_ |= 0x00000004;
              floatVariant_ = input.readFloat();
              break;
            }
            case 321: {
              bitField0_ |= 0x00000008;
              doubleVariant_ = input.readDouble();
              break;
            }
            case 400: {
              bitField0_ |= 0x00000010;
              booleanVariant_ = input.readBool();
              break;
            }
            case 482: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000020;
              stringVariant_ = bs;
              break;
            }
            case 562: {
              bitField0_ |= 0x00000040;
              bytesVariant_ = input.readBytes();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw new RuntimeException(e.setUnfinishedMessage(this));
      } catch (java.io.IOException e) {
        throw new RuntimeException(
            new com.google.protobuf.InvalidProtocolBufferException(
                e.getMessage()).setUnfinishedMessage(this));
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Variant_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Variant_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.adgear.anoa.test.nested.NestedProtobuf.Variant.class, com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder.class);
    }

    private int bitField0_;
    public static final int INT_VARIANT_FIELD_NUMBER = 10;
    private int intVariant_;
    /**
     * optional uint32 int_variant = 10 [default = 1];
     */
    public boolean hasIntVariant() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional uint32 int_variant = 10 [default = 1];
     */
    public int getIntVariant() {
      return intVariant_;
    }

    public static final int LONG_VARIANT_FIELD_NUMBER = 20;
    private long longVariant_;
    /**
     * optional sint64 long_variant = 20 [default = -1];
     */
    public boolean hasLongVariant() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional sint64 long_variant = 20 [default = -1];
     */
    public long getLongVariant() {
      return longVariant_;
    }

    public static final int FLOAT_VARIANT_FIELD_NUMBER = 30;
    private float floatVariant_;
    /**
     * optional float float_variant = 30 [default = -1];
     */
    public boolean hasFloatVariant() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional float float_variant = 30 [default = -1];
     */
    public float getFloatVariant() {
      return floatVariant_;
    }

    public static final int DOUBLE_VARIANT_FIELD_NUMBER = 40;
    private double doubleVariant_;
    /**
     * optional double double_variant = 40 [default = -1];
     */
    public boolean hasDoubleVariant() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * optional double double_variant = 40 [default = -1];
     */
    public double getDoubleVariant() {
      return doubleVariant_;
    }

    public static final int BOOLEAN_VARIANT_FIELD_NUMBER = 50;
    private boolean booleanVariant_;
    /**
     * optional bool boolean_variant = 50 [default = true];
     */
    public boolean hasBooleanVariant() {
      return ((bitField0_ & 0x00000010) == 0x00000010);
    }
    /**
     * optional bool boolean_variant = 50 [default = true];
     */
    public boolean getBooleanVariant() {
      return booleanVariant_;
    }

    public static final int STRING_VARIANT_FIELD_NUMBER = 60;
    private volatile java.lang.Object stringVariant_;
    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    public boolean hasStringVariant() {
      return ((bitField0_ & 0x00000020) == 0x00000020);
    }
    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    public java.lang.String getStringVariant() {
      java.lang.Object ref = stringVariant_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          stringVariant_ = s;
        }
        return s;
      }
    }
    /**
     * optional string string_variant = 60 [default = "foo"];
     */
    public com.google.protobuf.ByteString
        getStringVariantBytes() {
      java.lang.Object ref = stringVariant_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        stringVariant_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BYTES_VARIANT_FIELD_NUMBER = 70;
    private com.google.protobuf.ByteString bytesVariant_;
    /**
     * optional bytes bytes_variant = 70 [default = "\001\002\003"];
     */
    public boolean hasBytesVariant() {
      return ((bitField0_ & 0x00000040) == 0x00000040);
    }
    /**
     * optional bytes bytes_variant = 70 [default = "\001\002\003"];
     */
    public com.google.protobuf.ByteString getBytesVariant() {
      return bytesVariant_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(10, intVariant_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeSInt64(20, longVariant_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeFloat(30, floatVariant_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeDouble(40, doubleVariant_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeBool(50, booleanVariant_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        com.google.protobuf.GeneratedMessage.writeString(output, 60, stringVariant_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        output.writeBytes(70, bytesVariant_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, intVariant_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeSInt64Size(20, longVariant_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(30, floatVariant_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(40, doubleVariant_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(50, booleanVariant_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        size += com.google.protobuf.GeneratedMessage.computeStringSize(60, stringVariant_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(70, bytesVariant_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.adgear.anoa.test.nested.NestedProtobuf.Variant prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.adgear.anoa.test.nested.Variant}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:com.adgear.anoa.test.nested.Variant)
        com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Variant_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Variant_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.adgear.anoa.test.nested.NestedProtobuf.Variant.class, com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder.class);
      }

      // Construct using com.adgear.anoa.test.nested.NestedProtobuf.Variant.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        intVariant_ = 1;
        bitField0_ = (bitField0_ & ~0x00000001);
        longVariant_ = -1L;
        bitField0_ = (bitField0_ & ~0x00000002);
        floatVariant_ = -1F;
        bitField0_ = (bitField0_ & ~0x00000004);
        doubleVariant_ = -1D;
        bitField0_ = (bitField0_ & ~0x00000008);
        booleanVariant_ = true;
        bitField0_ = (bitField0_ & ~0x00000010);
        stringVariant_ = "foo";
        bitField0_ = (bitField0_ & ~0x00000020);
        bytesVariant_ = com.google.protobuf.Internal.bytesDefaultValue("\001\002\003");
        bitField0_ = (bitField0_ & ~0x00000040);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Variant_descriptor;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Variant getDefaultInstanceForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance();
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Variant build() {
        com.adgear.anoa.test.nested.NestedProtobuf.Variant result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Variant buildPartial() {
        com.adgear.anoa.test.nested.NestedProtobuf.Variant result = new com.adgear.anoa.test.nested.NestedProtobuf.Variant(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.intVariant_ = intVariant_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.longVariant_ = longVariant_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.floatVariant_ = floatVariant_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.doubleVariant_ = doubleVariant_;
        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
          to_bitField0_ |= 0x00000010;
        }
        result.booleanVariant_ = booleanVariant_;
        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
          to_bitField0_ |= 0x00000020;
        }
        result.stringVariant_ = stringVariant_;
        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
          to_bitField0_ |= 0x00000040;
        }
        result.bytesVariant_ = bytesVariant_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.adgear.anoa.test.nested.NestedProtobuf.Variant) {
          return mergeFrom((com.adgear.anoa.test.nested.NestedProtobuf.Variant)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.adgear.anoa.test.nested.NestedProtobuf.Variant other) {
        if (other == com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance()) return this;
        if (other.hasIntVariant()) {
          setIntVariant(other.getIntVariant());
        }
        if (other.hasLongVariant()) {
          setLongVariant(other.getLongVariant());
        }
        if (other.hasFloatVariant()) {
          setFloatVariant(other.getFloatVariant());
        }
        if (other.hasDoubleVariant()) {
          setDoubleVariant(other.getDoubleVariant());
        }
        if (other.hasBooleanVariant()) {
          setBooleanVariant(other.getBooleanVariant());
        }
        if (other.hasStringVariant()) {
          bitField0_ |= 0x00000020;
          stringVariant_ = other.stringVariant_;
          onChanged();
        }
        if (other.hasBytesVariant()) {
          setBytesVariant(other.getBytesVariant());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.adgear.anoa.test.nested.NestedProtobuf.Variant parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.adgear.anoa.test.nested.NestedProtobuf.Variant) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int intVariant_ = 1;
      /**
       * optional uint32 int_variant = 10 [default = 1];
       */
      public boolean hasIntVariant() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional uint32 int_variant = 10 [default = 1];
       */
      public int getIntVariant() {
        return intVariant_;
      }
      /**
       * optional uint32 int_variant = 10 [default = 1];
       */
      public Builder setIntVariant(int value) {
        bitField0_ |= 0x00000001;
        intVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 int_variant = 10 [default = 1];
       */
      public Builder clearIntVariant() {
        bitField0_ = (bitField0_ & ~0x00000001);
        intVariant_ = 1;
        onChanged();
        return this;
      }

      private long longVariant_ = -1L;
      /**
       * optional sint64 long_variant = 20 [default = -1];
       */
      public boolean hasLongVariant() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional sint64 long_variant = 20 [default = -1];
       */
      public long getLongVariant() {
        return longVariant_;
      }
      /**
       * optional sint64 long_variant = 20 [default = -1];
       */
      public Builder setLongVariant(long value) {
        bitField0_ |= 0x00000002;
        longVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional sint64 long_variant = 20 [default = -1];
       */
      public Builder clearLongVariant() {
        bitField0_ = (bitField0_ & ~0x00000002);
        longVariant_ = -1L;
        onChanged();
        return this;
      }

      private float floatVariant_ = -1F;
      /**
       * optional float float_variant = 30 [default = -1];
       */
      public boolean hasFloatVariant() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional float float_variant = 30 [default = -1];
       */
      public float getFloatVariant() {
        return floatVariant_;
      }
      /**
       * optional float float_variant = 30 [default = -1];
       */
      public Builder setFloatVariant(float value) {
        bitField0_ |= 0x00000004;
        floatVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional float float_variant = 30 [default = -1];
       */
      public Builder clearFloatVariant() {
        bitField0_ = (bitField0_ & ~0x00000004);
        floatVariant_ = -1F;
        onChanged();
        return this;
      }

      private double doubleVariant_ = -1D;
      /**
       * optional double double_variant = 40 [default = -1];
       */
      public boolean hasDoubleVariant() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * optional double double_variant = 40 [default = -1];
       */
      public double getDoubleVariant() {
        return doubleVariant_;
      }
      /**
       * optional double double_variant = 40 [default = -1];
       */
      public Builder setDoubleVariant(double value) {
        bitField0_ |= 0x00000008;
        doubleVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional double double_variant = 40 [default = -1];
       */
      public Builder clearDoubleVariant() {
        bitField0_ = (bitField0_ & ~0x00000008);
        doubleVariant_ = -1D;
        onChanged();
        return this;
      }

      private boolean booleanVariant_ = true;
      /**
       * optional bool boolean_variant = 50 [default = true];
       */
      public boolean hasBooleanVariant() {
        return ((bitField0_ & 0x00000010) == 0x00000010);
      }
      /**
       * optional bool boolean_variant = 50 [default = true];
       */
      public boolean getBooleanVariant() {
        return booleanVariant_;
      }
      /**
       * optional bool boolean_variant = 50 [default = true];
       */
      public Builder setBooleanVariant(boolean value) {
        bitField0_ |= 0x00000010;
        booleanVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bool boolean_variant = 50 [default = true];
       */
      public Builder clearBooleanVariant() {
        bitField0_ = (bitField0_ & ~0x00000010);
        booleanVariant_ = true;
        onChanged();
        return this;
      }

      private java.lang.Object stringVariant_ = "foo";
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public boolean hasStringVariant() {
        return ((bitField0_ & 0x00000020) == 0x00000020);
      }
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public java.lang.String getStringVariant() {
        java.lang.Object ref = stringVariant_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            stringVariant_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public com.google.protobuf.ByteString
          getStringVariantBytes() {
        java.lang.Object ref = stringVariant_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          stringVariant_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public Builder setStringVariant(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000020;
        stringVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public Builder clearStringVariant() {
        bitField0_ = (bitField0_ & ~0x00000020);
        stringVariant_ = getDefaultInstance().getStringVariant();
        onChanged();
        return this;
      }
      /**
       * optional string string_variant = 60 [default = "foo"];
       */
      public Builder setStringVariantBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000020;
        stringVariant_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString bytesVariant_ = com.google.protobuf.Internal.bytesDefaultValue("\001\002\003");
      /**
       * optional bytes bytes_variant = 70 [default = "\001\002\003"];
       */
      public boolean hasBytesVariant() {
        return ((bitField0_ & 0x00000040) == 0x00000040);
      }
      /**
       * optional bytes bytes_variant = 70 [default = "\001\002\003"];
       */
      public com.google.protobuf.ByteString getBytesVariant() {
        return bytesVariant_;
      }
      /**
       * optional bytes bytes_variant = 70 [default = "\001\002\003"];
       */
      public Builder setBytesVariant(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000040;
        bytesVariant_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes bytes_variant = 70 [default = "\001\002\003"];
       */
      public Builder clearBytesVariant() {
        bitField0_ = (bitField0_ & ~0x00000040);
        bytesVariant_ = getDefaultInstance().getBytesVariant();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:com.adgear.anoa.test.nested.Variant)
    }

    // @@protoc_insertion_point(class_scope:com.adgear.anoa.test.nested.Variant)
    private static final com.adgear.anoa.test.nested.NestedProtobuf.Variant DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.adgear.anoa.test.nested.NestedProtobuf.Variant();
    }

    public static com.adgear.anoa.test.nested.NestedProtobuf.Variant getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      public Variant parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        try {
          return new Variant(input, extensionRegistry);
        } catch (RuntimeException e) {
          if (e.getCause() instanceof
              com.google.protobuf.InvalidProtocolBufferException) {
            throw (com.google.protobuf.InvalidProtocolBufferException)
                e.getCause();
          }
          throw e;
        }
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public com.adgear.anoa.test.nested.NestedProtobuf.Variant getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface NestedOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.adgear.anoa.test.nested.Nested)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
     */
    boolean hasEnumField();
    /**
     * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumField();

    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    boolean hasStructField();
    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructField();
    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructFieldOrBuilder();

    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    java.util.List getEnumListFieldList();
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    int getEnumListFieldCount();
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumListField(int index);

    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    java.util.List 
        getStructListFieldList();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructListField(int index);
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    int getStructListFieldCount();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    java.util.List 
        getStructListFieldOrBuilderList();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructListFieldOrBuilder(
        int index);

    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    java.util.List getEnumSetFieldList();
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    int getEnumSetFieldCount();
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumSetField(int index);

    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    java.util.List 
        getStructSetFieldList();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructSetField(int index);
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    int getStructSetFieldCount();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    java.util.List 
        getStructSetFieldOrBuilderList();
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructSetFieldOrBuilder(
        int index);

    /**
     * map<string, .com.adgear.anoa.test.nested.Enum> enum_map_field = 7;
     */
    java.util.Map
    getEnumMapField();

    /**
     * map<string, .com.adgear.anoa.test.nested.Bytes> struct_map_field = 8;
     */
    java.util.Map
    getStructMapField();

    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated java.util.List getFloatListFieldList();
    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated int getFloatListFieldCount();
    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated float getFloatListField(int index);

    /**
     * map<string, float> float_map_field = 11 [deprecated = true];
     */
    @java.lang.Deprecated java.util.Map
    getFloatMapField();

    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    boolean hasVariant();
    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.Variant getVariant();
    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder getVariantOrBuilder();
  }
  /**
   * Protobuf type {@code com.adgear.anoa.test.nested.Nested}
   */
  public  static final class Nested extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:com.adgear.anoa.test.nested.Nested)
      NestedOrBuilder {
    // Use Nested.newBuilder() to construct.
    private Nested(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
    }
    private Nested() {
      enumField_ = 0;
      enumListField_ = java.util.Collections.emptyList();
      structListField_ = java.util.Collections.emptyList();
      enumSetField_ = java.util.Collections.emptyList();
      structSetField_ = java.util.Collections.emptyList();
      floatListField_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Nested(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.adgear.anoa.test.nested.NestedProtobuf.Enum value = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                enumField_ = rawValue;
              }
              break;
            }
            case 18: {
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = structField_.toBuilder();
              }
              structField_ = input.readMessage(com.adgear.anoa.test.nested.NestedProtobuf.Bytes.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(structField_);
                structField_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
            case 24: {
              int rawValue = input.readEnum();
              com.adgear.anoa.test.nested.NestedProtobuf.Enum value = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(3, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                  enumListField_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000004;
                }
                enumListField_.add(rawValue);
              }
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                com.adgear.anoa.test.nested.NestedProtobuf.Enum value = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(3, rawValue);
                } else {
                  if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                    enumListField_ = new java.util.ArrayList();
                    mutable_bitField0_ |= 0x00000004;
                  }
                  enumListField_.add(rawValue);
                }
              }
              input.popLimit(oldLimit);
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                structListField_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              structListField_.add(input.readMessage(com.adgear.anoa.test.nested.NestedProtobuf.Bytes.parser(), extensionRegistry));
              break;
            }
            case 40: {
              int rawValue = input.readEnum();
              com.adgear.anoa.test.nested.NestedProtobuf.Enum value = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(5, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                  enumSetField_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000010;
                }
                enumSetField_.add(rawValue);
              }
              break;
            }
            case 42: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                com.adgear.anoa.test.nested.NestedProtobuf.Enum value = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(5, rawValue);
                } else {
                  if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                    enumSetField_ = new java.util.ArrayList();
                    mutable_bitField0_ |= 0x00000010;
                  }
                  enumSetField_.add(rawValue);
                }
              }
              input.popLimit(oldLimit);
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
                structSetField_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000020;
              }
              structSetField_.add(input.readMessage(com.adgear.anoa.test.nested.NestedProtobuf.Bytes.parser(), extensionRegistry));
              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
                enumMapField_ = com.google.protobuf.MapField.newMapField(
                    EnumMapFieldDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000040;
              }
              com.google.protobuf.ByteString bytes = input.readBytes();
              com.google.protobuf.MapEntry
              enumMapField = EnumMapFieldDefaultEntryHolder.defaultEntry.getParserForType().parseFrom(bytes);
              if (com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(enumMapField.getValue()) == null) {
                unknownFields.mergeLengthDelimitedField(7, bytes);
              } else {
                enumMapField_.getMutableMap().put(enumMapField.getKey(), enumMapField.getValue());
              }
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
                structMapField_ = com.google.protobuf.MapField.newMapField(
                    StructMapFieldDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000080;
              }
              com.google.protobuf.MapEntry
              structMapField = input.readMessage(
                  StructMapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              structMapField_.getMutableMap().put(structMapField.getKey(), structMapField.getValue());
              break;
            }
            case 85: {
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
                floatListField_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000100;
              }
              floatListField_.add(input.readFloat());
              break;
            }
            case 82: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
                floatListField_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000100;
              }
              while (input.getBytesUntilLimit() > 0) {
                floatListField_.add(input.readFloat());
              }
              input.popLimit(limit);
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
                floatMapField_ = com.google.protobuf.MapField.newMapField(
                    FloatMapFieldDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000200;
              }
              com.google.protobuf.MapEntry
              floatMapField = input.readMessage(
                  FloatMapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              floatMapField_.getMutableMap().put(floatMapField.getKey(), floatMapField.getValue());
              break;
            }
            case 98: {
              com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder subBuilder = null;
              if (((bitField0_ & 0x00000004) == 0x00000004)) {
                subBuilder = variant_.toBuilder();
              }
              variant_ = input.readMessage(com.adgear.anoa.test.nested.NestedProtobuf.Variant.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(variant_);
                variant_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000004;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw new RuntimeException(e.setUnfinishedMessage(this));
      } catch (java.io.IOException e) {
        throw new RuntimeException(
            new com.google.protobuf.InvalidProtocolBufferException(
                e.getMessage()).setUnfinishedMessage(this));
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          enumListField_ = java.util.Collections.unmodifiableList(enumListField_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          structListField_ = java.util.Collections.unmodifiableList(structListField_);
        }
        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
          enumSetField_ = java.util.Collections.unmodifiableList(enumSetField_);
        }
        if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
          structSetField_ = java.util.Collections.unmodifiableList(structSetField_);
        }
        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
          floatListField_ = java.util.Collections.unmodifiableList(floatListField_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 7:
          return internalGetEnumMapField();
        case 8:
          return internalGetStructMapField();
        case 11:
          return internalGetFloatMapField();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.adgear.anoa.test.nested.NestedProtobuf.Nested.class, com.adgear.anoa.test.nested.NestedProtobuf.Nested.Builder.class);
    }

    private int bitField0_;
    public static final int ENUM_FIELD_FIELD_NUMBER = 1;
    private int enumField_;
    /**
     * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
     */
    public boolean hasEnumField() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumField() {
      com.adgear.anoa.test.nested.NestedProtobuf.Enum result = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(enumField_);
      return result == null ? com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF : result;
    }

    public static final int STRUCT_FIELD_FIELD_NUMBER = 2;
    private com.adgear.anoa.test.nested.NestedProtobuf.Bytes structField_;
    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    public boolean hasStructField() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructField() {
      return structField_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance() : structField_;
    }
    /**
     * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructFieldOrBuilder() {
      return structField_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance() : structField_;
    }

    public static final int ENUM_LIST_FIELD_FIELD_NUMBER = 3;
    private java.util.List enumListField_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum> enumListField_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>() {
              public com.adgear.anoa.test.nested.NestedProtobuf.Enum convert(java.lang.Integer from) {
                com.adgear.anoa.test.nested.NestedProtobuf.Enum result = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(from);
                return result == null ? com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF : result;
              }
            };
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    public java.util.List getEnumListFieldList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>(enumListField_, enumListField_converter_);
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    public int getEnumListFieldCount() {
      return enumListField_.size();
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumListField(int index) {
      return enumListField_converter_.convert(enumListField_.get(index));
    }

    public static final int STRUCT_LIST_FIELD_FIELD_NUMBER = 4;
    private java.util.List structListField_;
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    public java.util.List getStructListFieldList() {
      return structListField_;
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    public java.util.List 
        getStructListFieldOrBuilderList() {
      return structListField_;
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    public int getStructListFieldCount() {
      return structListField_.size();
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructListField(int index) {
      return structListField_.get(index);
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructListFieldOrBuilder(
        int index) {
      return structListField_.get(index);
    }

    public static final int ENUM_SET_FIELD_FIELD_NUMBER = 5;
    private java.util.List enumSetField_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum> enumSetField_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>() {
              public com.adgear.anoa.test.nested.NestedProtobuf.Enum convert(java.lang.Integer from) {
                com.adgear.anoa.test.nested.NestedProtobuf.Enum result = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(from);
                return result == null ? com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF : result;
              }
            };
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    public java.util.List getEnumSetFieldList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>(enumSetField_, enumSetField_converter_);
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    public int getEnumSetFieldCount() {
      return enumSetField_.size();
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumSetField(int index) {
      return enumSetField_converter_.convert(enumSetField_.get(index));
    }

    public static final int STRUCT_SET_FIELD_FIELD_NUMBER = 6;
    private java.util.List structSetField_;
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    public java.util.List getStructSetFieldList() {
      return structSetField_;
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    public java.util.List 
        getStructSetFieldOrBuilderList() {
      return structSetField_;
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    public int getStructSetFieldCount() {
      return structSetField_.size();
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructSetField(int index) {
      return structSetField_.get(index);
    }
    /**
     * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructSetFieldOrBuilder(
        int index) {
      return structSetField_.get(index);
    }

    public static final int ENUM_MAP_FIELD_FIELD_NUMBER = 7;
    private static final class EnumMapFieldDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.ENUM,
                  com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF.getNumber());
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.Integer> enumMapField_;
    private com.google.protobuf.MapField
    internalGetEnumMapField() {
      if (enumMapField_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            EnumMapFieldDefaultEntryHolder.defaultEntry);
     }
      return enumMapField_;
    }
    private static final
    com.google.protobuf.Internal.MapAdapter.Converter<
        java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum> enumMapFieldValueConverter =
            com.google.protobuf.Internal.MapAdapter.newEnumConverter(
                com.adgear.anoa.test.nested.NestedProtobuf.Enum.internalGetValueMap(),
                com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF);
    /**
     * map<string, .com.adgear.anoa.test.nested.Enum> enum_map_field = 7;
     */

    public java.util.Map
    getEnumMapField() {
      return new com.google.protobuf.Internal.MapAdapter<
          java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Enum, java.lang.Integer>(
              internalGetEnumMapField().getMap(),
              enumMapFieldValueConverter);
    }

    public static final int STRUCT_MAP_FIELD_FIELD_NUMBER = 8;
    private static final class StructMapFieldDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Bytes> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance());
    }
    private com.google.protobuf.MapField<
        java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Bytes> structMapField_;
    private com.google.protobuf.MapField
    internalGetStructMapField() {
      if (structMapField_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            StructMapFieldDefaultEntryHolder.defaultEntry);
     }
      return structMapField_;
    }
    /**
     * map<string, .com.adgear.anoa.test.nested.Bytes> struct_map_field = 8;
     */

    public java.util.Map getStructMapField() {
      return internalGetStructMapField().getMap();
    }

    public static final int FLOAT_LIST_FIELD_FIELD_NUMBER = 10;
    private java.util.List floatListField_;
    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated public java.util.List
        getFloatListFieldList() {
      return floatListField_;
    }
    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated public int getFloatListFieldCount() {
      return floatListField_.size();
    }
    /**
     * repeated float float_list_field = 10 [packed = true, deprecated = true];
     */
    @java.lang.Deprecated public float getFloatListField(int index) {
      return floatListField_.get(index);
    }
    private int floatListFieldMemoizedSerializedSize = -1;

    public static final int FLOAT_MAP_FIELD_FIELD_NUMBER = 11;
    private static final class FloatMapFieldDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.Float> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.FLOAT,
                  0F);
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.Float> floatMapField_;
    private com.google.protobuf.MapField
    internalGetFloatMapField() {
      if (floatMapField_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            FloatMapFieldDefaultEntryHolder.defaultEntry);
     }
      return floatMapField_;
    }
    /**
     * map<string, float> float_map_field = 11 [deprecated = true];
     */
    @java.lang.Deprecated 
    public java.util.Map getFloatMapField() {
      return internalGetFloatMapField().getMap();
    }

    public static final int VARIANT_FIELD_NUMBER = 12;
    private com.adgear.anoa.test.nested.NestedProtobuf.Variant variant_;
    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    public boolean hasVariant() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.Variant getVariant() {
      return variant_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance() : variant_;
    }
    /**
     * optional .com.adgear.anoa.test.nested.Variant variant = 12;
     */
    public com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder getVariantOrBuilder() {
      return variant_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance() : variant_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, enumField_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, getStructField());
      }
      for (int i = 0; i < enumListField_.size(); i++) {
        output.writeEnum(3, enumListField_.get(i));
      }
      for (int i = 0; i < structListField_.size(); i++) {
        output.writeMessage(4, structListField_.get(i));
      }
      for (int i = 0; i < enumSetField_.size(); i++) {
        output.writeEnum(5, enumSetField_.get(i));
      }
      for (int i = 0; i < structSetField_.size(); i++) {
        output.writeMessage(6, structSetField_.get(i));
      }
      for (java.util.Map.Entry entry
           : internalGetEnumMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        enumMapField = EnumMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        output.writeMessage(7, enumMapField);
      }
      for (java.util.Map.Entry entry
           : internalGetStructMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        structMapField = StructMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        output.writeMessage(8, structMapField);
      }
      if (getFloatListFieldList().size() > 0) {
        output.writeRawVarint32(82);
        output.writeRawVarint32(floatListFieldMemoizedSerializedSize);
      }
      for (int i = 0; i < floatListField_.size(); i++) {
        output.writeFloatNoTag(floatListField_.get(i));
      }
      for (java.util.Map.Entry entry
           : internalGetFloatMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        floatMapField = FloatMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        output.writeMessage(11, floatMapField);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeMessage(12, getVariant());
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, enumField_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getStructField());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < enumListField_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(enumListField_.get(i));
        }
        size += dataSize;
        size += 1 * enumListField_.size();
      }
      for (int i = 0; i < structListField_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, structListField_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < enumSetField_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(enumSetField_.get(i));
        }
        size += dataSize;
        size += 1 * enumSetField_.size();
      }
      for (int i = 0; i < structSetField_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, structSetField_.get(i));
      }
      for (java.util.Map.Entry entry
           : internalGetEnumMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        enumMapField = EnumMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(7, enumMapField);
      }
      for (java.util.Map.Entry entry
           : internalGetStructMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        structMapField = StructMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(8, structMapField);
      }
      {
        int dataSize = 0;
        dataSize = 4 * getFloatListFieldList().size();
        size += dataSize;
        if (!getFloatListFieldList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        floatListFieldMemoizedSerializedSize = dataSize;
      }
      for (java.util.Map.Entry entry
           : internalGetFloatMapField().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        floatMapField = FloatMapFieldDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(11, floatMapField);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, getVariant());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.adgear.anoa.test.nested.NestedProtobuf.Nested prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.adgear.anoa.test.nested.Nested}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:com.adgear.anoa.test.nested.Nested)
        com.adgear.anoa.test.nested.NestedProtobuf.NestedOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 7:
            return internalGetEnumMapField();
          case 8:
            return internalGetStructMapField();
          case 11:
            return internalGetFloatMapField();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 7:
            return internalGetMutableEnumMapField();
          case 8:
            return internalGetMutableStructMapField();
          case 11:
            return internalGetMutableFloatMapField();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.adgear.anoa.test.nested.NestedProtobuf.Nested.class, com.adgear.anoa.test.nested.NestedProtobuf.Nested.Builder.class);
      }

      // Construct using com.adgear.anoa.test.nested.NestedProtobuf.Nested.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getStructFieldFieldBuilder();
          getStructListFieldFieldBuilder();
          getStructSetFieldFieldBuilder();
          getVariantFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        enumField_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (structFieldBuilder_ == null) {
          structField_ = null;
        } else {
          structFieldBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        enumListField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        if (structListFieldBuilder_ == null) {
          structListField_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          structListFieldBuilder_.clear();
        }
        enumSetField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
        if (structSetFieldBuilder_ == null) {
          structSetField_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
        } else {
          structSetFieldBuilder_.clear();
        }
        internalGetMutableEnumMapField().clear();
        internalGetMutableStructMapField().clear();
        floatListField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000100);
        internalGetMutableFloatMapField().clear();
        if (variantBuilder_ == null) {
          variant_ = null;
        } else {
          variantBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000400);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.internal_static_com_adgear_anoa_test_nested_Nested_descriptor;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Nested getDefaultInstanceForType() {
        return com.adgear.anoa.test.nested.NestedProtobuf.Nested.getDefaultInstance();
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Nested build() {
        com.adgear.anoa.test.nested.NestedProtobuf.Nested result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.adgear.anoa.test.nested.NestedProtobuf.Nested buildPartial() {
        com.adgear.anoa.test.nested.NestedProtobuf.Nested result = new com.adgear.anoa.test.nested.NestedProtobuf.Nested(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.enumField_ = enumField_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (structFieldBuilder_ == null) {
          result.structField_ = structField_;
        } else {
          result.structField_ = structFieldBuilder_.build();
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          enumListField_ = java.util.Collections.unmodifiableList(enumListField_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.enumListField_ = enumListField_;
        if (structListFieldBuilder_ == null) {
          if (((bitField0_ & 0x00000008) == 0x00000008)) {
            structListField_ = java.util.Collections.unmodifiableList(structListField_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.structListField_ = structListField_;
        } else {
          result.structListField_ = structListFieldBuilder_.build();
        }
        if (((bitField0_ & 0x00000010) == 0x00000010)) {
          enumSetField_ = java.util.Collections.unmodifiableList(enumSetField_);
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.enumSetField_ = enumSetField_;
        if (structSetFieldBuilder_ == null) {
          if (((bitField0_ & 0x00000020) == 0x00000020)) {
            structSetField_ = java.util.Collections.unmodifiableList(structSetField_);
            bitField0_ = (bitField0_ & ~0x00000020);
          }
          result.structSetField_ = structSetField_;
        } else {
          result.structSetField_ = structSetFieldBuilder_.build();
        }
        result.enumMapField_ = internalGetEnumMapField();
        result.enumMapField_.makeImmutable();
        result.structMapField_ = internalGetStructMapField();
        result.structMapField_.makeImmutable();
        if (((bitField0_ & 0x00000100) == 0x00000100)) {
          floatListField_ = java.util.Collections.unmodifiableList(floatListField_);
          bitField0_ = (bitField0_ & ~0x00000100);
        }
        result.floatListField_ = floatListField_;
        result.floatMapField_ = internalGetFloatMapField();
        result.floatMapField_.makeImmutable();
        if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
          to_bitField0_ |= 0x00000004;
        }
        if (variantBuilder_ == null) {
          result.variant_ = variant_;
        } else {
          result.variant_ = variantBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.adgear.anoa.test.nested.NestedProtobuf.Nested) {
          return mergeFrom((com.adgear.anoa.test.nested.NestedProtobuf.Nested)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.adgear.anoa.test.nested.NestedProtobuf.Nested other) {
        if (other == com.adgear.anoa.test.nested.NestedProtobuf.Nested.getDefaultInstance()) return this;
        if (other.hasEnumField()) {
          setEnumField(other.getEnumField());
        }
        if (other.hasStructField()) {
          mergeStructField(other.getStructField());
        }
        if (!other.enumListField_.isEmpty()) {
          if (enumListField_.isEmpty()) {
            enumListField_ = other.enumListField_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureEnumListFieldIsMutable();
            enumListField_.addAll(other.enumListField_);
          }
          onChanged();
        }
        if (structListFieldBuilder_ == null) {
          if (!other.structListField_.isEmpty()) {
            if (structListField_.isEmpty()) {
              structListField_ = other.structListField_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureStructListFieldIsMutable();
              structListField_.addAll(other.structListField_);
            }
            onChanged();
          }
        } else {
          if (!other.structListField_.isEmpty()) {
            if (structListFieldBuilder_.isEmpty()) {
              structListFieldBuilder_.dispose();
              structListFieldBuilder_ = null;
              structListField_ = other.structListField_;
              bitField0_ = (bitField0_ & ~0x00000008);
              structListFieldBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getStructListFieldFieldBuilder() : null;
            } else {
              structListFieldBuilder_.addAllMessages(other.structListField_);
            }
          }
        }
        if (!other.enumSetField_.isEmpty()) {
          if (enumSetField_.isEmpty()) {
            enumSetField_ = other.enumSetField_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureEnumSetFieldIsMutable();
            enumSetField_.addAll(other.enumSetField_);
          }
          onChanged();
        }
        if (structSetFieldBuilder_ == null) {
          if (!other.structSetField_.isEmpty()) {
            if (structSetField_.isEmpty()) {
              structSetField_ = other.structSetField_;
              bitField0_ = (bitField0_ & ~0x00000020);
            } else {
              ensureStructSetFieldIsMutable();
              structSetField_.addAll(other.structSetField_);
            }
            onChanged();
          }
        } else {
          if (!other.structSetField_.isEmpty()) {
            if (structSetFieldBuilder_.isEmpty()) {
              structSetFieldBuilder_.dispose();
              structSetFieldBuilder_ = null;
              structSetField_ = other.structSetField_;
              bitField0_ = (bitField0_ & ~0x00000020);
              structSetFieldBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getStructSetFieldFieldBuilder() : null;
            } else {
              structSetFieldBuilder_.addAllMessages(other.structSetField_);
            }
          }
        }
        internalGetMutableEnumMapField().mergeFrom(
            other.internalGetEnumMapField());
        internalGetMutableStructMapField().mergeFrom(
            other.internalGetStructMapField());
        if (!other.floatListField_.isEmpty()) {
          if (floatListField_.isEmpty()) {
            floatListField_ = other.floatListField_;
            bitField0_ = (bitField0_ & ~0x00000100);
          } else {
            ensureFloatListFieldIsMutable();
            floatListField_.addAll(other.floatListField_);
          }
          onChanged();
        }
        internalGetMutableFloatMapField().mergeFrom(
            other.internalGetFloatMapField());
        if (other.hasVariant()) {
          mergeVariant(other.getVariant());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.adgear.anoa.test.nested.NestedProtobuf.Nested parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.adgear.anoa.test.nested.NestedProtobuf.Nested) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int enumField_ = 0;
      /**
       * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
       */
      public boolean hasEnumField() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumField() {
        com.adgear.anoa.test.nested.NestedProtobuf.Enum result = com.adgear.anoa.test.nested.NestedProtobuf.Enum.valueOf(enumField_);
        return result == null ? com.adgear.anoa.test.nested.NestedProtobuf.Enum.OFF : result;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
       */
      public Builder setEnumField(com.adgear.anoa.test.nested.NestedProtobuf.Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        enumField_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Enum enum_field = 1;
       */
      public Builder clearEnumField() {
        bitField0_ = (bitField0_ & ~0x00000001);
        enumField_ = 0;
        onChanged();
        return this;
      }

      private com.adgear.anoa.test.nested.NestedProtobuf.Bytes structField_ = null;
      private com.google.protobuf.SingleFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> structFieldBuilder_;
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public boolean hasStructField() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructField() {
        if (structFieldBuilder_ == null) {
          return structField_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance() : structField_;
        } else {
          return structFieldBuilder_.getMessage();
        }
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public Builder setStructField(com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          structField_ = value;
          onChanged();
        } else {
          structFieldBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public Builder setStructField(
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structFieldBuilder_ == null) {
          structField_ = builderForValue.build();
          onChanged();
        } else {
          structFieldBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public Builder mergeStructField(com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structFieldBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              structField_ != null &&
              structField_ != com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance()) {
            structField_ =
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes.newBuilder(structField_).mergeFrom(value).buildPartial();
          } else {
            structField_ = value;
          }
          onChanged();
        } else {
          structFieldBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public Builder clearStructField() {
        if (structFieldBuilder_ == null) {
          structField_ = null;
          onChanged();
        } else {
          structFieldBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder getStructFieldBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getStructFieldFieldBuilder().getBuilder();
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructFieldOrBuilder() {
        if (structFieldBuilder_ != null) {
          return structFieldBuilder_.getMessageOrBuilder();
        } else {
          return structField_ == null ?
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance() : structField_;
        }
      }
      /**
       * optional .com.adgear.anoa.test.nested.Bytes struct_field = 2;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> 
          getStructFieldFieldBuilder() {
        if (structFieldBuilder_ == null) {
          structFieldBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder>(
                  getStructField(),
                  getParentForChildren(),
                  isClean());
          structField_ = null;
        }
        return structFieldBuilder_;
      }

      private java.util.List enumListField_ =
        java.util.Collections.emptyList();
      private void ensureEnumListFieldIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          enumListField_ = new java.util.ArrayList(enumListField_);
          bitField0_ |= 0x00000004;
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public java.util.List getEnumListFieldList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>(enumListField_, enumListField_converter_);
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public int getEnumListFieldCount() {
        return enumListField_.size();
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumListField(int index) {
        return enumListField_converter_.convert(enumListField_.get(index));
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public Builder setEnumListField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEnumListFieldIsMutable();
        enumListField_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public Builder addEnumListField(com.adgear.anoa.test.nested.NestedProtobuf.Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEnumListFieldIsMutable();
        enumListField_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public Builder addAllEnumListField(
          java.lang.Iterable values) {
        ensureEnumListFieldIsMutable();
        for (com.adgear.anoa.test.nested.NestedProtobuf.Enum value : values) {
          enumListField_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_list_field = 3;
       */
      public Builder clearEnumListField() {
        enumListField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private java.util.List structListField_ =
        java.util.Collections.emptyList();
      private void ensureStructListFieldIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          structListField_ = new java.util.ArrayList(structListField_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> structListFieldBuilder_;

      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public java.util.List getStructListFieldList() {
        if (structListFieldBuilder_ == null) {
          return java.util.Collections.unmodifiableList(structListField_);
        } else {
          return structListFieldBuilder_.getMessageList();
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public int getStructListFieldCount() {
        if (structListFieldBuilder_ == null) {
          return structListField_.size();
        } else {
          return structListFieldBuilder_.getCount();
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructListField(int index) {
        if (structListFieldBuilder_ == null) {
          return structListField_.get(index);
        } else {
          return structListFieldBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder setStructListField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structListFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructListFieldIsMutable();
          structListField_.set(index, value);
          onChanged();
        } else {
          structListFieldBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder setStructListField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structListFieldBuilder_ == null) {
          ensureStructListFieldIsMutable();
          structListField_.set(index, builderForValue.build());
          onChanged();
        } else {
          structListFieldBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder addStructListField(com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structListFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructListFieldIsMutable();
          structListField_.add(value);
          onChanged();
        } else {
          structListFieldBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder addStructListField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structListFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructListFieldIsMutable();
          structListField_.add(index, value);
          onChanged();
        } else {
          structListFieldBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder addStructListField(
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structListFieldBuilder_ == null) {
          ensureStructListFieldIsMutable();
          structListField_.add(builderForValue.build());
          onChanged();
        } else {
          structListFieldBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder addStructListField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structListFieldBuilder_ == null) {
          ensureStructListFieldIsMutable();
          structListField_.add(index, builderForValue.build());
          onChanged();
        } else {
          structListFieldBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder addAllStructListField(
          java.lang.Iterable values) {
        if (structListFieldBuilder_ == null) {
          ensureStructListFieldIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, structListField_);
          onChanged();
        } else {
          structListFieldBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder clearStructListField() {
        if (structListFieldBuilder_ == null) {
          structListField_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          structListFieldBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public Builder removeStructListField(int index) {
        if (structListFieldBuilder_ == null) {
          ensureStructListFieldIsMutable();
          structListField_.remove(index);
          onChanged();
        } else {
          structListFieldBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder getStructListFieldBuilder(
          int index) {
        return getStructListFieldFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructListFieldOrBuilder(
          int index) {
        if (structListFieldBuilder_ == null) {
          return structListField_.get(index);  } else {
          return structListFieldBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public java.util.List 
           getStructListFieldOrBuilderList() {
        if (structListFieldBuilder_ != null) {
          return structListFieldBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(structListField_);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder addStructListFieldBuilder() {
        return getStructListFieldFieldBuilder().addBuilder(
            com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance());
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder addStructListFieldBuilder(
          int index) {
        return getStructListFieldFieldBuilder().addBuilder(
            index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance());
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_list_field = 4;
       */
      public java.util.List 
           getStructListFieldBuilderList() {
        return getStructListFieldFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> 
          getStructListFieldFieldBuilder() {
        if (structListFieldBuilder_ == null) {
          structListFieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder>(
                  structListField_,
                  ((bitField0_ & 0x00000008) == 0x00000008),
                  getParentForChildren(),
                  isClean());
          structListField_ = null;
        }
        return structListFieldBuilder_;
      }

      private java.util.List enumSetField_ =
        java.util.Collections.emptyList();
      private void ensureEnumSetFieldIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          enumSetField_ = new java.util.ArrayList(enumSetField_);
          bitField0_ |= 0x00000010;
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public java.util.List getEnumSetFieldList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, com.adgear.anoa.test.nested.NestedProtobuf.Enum>(enumSetField_, enumSetField_converter_);
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public int getEnumSetFieldCount() {
        return enumSetField_.size();
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Enum getEnumSetField(int index) {
        return enumSetField_converter_.convert(enumSetField_.get(index));
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public Builder setEnumSetField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEnumSetFieldIsMutable();
        enumSetField_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public Builder addEnumSetField(com.adgear.anoa.test.nested.NestedProtobuf.Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEnumSetFieldIsMutable();
        enumSetField_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public Builder addAllEnumSetField(
          java.lang.Iterable values) {
        ensureEnumSetFieldIsMutable();
        for (com.adgear.anoa.test.nested.NestedProtobuf.Enum value : values) {
          enumSetField_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Enum enum_set_field = 5;
       */
      public Builder clearEnumSetField() {
        enumSetField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }

      private java.util.List structSetField_ =
        java.util.Collections.emptyList();
      private void ensureStructSetFieldIsMutable() {
        if (!((bitField0_ & 0x00000020) == 0x00000020)) {
          structSetField_ = new java.util.ArrayList(structSetField_);
          bitField0_ |= 0x00000020;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> structSetFieldBuilder_;

      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public java.util.List getStructSetFieldList() {
        if (structSetFieldBuilder_ == null) {
          return java.util.Collections.unmodifiableList(structSetField_);
        } else {
          return structSetFieldBuilder_.getMessageList();
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public int getStructSetFieldCount() {
        if (structSetFieldBuilder_ == null) {
          return structSetField_.size();
        } else {
          return structSetFieldBuilder_.getCount();
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes getStructSetField(int index) {
        if (structSetFieldBuilder_ == null) {
          return structSetField_.get(index);
        } else {
          return structSetFieldBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder setStructSetField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structSetFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructSetFieldIsMutable();
          structSetField_.set(index, value);
          onChanged();
        } else {
          structSetFieldBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder setStructSetField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structSetFieldBuilder_ == null) {
          ensureStructSetFieldIsMutable();
          structSetField_.set(index, builderForValue.build());
          onChanged();
        } else {
          structSetFieldBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder addStructSetField(com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structSetFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructSetFieldIsMutable();
          structSetField_.add(value);
          onChanged();
        } else {
          structSetFieldBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder addStructSetField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes value) {
        if (structSetFieldBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStructSetFieldIsMutable();
          structSetField_.add(index, value);
          onChanged();
        } else {
          structSetFieldBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder addStructSetField(
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structSetFieldBuilder_ == null) {
          ensureStructSetFieldIsMutable();
          structSetField_.add(builderForValue.build());
          onChanged();
        } else {
          structSetFieldBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder addStructSetField(
          int index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder builderForValue) {
        if (structSetFieldBuilder_ == null) {
          ensureStructSetFieldIsMutable();
          structSetField_.add(index, builderForValue.build());
          onChanged();
        } else {
          structSetFieldBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder addAllStructSetField(
          java.lang.Iterable values) {
        if (structSetFieldBuilder_ == null) {
          ensureStructSetFieldIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, structSetField_);
          onChanged();
        } else {
          structSetFieldBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder clearStructSetField() {
        if (structSetFieldBuilder_ == null) {
          structSetField_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
          onChanged();
        } else {
          structSetFieldBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public Builder removeStructSetField(int index) {
        if (structSetFieldBuilder_ == null) {
          ensureStructSetFieldIsMutable();
          structSetField_.remove(index);
          onChanged();
        } else {
          structSetFieldBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder getStructSetFieldBuilder(
          int index) {
        return getStructSetFieldFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder getStructSetFieldOrBuilder(
          int index) {
        if (structSetFieldBuilder_ == null) {
          return structSetField_.get(index);  } else {
          return structSetFieldBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public java.util.List 
           getStructSetFieldOrBuilderList() {
        if (structSetFieldBuilder_ != null) {
          return structSetFieldBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(structSetField_);
        }
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder addStructSetFieldBuilder() {
        return getStructSetFieldFieldBuilder().addBuilder(
            com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance());
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder addStructSetFieldBuilder(
          int index) {
        return getStructSetFieldFieldBuilder().addBuilder(
            index, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.getDefaultInstance());
      }
      /**
       * repeated .com.adgear.anoa.test.nested.Bytes struct_set_field = 6;
       */
      public java.util.List 
           getStructSetFieldBuilderList() {
        return getStructSetFieldFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder> 
          getStructSetFieldFieldBuilder() {
        if (structSetFieldBuilder_ == null) {
          structSetFieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.adgear.anoa.test.nested.NestedProtobuf.Bytes, com.adgear.anoa.test.nested.NestedProtobuf.Bytes.Builder, com.adgear.anoa.test.nested.NestedProtobuf.BytesOrBuilder>(
                  structSetField_,
                  ((bitField0_ & 0x00000020) == 0x00000020),
                  getParentForChildren(),
                  isClean());
          structSetField_ = null;
        }
        return structSetFieldBuilder_;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.Integer> enumMapField_;
      private com.google.protobuf.MapField
      internalGetEnumMapField() {
        if (enumMapField_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              EnumMapFieldDefaultEntryHolder.defaultEntry);
       }
        return enumMapField_;
      }
      private com.google.protobuf.MapField
      internalGetMutableEnumMapField() {
        onChanged();;
        if (enumMapField_ == null) {
          enumMapField_ = com.google.protobuf.MapField.newMapField(
              EnumMapFieldDefaultEntryHolder.defaultEntry);
        }
        if (!enumMapField_.isMutable()) {
          enumMapField_ = enumMapField_.copy();
        }
        return enumMapField_;
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Enum> enum_map_field = 7;
       */

      public java.util.Map
      getEnumMapField() {
        return new com.google.protobuf.Internal.MapAdapter<
            java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Enum, java.lang.Integer>(
                internalGetEnumMapField().getMap(),
                enumMapFieldValueConverter);
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Enum> enum_map_field = 7;
       */

      public java.util.Map
      getMutableEnumMapField() {
        return new com.google.protobuf.Internal.MapAdapter<
            java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Enum, java.lang.Integer>(
                internalGetMutableEnumMapField().getMutableMap(),
                enumMapFieldValueConverter);
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Enum> enum_map_field = 7;
       */
      public Builder putAllEnumMapField(
          java.util.Map values) {
        getMutableEnumMapField().putAll(values);
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, com.adgear.anoa.test.nested.NestedProtobuf.Bytes> structMapField_;
      private com.google.protobuf.MapField
      internalGetStructMapField() {
        if (structMapField_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              StructMapFieldDefaultEntryHolder.defaultEntry);
       }
        return structMapField_;
      }
      private com.google.protobuf.MapField
      internalGetMutableStructMapField() {
        onChanged();;
        if (structMapField_ == null) {
          structMapField_ = com.google.protobuf.MapField.newMapField(
              StructMapFieldDefaultEntryHolder.defaultEntry);
        }
        if (!structMapField_.isMutable()) {
          structMapField_ = structMapField_.copy();
        }
        return structMapField_;
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Bytes> struct_map_field = 8;
       */
      public java.util.Map getStructMapField() {
        return internalGetStructMapField().getMap();
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Bytes> struct_map_field = 8;
       */
      public java.util.Map
      getMutableStructMapField() {
        return internalGetMutableStructMapField().getMutableMap();
      }
      /**
       * map<string, .com.adgear.anoa.test.nested.Bytes> struct_map_field = 8;
       */
      public Builder putAllStructMapField(
          java.util.Map values) {
        getMutableStructMapField().putAll(values);
        return this;
      }

      private java.util.List floatListField_ = java.util.Collections.emptyList();
      private void ensureFloatListFieldIsMutable() {
        if (!((bitField0_ & 0x00000100) == 0x00000100)) {
          floatListField_ = new java.util.ArrayList(floatListField_);
          bitField0_ |= 0x00000100;
         }
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public java.util.List
          getFloatListFieldList() {
        return java.util.Collections.unmodifiableList(floatListField_);
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public int getFloatListFieldCount() {
        return floatListField_.size();
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public float getFloatListField(int index) {
        return floatListField_.get(index);
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public Builder setFloatListField(
          int index, float value) {
        ensureFloatListFieldIsMutable();
        floatListField_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public Builder addFloatListField(float value) {
        ensureFloatListFieldIsMutable();
        floatListField_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public Builder addAllFloatListField(
          java.lang.Iterable values) {
        ensureFloatListFieldIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, floatListField_);
        onChanged();
        return this;
      }
      /**
       * repeated float float_list_field = 10 [packed = true, deprecated = true];
       */
      @java.lang.Deprecated public Builder clearFloatListField() {
        floatListField_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000100);
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.Float> floatMapField_;
      private com.google.protobuf.MapField
      internalGetFloatMapField() {
        if (floatMapField_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              FloatMapFieldDefaultEntryHolder.defaultEntry);
       }
        return floatMapField_;
      }
      private com.google.protobuf.MapField
      internalGetMutableFloatMapField() {
        onChanged();;
        if (floatMapField_ == null) {
          floatMapField_ = com.google.protobuf.MapField.newMapField(
              FloatMapFieldDefaultEntryHolder.defaultEntry);
        }
        if (!floatMapField_.isMutable()) {
          floatMapField_ = floatMapField_.copy();
        }
        return floatMapField_;
      }
      /**
       * map<string, float> float_map_field = 11 [deprecated = true];
       */
      public java.util.Map getFloatMapField() {
        return internalGetFloatMapField().getMap();
      }
      /**
       * map<string, float> float_map_field = 11 [deprecated = true];
       */
      public java.util.Map
      getMutableFloatMapField() {
        return internalGetMutableFloatMapField().getMutableMap();
      }
      /**
       * map<string, float> float_map_field = 11 [deprecated = true];
       */
      @java.lang.Deprecated public Builder putAllFloatMapField(
          java.util.Map values) {
        getMutableFloatMapField().putAll(values);
        return this;
      }

      private com.adgear.anoa.test.nested.NestedProtobuf.Variant variant_ = null;
      private com.google.protobuf.SingleFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Variant, com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder, com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder> variantBuilder_;
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public boolean hasVariant() {
        return ((bitField0_ & 0x00000400) == 0x00000400);
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Variant getVariant() {
        if (variantBuilder_ == null) {
          return variant_ == null ? com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance() : variant_;
        } else {
          return variantBuilder_.getMessage();
        }
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public Builder setVariant(com.adgear.anoa.test.nested.NestedProtobuf.Variant value) {
        if (variantBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          variant_ = value;
          onChanged();
        } else {
          variantBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public Builder setVariant(
          com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder builderForValue) {
        if (variantBuilder_ == null) {
          variant_ = builderForValue.build();
          onChanged();
        } else {
          variantBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public Builder mergeVariant(com.adgear.anoa.test.nested.NestedProtobuf.Variant value) {
        if (variantBuilder_ == null) {
          if (((bitField0_ & 0x00000400) == 0x00000400) &&
              variant_ != null &&
              variant_ != com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance()) {
            variant_ =
              com.adgear.anoa.test.nested.NestedProtobuf.Variant.newBuilder(variant_).mergeFrom(value).buildPartial();
          } else {
            variant_ = value;
          }
          onChanged();
        } else {
          variantBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public Builder clearVariant() {
        if (variantBuilder_ == null) {
          variant_ = null;
          onChanged();
        } else {
          variantBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000400);
        return this;
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder getVariantBuilder() {
        bitField0_ |= 0x00000400;
        onChanged();
        return getVariantFieldBuilder().getBuilder();
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      public com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder getVariantOrBuilder() {
        if (variantBuilder_ != null) {
          return variantBuilder_.getMessageOrBuilder();
        } else {
          return variant_ == null ?
              com.adgear.anoa.test.nested.NestedProtobuf.Variant.getDefaultInstance() : variant_;
        }
      }
      /**
       * optional .com.adgear.anoa.test.nested.Variant variant = 12;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.adgear.anoa.test.nested.NestedProtobuf.Variant, com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder, com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder> 
          getVariantFieldBuilder() {
        if (variantBuilder_ == null) {
          variantBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.adgear.anoa.test.nested.NestedProtobuf.Variant, com.adgear.anoa.test.nested.NestedProtobuf.Variant.Builder, com.adgear.anoa.test.nested.NestedProtobuf.VariantOrBuilder>(
                  getVariant(),
                  getParentForChildren(),
                  isClean());
          variant_ = null;
        }
        return variantBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:com.adgear.anoa.test.nested.Nested)
    }

    // @@protoc_insertion_point(class_scope:com.adgear.anoa.test.nested.Nested)
    private static final com.adgear.anoa.test.nested.NestedProtobuf.Nested DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.adgear.anoa.test.nested.NestedProtobuf.Nested();
    }

    public static com.adgear.anoa.test.nested.NestedProtobuf.Nested getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      public Nested parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        try {
          return new Nested(input, extensionRegistry);
        } catch (RuntimeException e) {
          if (e.getCause() instanceof
              com.google.protobuf.InvalidProtocolBufferException) {
            throw (com.google.protobuf.InvalidProtocolBufferException)
                e.getCause();
          }
          throw e;
        }
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public com.adgear.anoa.test.nested.NestedProtobuf.Nested getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Bytes_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Bytes_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Variant_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Variant_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Nested_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Nested_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n1com/adgear/anoa/test/nested/nested_pro" +
      "tobuf.proto\022\033com.adgear.anoa.test.nested" +
      "\"\246\001\n\005Bytes\022\023\n\013bytes_field\030\001 \001(\014\022\022\n\nbytes" +
      "_list\030\002 \003(\014\022C\n\tbytes_map\030\003 \003(\01320.com.adg" +
      "ear.anoa.test.nested.Bytes.BytesMapEntry" +
      "\032/\n\rBytesMapEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" +
      "\002 \001(\014:\0028\001\"\323\001\n\007Variant\022\026\n\013int_variant\030\n \001" +
      "(\r:\0011\022\030\n\014long_variant\030\024 \001(\022:\002-1\022\031\n\rfloat" +
      "_variant\030\036 \001(\002:\002-1\022\032\n\016double_variant\030( \001" +
      "(\001:\002-1\022\035\n\017boolean_variant\0302 \001(\010:\004true\022\033\n",
      "\016string_variant\030< \001(\t:\003foo\022#\n\rbytes_vari" +
      "ant\030F \001(\014:\014\\001\\002\\003\"\264\007\n\006Nested\0225\n\nen" +
      "um_field\030\001 \001(\0162!.com.adgear.anoa.test.ne" +
      "sted.Enum\0228\n\014struct_field\030\002 \001(\0132\".com.ad" +
      "gear.anoa.test.nested.Bytes\022:\n\017enum_list" +
      "_field\030\003 \003(\0162!.com.adgear.anoa.test.nest" +
      "ed.Enum\022=\n\021struct_list_field\030\004 \003(\0132\".com" +
      ".adgear.anoa.test.nested.Bytes\0229\n\016enum_s" +
      "et_field\030\005 \003(\0162!.com.adgear.anoa.test.ne" +
      "sted.Enum\022<\n\020struct_set_field\030\006 \003(\0132\".co",
      "m.adgear.anoa.test.nested.Bytes\022M\n\016enum_" +
      "map_field\030\007 \003(\01325.com.adgear.anoa.test.n" +
      "ested.Nested.EnumMapFieldEntry\022Q\n\020struct" +
      "_map_field\030\010 \003(\01327.com.adgear.anoa.test." +
      "nested.Nested.StructMapFieldEntry\022\036\n\020flo" +
      "at_list_field\030\n \003(\002B\004\020\001\030\001\022S\n\017float_map_f" +
      "ield\030\013 \003(\01326.com.adgear.anoa.test.nested" +
      ".Nested.FloatMapFieldEntryB\002\030\001\0225\n\007varian" +
      "t\030\014 \001(\0132$.com.adgear.anoa.test.nested.Va" +
      "riant\032V\n\021EnumMapFieldEntry\022\013\n\003key\030\001 \001(\t\022",
      "0\n\005value\030\002 \001(\0162!.com.adgear.anoa.test.ne" +
      "sted.Enum:\0028\001\032Y\n\023StructMapFieldEntry\022\013\n\003" +
      "key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".com.adgear.an" +
      "oa.test.nested.Bytes:\0028\001\0324\n\022FloatMapFiel" +
      "dEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\002:\0028\001J\004" +
      "\010\t\020\nR\003barR\003foo*\027\n\004Enum\022\007\n\003OFF\020\000\022\006\n\002ON\020\001"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_com_adgear_anoa_test_nested_Bytes_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_adgear_anoa_test_nested_Bytes_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Bytes_descriptor,
        new java.lang.String[] { "BytesField", "BytesList", "BytesMap", });
    internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_descriptor =
      internal_static_com_adgear_anoa_test_nested_Bytes_descriptor.getNestedTypes().get(0);
    internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Bytes_BytesMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_com_adgear_anoa_test_nested_Variant_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_adgear_anoa_test_nested_Variant_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Variant_descriptor,
        new java.lang.String[] { "IntVariant", "LongVariant", "FloatVariant", "DoubleVariant", "BooleanVariant", "StringVariant", "BytesVariant", });
    internal_static_com_adgear_anoa_test_nested_Nested_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_com_adgear_anoa_test_nested_Nested_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Nested_descriptor,
        new java.lang.String[] { "EnumField", "StructField", "EnumListField", "StructListField", "EnumSetField", "StructSetField", "EnumMapField", "StructMapField", "FloatListField", "FloatMapField", "Variant", });
    internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_descriptor =
      internal_static_com_adgear_anoa_test_nested_Nested_descriptor.getNestedTypes().get(0);
    internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Nested_EnumMapFieldEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_descriptor =
      internal_static_com_adgear_anoa_test_nested_Nested_descriptor.getNestedTypes().get(1);
    internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Nested_StructMapFieldEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_descriptor =
      internal_static_com_adgear_anoa_test_nested_Nested_descriptor.getNestedTypes().get(2);
    internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_com_adgear_anoa_test_nested_Nested_FloatMapFieldEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy