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

com.google.protobuf.UnittestLite Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/unittest_lite.proto

package com.google.protobuf;

public final class UnittestLite {
  private UnittestLite() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(com.google.protobuf.UnittestLite.optionalInt32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalInt64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalUint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalUint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalSint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalSint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalFixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalFixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalSfixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalSfixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalFloatExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalDoubleExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalBoolExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalStringExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalBytesExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalGroupExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalNestedMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalForeignMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalImportMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalNestedEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalForeignEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalImportEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalStringPieceExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalCordExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalPublicImportMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.optionalLazyMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedInt32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedInt64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedUint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedUint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedSint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedSint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedFixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedFixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedSfixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedSfixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedFloatExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedDoubleExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedBoolExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedStringExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedBytesExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedGroupExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedNestedMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedForeignMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedImportMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedNestedEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedForeignEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedImportEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedStringPieceExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedCordExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.repeatedLazyMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultInt32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultInt64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultUint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultUint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultSint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultSint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultFixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultFixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultSfixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultSfixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultFloatExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultDoubleExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultBoolExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultStringExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultBytesExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultNestedEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultForeignEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultImportEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultStringPieceExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.defaultCordExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.oneofUint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.oneofNestedMessageExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.oneofStringExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.oneofBytesExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedInt32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedInt64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedUint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedUint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedSint32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedSint64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedFixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedFixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedSfixed32ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedSfixed64ExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedFloatExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedDoubleExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedBoolExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.packedEnumExtensionLite);
    registry.add(com.google.protobuf.UnittestLite.TestNestedExtensionLite.nestedExtension);
    registry.add(com.google.protobuf.UnittestLite.TestParsingMergeLite.optionalExt);
    registry.add(com.google.protobuf.UnittestLite.TestParsingMergeLite.repeatedExt);
  }
  /**
   * Protobuf enum {@code protobuf_unittest.ForeignEnumLite}
   */
  public enum ForeignEnumLite
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * FOREIGN_LITE_FOO = 4;
     */
    FOREIGN_LITE_FOO(0, 4),
    /**
     * FOREIGN_LITE_BAR = 5;
     */
    FOREIGN_LITE_BAR(1, 5),
    /**
     * FOREIGN_LITE_BAZ = 6;
     */
    FOREIGN_LITE_BAZ(2, 6),
    ;

    /**
     * FOREIGN_LITE_FOO = 4;
     */
    public static final int FOREIGN_LITE_FOO_VALUE = 4;
    /**
     * FOREIGN_LITE_BAR = 5;
     */
    public static final int FOREIGN_LITE_BAR_VALUE = 5;
    /**
     * FOREIGN_LITE_BAZ = 6;
     */
    public static final int FOREIGN_LITE_BAZ_VALUE = 6;


    public final int getNumber() { return value; }

    public static ForeignEnumLite valueOf(int value) {
      switch (value) {
        case 4: return FOREIGN_LITE_FOO;
        case 5: return FOREIGN_LITE_BAR;
        case 6: return FOREIGN_LITE_BAZ;
        default: return null;
      }
    }

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:protobuf_unittest.ForeignEnumLite)
  }

  public interface TestAllTypesLiteOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestAllTypesLite)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * optional int32 optional_int32 = 1;
     *
     * 
     * Singular
     * 
*/ boolean hasOptionalInt32(); /** * optional int32 optional_int32 = 1; * *
     * Singular
     * 
*/ int getOptionalInt32(); /** * optional int64 optional_int64 = 2; */ boolean hasOptionalInt64(); /** * optional int64 optional_int64 = 2; */ long getOptionalInt64(); /** * optional uint32 optional_uint32 = 3; */ boolean hasOptionalUint32(); /** * optional uint32 optional_uint32 = 3; */ int getOptionalUint32(); /** * optional uint64 optional_uint64 = 4; */ boolean hasOptionalUint64(); /** * optional uint64 optional_uint64 = 4; */ long getOptionalUint64(); /** * optional sint32 optional_sint32 = 5; */ boolean hasOptionalSint32(); /** * optional sint32 optional_sint32 = 5; */ int getOptionalSint32(); /** * optional sint64 optional_sint64 = 6; */ boolean hasOptionalSint64(); /** * optional sint64 optional_sint64 = 6; */ long getOptionalSint64(); /** * optional fixed32 optional_fixed32 = 7; */ boolean hasOptionalFixed32(); /** * optional fixed32 optional_fixed32 = 7; */ int getOptionalFixed32(); /** * optional fixed64 optional_fixed64 = 8; */ boolean hasOptionalFixed64(); /** * optional fixed64 optional_fixed64 = 8; */ long getOptionalFixed64(); /** * optional sfixed32 optional_sfixed32 = 9; */ boolean hasOptionalSfixed32(); /** * optional sfixed32 optional_sfixed32 = 9; */ int getOptionalSfixed32(); /** * optional sfixed64 optional_sfixed64 = 10; */ boolean hasOptionalSfixed64(); /** * optional sfixed64 optional_sfixed64 = 10; */ long getOptionalSfixed64(); /** * optional float optional_float = 11; */ boolean hasOptionalFloat(); /** * optional float optional_float = 11; */ float getOptionalFloat(); /** * optional double optional_double = 12; */ boolean hasOptionalDouble(); /** * optional double optional_double = 12; */ double getOptionalDouble(); /** * optional bool optional_bool = 13; */ boolean hasOptionalBool(); /** * optional bool optional_bool = 13; */ boolean getOptionalBool(); /** * optional string optional_string = 14; */ boolean hasOptionalString(); /** * optional string optional_string = 14; */ java.lang.String getOptionalString(); /** * optional string optional_string = 14; */ com.google.protobuf.ByteString getOptionalStringBytes(); /** * optional bytes optional_bytes = 15; */ boolean hasOptionalBytes(); /** * optional bytes optional_bytes = 15; */ com.google.protobuf.ByteString getOptionalBytes(); /** * optional group OptionalGroup = 16 { ... } */ boolean hasOptionalGroup(); /** * optional group OptionalGroup = 16 { ... } */ com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getOptionalGroup(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ boolean hasOptionalNestedMessage(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalNestedMessage(); /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ boolean hasOptionalForeignMessage(); /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ com.google.protobuf.UnittestLite.ForeignMessageLite getOptionalForeignMessage(); /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ boolean hasOptionalImportMessage(); /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ com.google.protobuf.UnittestImportLite.ImportMessageLite getOptionalImportMessage(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ boolean hasOptionalNestedEnum(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getOptionalNestedEnum(); /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ boolean hasOptionalForeignEnum(); /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ com.google.protobuf.UnittestLite.ForeignEnumLite getOptionalForeignEnum(); /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ boolean hasOptionalImportEnum(); /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum(); /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ boolean hasOptionalStringPiece(); /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ java.lang.String getOptionalStringPiece(); /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ com.google.protobuf.ByteString getOptionalStringPieceBytes(); /** * optional string optional_cord = 25 [ctype = CORD]; */ boolean hasOptionalCord(); /** * optional string optional_cord = 25 [ctype = CORD]; */ java.lang.String getOptionalCord(); /** * optional string optional_cord = 25 [ctype = CORD]; */ com.google.protobuf.ByteString getOptionalCordBytes(); /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
     * Defined in unittest_import_public.proto
     * 
*/ boolean hasOptionalPublicImportMessage(); /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
     * Defined in unittest_import_public.proto
     * 
*/ com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite getOptionalPublicImportMessage(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ boolean hasOptionalLazyMessage(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalLazyMessage(); /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ java.util.List getRepeatedInt32List(); /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ int getRepeatedInt32Count(); /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ int getRepeatedInt32(int index); /** * repeated int64 repeated_int64 = 32; */ java.util.List getRepeatedInt64List(); /** * repeated int64 repeated_int64 = 32; */ int getRepeatedInt64Count(); /** * repeated int64 repeated_int64 = 32; */ long getRepeatedInt64(int index); /** * repeated uint32 repeated_uint32 = 33; */ java.util.List getRepeatedUint32List(); /** * repeated uint32 repeated_uint32 = 33; */ int getRepeatedUint32Count(); /** * repeated uint32 repeated_uint32 = 33; */ int getRepeatedUint32(int index); /** * repeated uint64 repeated_uint64 = 34; */ java.util.List getRepeatedUint64List(); /** * repeated uint64 repeated_uint64 = 34; */ int getRepeatedUint64Count(); /** * repeated uint64 repeated_uint64 = 34; */ long getRepeatedUint64(int index); /** * repeated sint32 repeated_sint32 = 35; */ java.util.List getRepeatedSint32List(); /** * repeated sint32 repeated_sint32 = 35; */ int getRepeatedSint32Count(); /** * repeated sint32 repeated_sint32 = 35; */ int getRepeatedSint32(int index); /** * repeated sint64 repeated_sint64 = 36; */ java.util.List getRepeatedSint64List(); /** * repeated sint64 repeated_sint64 = 36; */ int getRepeatedSint64Count(); /** * repeated sint64 repeated_sint64 = 36; */ long getRepeatedSint64(int index); /** * repeated fixed32 repeated_fixed32 = 37; */ java.util.List getRepeatedFixed32List(); /** * repeated fixed32 repeated_fixed32 = 37; */ int getRepeatedFixed32Count(); /** * repeated fixed32 repeated_fixed32 = 37; */ int getRepeatedFixed32(int index); /** * repeated fixed64 repeated_fixed64 = 38; */ java.util.List getRepeatedFixed64List(); /** * repeated fixed64 repeated_fixed64 = 38; */ int getRepeatedFixed64Count(); /** * repeated fixed64 repeated_fixed64 = 38; */ long getRepeatedFixed64(int index); /** * repeated sfixed32 repeated_sfixed32 = 39; */ java.util.List getRepeatedSfixed32List(); /** * repeated sfixed32 repeated_sfixed32 = 39; */ int getRepeatedSfixed32Count(); /** * repeated sfixed32 repeated_sfixed32 = 39; */ int getRepeatedSfixed32(int index); /** * repeated sfixed64 repeated_sfixed64 = 40; */ java.util.List getRepeatedSfixed64List(); /** * repeated sfixed64 repeated_sfixed64 = 40; */ int getRepeatedSfixed64Count(); /** * repeated sfixed64 repeated_sfixed64 = 40; */ long getRepeatedSfixed64(int index); /** * repeated float repeated_float = 41; */ java.util.List getRepeatedFloatList(); /** * repeated float repeated_float = 41; */ int getRepeatedFloatCount(); /** * repeated float repeated_float = 41; */ float getRepeatedFloat(int index); /** * repeated double repeated_double = 42; */ java.util.List getRepeatedDoubleList(); /** * repeated double repeated_double = 42; */ int getRepeatedDoubleCount(); /** * repeated double repeated_double = 42; */ double getRepeatedDouble(int index); /** * repeated bool repeated_bool = 43; */ java.util.List getRepeatedBoolList(); /** * repeated bool repeated_bool = 43; */ int getRepeatedBoolCount(); /** * repeated bool repeated_bool = 43; */ boolean getRepeatedBool(int index); /** * repeated string repeated_string = 44; */ com.google.protobuf.ProtocolStringList getRepeatedStringList(); /** * repeated string repeated_string = 44; */ int getRepeatedStringCount(); /** * repeated string repeated_string = 44; */ java.lang.String getRepeatedString(int index); /** * repeated string repeated_string = 44; */ com.google.protobuf.ByteString getRepeatedStringBytes(int index); /** * repeated bytes repeated_bytes = 45; */ java.util.List getRepeatedBytesList(); /** * repeated bytes repeated_bytes = 45; */ int getRepeatedBytesCount(); /** * repeated bytes repeated_bytes = 45; */ com.google.protobuf.ByteString getRepeatedBytes(int index); /** * repeated group RepeatedGroup = 46 { ... } */ java.util.List getRepeatedGroupList(); /** * repeated group RepeatedGroup = 46 { ... } */ com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index); /** * repeated group RepeatedGroup = 46 { ... } */ int getRepeatedGroupCount(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ java.util.List getRepeatedNestedMessageList(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ int getRepeatedNestedMessageCount(); /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ java.util.List getRepeatedForeignMessageList(); /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index); /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ int getRepeatedForeignMessageCount(); /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ java.util.List getRepeatedImportMessageList(); /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index); /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ int getRepeatedImportMessageCount(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ java.util.List getRepeatedNestedEnumList(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ int getRepeatedNestedEnumCount(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getRepeatedNestedEnum(int index); /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ java.util.List getRepeatedForeignEnumList(); /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ int getRepeatedForeignEnumCount(); /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ com.google.protobuf.UnittestLite.ForeignEnumLite getRepeatedForeignEnum(int index); /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ java.util.List getRepeatedImportEnumList(); /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ int getRepeatedImportEnumCount(); /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ com.google.protobuf.UnittestImportLite.ImportEnumLite getRepeatedImportEnum(int index); /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ com.google.protobuf.ProtocolStringList getRepeatedStringPieceList(); /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ int getRepeatedStringPieceCount(); /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ java.lang.String getRepeatedStringPiece(int index); /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ com.google.protobuf.ByteString getRepeatedStringPieceBytes(int index); /** * repeated string repeated_cord = 55 [ctype = CORD]; */ com.google.protobuf.ProtocolStringList getRepeatedCordList(); /** * repeated string repeated_cord = 55 [ctype = CORD]; */ int getRepeatedCordCount(); /** * repeated string repeated_cord = 55 [ctype = CORD]; */ java.lang.String getRepeatedCord(int index); /** * repeated string repeated_cord = 55 [ctype = CORD]; */ com.google.protobuf.ByteString getRepeatedCordBytes(int index); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ java.util.List getRepeatedLazyMessageList(); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedLazyMessage(int index); /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ int getRepeatedLazyMessageCount(); /** * optional int32 default_int32 = 61 [default = 41]; * *
     * Singular with defaults
     * 
*/ boolean hasDefaultInt32(); /** * optional int32 default_int32 = 61 [default = 41]; * *
     * Singular with defaults
     * 
*/ int getDefaultInt32(); /** * optional int64 default_int64 = 62 [default = 42]; */ boolean hasDefaultInt64(); /** * optional int64 default_int64 = 62 [default = 42]; */ long getDefaultInt64(); /** * optional uint32 default_uint32 = 63 [default = 43]; */ boolean hasDefaultUint32(); /** * optional uint32 default_uint32 = 63 [default = 43]; */ int getDefaultUint32(); /** * optional uint64 default_uint64 = 64 [default = 44]; */ boolean hasDefaultUint64(); /** * optional uint64 default_uint64 = 64 [default = 44]; */ long getDefaultUint64(); /** * optional sint32 default_sint32 = 65 [default = -45]; */ boolean hasDefaultSint32(); /** * optional sint32 default_sint32 = 65 [default = -45]; */ int getDefaultSint32(); /** * optional sint64 default_sint64 = 66 [default = 46]; */ boolean hasDefaultSint64(); /** * optional sint64 default_sint64 = 66 [default = 46]; */ long getDefaultSint64(); /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ boolean hasDefaultFixed32(); /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ int getDefaultFixed32(); /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ boolean hasDefaultFixed64(); /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ long getDefaultFixed64(); /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ boolean hasDefaultSfixed32(); /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ int getDefaultSfixed32(); /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ boolean hasDefaultSfixed64(); /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ long getDefaultSfixed64(); /** * optional float default_float = 71 [default = 51.5]; */ boolean hasDefaultFloat(); /** * optional float default_float = 71 [default = 51.5]; */ float getDefaultFloat(); /** * optional double default_double = 72 [default = 52000]; */ boolean hasDefaultDouble(); /** * optional double default_double = 72 [default = 52000]; */ double getDefaultDouble(); /** * optional bool default_bool = 73 [default = true]; */ boolean hasDefaultBool(); /** * optional bool default_bool = 73 [default = true]; */ boolean getDefaultBool(); /** * optional string default_string = 74 [default = "hello"]; */ boolean hasDefaultString(); /** * optional string default_string = 74 [default = "hello"]; */ java.lang.String getDefaultString(); /** * optional string default_string = 74 [default = "hello"]; */ com.google.protobuf.ByteString getDefaultStringBytes(); /** * optional bytes default_bytes = 75 [default = "world"]; */ boolean hasDefaultBytes(); /** * optional bytes default_bytes = 75 [default = "world"]; */ com.google.protobuf.ByteString getDefaultBytes(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ boolean hasDefaultNestedEnum(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getDefaultNestedEnum(); /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ boolean hasDefaultForeignEnum(); /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ com.google.protobuf.UnittestLite.ForeignEnumLite getDefaultForeignEnum(); /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ boolean hasDefaultImportEnum(); /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum(); /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ boolean hasDefaultStringPiece(); /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ java.lang.String getDefaultStringPiece(); /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ com.google.protobuf.ByteString getDefaultStringPieceBytes(); /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ boolean hasDefaultCord(); /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ java.lang.String getDefaultCord(); /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ com.google.protobuf.ByteString getDefaultCordBytes(); /** * optional uint32 oneof_uint32 = 111; */ boolean hasOneofUint32(); /** * optional uint32 oneof_uint32 = 111; */ int getOneofUint32(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ boolean hasOneofNestedMessage(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOneofNestedMessage(); /** * optional string oneof_string = 113; */ boolean hasOneofString(); /** * optional string oneof_string = 113; */ java.lang.String getOneofString(); /** * optional string oneof_string = 113; */ com.google.protobuf.ByteString getOneofStringBytes(); /** * optional bytes oneof_bytes = 114; */ boolean hasOneofBytes(); /** * optional bytes oneof_bytes = 114; */ com.google.protobuf.ByteString getOneofBytes(); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite} * *
   * Same as TestAllTypes but with the lite runtime.
   * 
*/ public static final class TestAllTypesLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestAllTypesLite) TestAllTypesLiteOrBuilder { // Use TestAllTypesLite.newBuilder() to construct. private TestAllTypesLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestAllTypesLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestAllTypesLite defaultInstance; public static TestAllTypesLite getDefaultInstance() { return defaultInstance; } public TestAllTypesLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestAllTypesLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; optionalInt32_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; optionalInt64_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; optionalUint32_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; optionalUint64_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; optionalSint32_ = input.readSInt32(); break; } case 48: { bitField0_ |= 0x00000020; optionalSint64_ = input.readSInt64(); break; } case 61: { bitField0_ |= 0x00000040; optionalFixed32_ = input.readFixed32(); break; } case 65: { bitField0_ |= 0x00000080; optionalFixed64_ = input.readFixed64(); break; } case 77: { bitField0_ |= 0x00000100; optionalSfixed32_ = input.readSFixed32(); break; } case 81: { bitField0_ |= 0x00000200; optionalSfixed64_ = input.readSFixed64(); break; } case 93: { bitField0_ |= 0x00000400; optionalFloat_ = input.readFloat(); break; } case 97: { bitField0_ |= 0x00000800; optionalDouble_ = input.readDouble(); break; } case 104: { bitField0_ |= 0x00001000; optionalBool_ = input.readBool(); break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; optionalString_ = bs; break; } case 122: { bitField0_ |= 0x00004000; optionalBytes_ = input.readBytes(); break; } case 131: { com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.Builder subBuilder = null; if (((bitField0_ & 0x00008000) == 0x00008000)) { subBuilder = optionalGroup_.toBuilder(); } optionalGroup_ = input.readGroup(16, com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalGroup_); optionalGroup_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; break; } case 146: { com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder subBuilder = null; if (((bitField0_ & 0x00010000) == 0x00010000)) { subBuilder = optionalNestedMessage_.toBuilder(); } optionalNestedMessage_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalNestedMessage_); optionalNestedMessage_ = subBuilder.buildPartial(); } bitField0_ |= 0x00010000; break; } case 154: { com.google.protobuf.UnittestLite.ForeignMessageLite.Builder subBuilder = null; if (((bitField0_ & 0x00020000) == 0x00020000)) { subBuilder = optionalForeignMessage_.toBuilder(); } optionalForeignMessage_ = input.readMessage(com.google.protobuf.UnittestLite.ForeignMessageLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalForeignMessage_); optionalForeignMessage_ = subBuilder.buildPartial(); } bitField0_ |= 0x00020000; break; } case 162: { com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder subBuilder = null; if (((bitField0_ & 0x00040000) == 0x00040000)) { subBuilder = optionalImportMessage_.toBuilder(); } optionalImportMessage_ = input.readMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalImportMessage_); optionalImportMessage_ = subBuilder.buildPartial(); } bitField0_ |= 0x00040000; break; } case 168: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField0_ |= 0x00080000; optionalNestedEnum_ = value; } break; } case 176: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField0_ |= 0x00100000; optionalForeignEnum_ = value; } break; } case 184: { int rawValue = input.readEnum(); com.google.protobuf.UnittestImportLite.ImportEnumLite value = com.google.protobuf.UnittestImportLite.ImportEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField0_ |= 0x00200000; optionalImportEnum_ = value; } break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00400000; optionalStringPiece_ = bs; break; } case 202: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; optionalCord_ = bs; break; } case 210: { com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.Builder subBuilder = null; if (((bitField0_ & 0x01000000) == 0x01000000)) { subBuilder = optionalPublicImportMessage_.toBuilder(); } optionalPublicImportMessage_ = input.readMessage(com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalPublicImportMessage_); optionalPublicImportMessage_ = subBuilder.buildPartial(); } bitField0_ |= 0x01000000; break; } case 218: { optionalLazyMessage_.setByteString(input.readBytes(), extensionRegistry); bitField0_ |= 0x02000000;; break; } case 248: { if (!((mutable_bitField0_ & 0x04000000) == 0x04000000)) { repeatedInt32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x04000000; } repeatedInt32_.add(input.readInt32()); break; } case 250: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x04000000) == 0x04000000) && input.getBytesUntilLimit() > 0) { repeatedInt32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x04000000; } while (input.getBytesUntilLimit() > 0) { repeatedInt32_.add(input.readInt32()); } input.popLimit(limit); break; } case 256: { if (!((mutable_bitField0_ & 0x08000000) == 0x08000000)) { repeatedInt64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x08000000; } repeatedInt64_.add(input.readInt64()); break; } case 258: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x08000000) == 0x08000000) && input.getBytesUntilLimit() > 0) { repeatedInt64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x08000000; } while (input.getBytesUntilLimit() > 0) { repeatedInt64_.add(input.readInt64()); } input.popLimit(limit); break; } case 264: { if (!((mutable_bitField0_ & 0x10000000) == 0x10000000)) { repeatedUint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x10000000; } repeatedUint32_.add(input.readUInt32()); break; } case 266: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x10000000) == 0x10000000) && input.getBytesUntilLimit() > 0) { repeatedUint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x10000000; } while (input.getBytesUntilLimit() > 0) { repeatedUint32_.add(input.readUInt32()); } input.popLimit(limit); break; } case 272: { if (!((mutable_bitField0_ & 0x20000000) == 0x20000000)) { repeatedUint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x20000000; } repeatedUint64_.add(input.readUInt64()); break; } case 274: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x20000000) == 0x20000000) && input.getBytesUntilLimit() > 0) { repeatedUint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x20000000; } while (input.getBytesUntilLimit() > 0) { repeatedUint64_.add(input.readUInt64()); } input.popLimit(limit); break; } case 280: { if (!((mutable_bitField0_ & 0x40000000) == 0x40000000)) { repeatedSint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x40000000; } repeatedSint32_.add(input.readSInt32()); break; } case 282: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x40000000) == 0x40000000) && input.getBytesUntilLimit() > 0) { repeatedSint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x40000000; } while (input.getBytesUntilLimit() > 0) { repeatedSint32_.add(input.readSInt32()); } input.popLimit(limit); break; } case 288: { if (!((mutable_bitField0_ & 0x80000000) == 0x80000000)) { repeatedSint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x80000000; } repeatedSint64_.add(input.readSInt64()); break; } case 290: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x80000000) == 0x80000000) && input.getBytesUntilLimit() > 0) { repeatedSint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x80000000; } while (input.getBytesUntilLimit() > 0) { repeatedSint64_.add(input.readSInt64()); } input.popLimit(limit); break; } case 301: { if (!((mutable_bitField1_ & 0x00000001) == 0x00000001)) { repeatedFixed32_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000001; } repeatedFixed32_.add(input.readFixed32()); break; } case 298: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { repeatedFixed32_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { repeatedFixed32_.add(input.readFixed32()); } input.popLimit(limit); break; } case 305: { if (!((mutable_bitField1_ & 0x00000002) == 0x00000002)) { repeatedFixed64_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000002; } repeatedFixed64_.add(input.readFixed64()); break; } case 306: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { repeatedFixed64_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { repeatedFixed64_.add(input.readFixed64()); } input.popLimit(limit); break; } case 317: { if (!((mutable_bitField1_ & 0x00000004) == 0x00000004)) { repeatedSfixed32_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000004; } repeatedSfixed32_.add(input.readSFixed32()); break; } case 314: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { repeatedSfixed32_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { repeatedSfixed32_.add(input.readSFixed32()); } input.popLimit(limit); break; } case 321: { if (!((mutable_bitField1_ & 0x00000008) == 0x00000008)) { repeatedSfixed64_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000008; } repeatedSfixed64_.add(input.readSFixed64()); break; } case 322: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { repeatedSfixed64_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { repeatedSfixed64_.add(input.readSFixed64()); } input.popLimit(limit); break; } case 333: { if (!((mutable_bitField1_ & 0x00000010) == 0x00000010)) { repeatedFloat_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000010; } repeatedFloat_.add(input.readFloat()); break; } case 330: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { repeatedFloat_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { repeatedFloat_.add(input.readFloat()); } input.popLimit(limit); break; } case 337: { if (!((mutable_bitField1_ & 0x00000020) == 0x00000020)) { repeatedDouble_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000020; } repeatedDouble_.add(input.readDouble()); break; } case 338: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { repeatedDouble_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { repeatedDouble_.add(input.readDouble()); } input.popLimit(limit); break; } case 344: { if (!((mutable_bitField1_ & 0x00000040) == 0x00000040)) { repeatedBool_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000040; } repeatedBool_.add(input.readBool()); break; } case 346: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField1_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { repeatedBool_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { repeatedBool_.add(input.readBool()); } input.popLimit(limit); break; } case 354: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField1_ & 0x00000080) == 0x00000080)) { repeatedString_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField1_ |= 0x00000080; } repeatedString_.add(bs); break; } case 362: { if (!((mutable_bitField1_ & 0x00000100) == 0x00000100)) { repeatedBytes_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000100; } repeatedBytes_.add(input.readBytes()); break; } case 371: { if (!((mutable_bitField1_ & 0x00000200) == 0x00000200)) { repeatedGroup_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000200; } repeatedGroup_.add(input.readGroup(46, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.PARSER, extensionRegistry)); break; } case 386: { if (!((mutable_bitField1_ & 0x00000400) == 0x00000400)) { repeatedNestedMessage_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000400; } repeatedNestedMessage_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.PARSER, extensionRegistry)); break; } case 394: { if (!((mutable_bitField1_ & 0x00000800) == 0x00000800)) { repeatedForeignMessage_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00000800; } repeatedForeignMessage_.add(input.readMessage(com.google.protobuf.UnittestLite.ForeignMessageLite.PARSER, extensionRegistry)); break; } case 402: { if (!((mutable_bitField1_ & 0x00001000) == 0x00001000)) { repeatedImportMessage_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00001000; } repeatedImportMessage_.add(input.readMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite.PARSER, extensionRegistry)); break; } case 408: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00002000) == 0x00002000)) { repeatedNestedEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00002000; } repeatedNestedEnum_.add(value); } break; } case 410: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00002000) == 0x00002000)) { repeatedNestedEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00002000; } repeatedNestedEnum_.add(value); } } input.popLimit(oldLimit); break; } case 416: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00004000) == 0x00004000)) { repeatedForeignEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00004000; } repeatedForeignEnum_.add(value); } break; } case 418: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00004000) == 0x00004000)) { repeatedForeignEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00004000; } repeatedForeignEnum_.add(value); } } input.popLimit(oldLimit); break; } case 424: { int rawValue = input.readEnum(); com.google.protobuf.UnittestImportLite.ImportEnumLite value = com.google.protobuf.UnittestImportLite.ImportEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00008000) == 0x00008000)) { repeatedImportEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00008000; } repeatedImportEnum_.add(value); } break; } case 426: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.UnittestImportLite.ImportEnumLite value = com.google.protobuf.UnittestImportLite.ImportEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField1_ & 0x00008000) == 0x00008000)) { repeatedImportEnum_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00008000; } repeatedImportEnum_.add(value); } } input.popLimit(oldLimit); break; } case 434: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField1_ & 0x00010000) == 0x00010000)) { repeatedStringPiece_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField1_ |= 0x00010000; } repeatedStringPiece_.add(bs); break; } case 442: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField1_ & 0x00020000) == 0x00020000)) { repeatedCord_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField1_ |= 0x00020000; } repeatedCord_.add(bs); break; } case 458: { if (!((mutable_bitField1_ & 0x00040000) == 0x00040000)) { repeatedLazyMessage_ = new java.util.ArrayList(); mutable_bitField1_ |= 0x00040000; } repeatedLazyMessage_.add(new com.google.protobuf.LazyFieldLite( extensionRegistry, input.readBytes())); break; } case 488: { bitField0_ |= 0x04000000; defaultInt32_ = input.readInt32(); break; } case 496: { bitField0_ |= 0x08000000; defaultInt64_ = input.readInt64(); break; } case 504: { bitField0_ |= 0x10000000; defaultUint32_ = input.readUInt32(); break; } case 512: { bitField0_ |= 0x20000000; defaultUint64_ = input.readUInt64(); break; } case 520: { bitField0_ |= 0x40000000; defaultSint32_ = input.readSInt32(); break; } case 528: { bitField0_ |= 0x80000000; defaultSint64_ = input.readSInt64(); break; } case 541: { bitField1_ |= 0x00000001; defaultFixed32_ = input.readFixed32(); break; } case 545: { bitField1_ |= 0x00000002; defaultFixed64_ = input.readFixed64(); break; } case 557: { bitField1_ |= 0x00000004; defaultSfixed32_ = input.readSFixed32(); break; } case 561: { bitField1_ |= 0x00000008; defaultSfixed64_ = input.readSFixed64(); break; } case 573: { bitField1_ |= 0x00000010; defaultFloat_ = input.readFloat(); break; } case 577: { bitField1_ |= 0x00000020; defaultDouble_ = input.readDouble(); break; } case 584: { bitField1_ |= 0x00000040; defaultBool_ = input.readBool(); break; } case 594: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000080; defaultString_ = bs; break; } case 602: { bitField1_ |= 0x00000100; defaultBytes_ = input.readBytes(); break; } case 648: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField1_ |= 0x00000200; defaultNestedEnum_ = value; } break; } case 656: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField1_ |= 0x00000400; defaultForeignEnum_ = value; } break; } case 664: { int rawValue = input.readEnum(); com.google.protobuf.UnittestImportLite.ImportEnumLite value = com.google.protobuf.UnittestImportLite.ImportEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField1_ |= 0x00000800; defaultImportEnum_ = value; } break; } case 674: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00001000; defaultStringPiece_ = bs; break; } case 682: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00002000; defaultCord_ = bs; break; } case 888: { oneofFieldCase_ = 111; oneofField_ = input.readUInt32(); break; } case 898: { com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder subBuilder = null; if (oneofFieldCase_ == 112) { subBuilder = ((com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_).toBuilder(); } oneofField_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_); oneofField_ = subBuilder.buildPartial(); } oneofFieldCase_ = 112; break; } case 906: { com.google.protobuf.ByteString bs = input.readBytes(); oneofFieldCase_ = 113; oneofField_ = bs; break; } case 914: { oneofFieldCase_ = 114; oneofField_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x04000000) == 0x04000000)) { repeatedInt32_ = java.util.Collections.unmodifiableList(repeatedInt32_); } if (((mutable_bitField0_ & 0x08000000) == 0x08000000)) { repeatedInt64_ = java.util.Collections.unmodifiableList(repeatedInt64_); } if (((mutable_bitField0_ & 0x10000000) == 0x10000000)) { repeatedUint32_ = java.util.Collections.unmodifiableList(repeatedUint32_); } if (((mutable_bitField0_ & 0x20000000) == 0x20000000)) { repeatedUint64_ = java.util.Collections.unmodifiableList(repeatedUint64_); } if (((mutable_bitField0_ & 0x40000000) == 0x40000000)) { repeatedSint32_ = java.util.Collections.unmodifiableList(repeatedSint32_); } if (((mutable_bitField0_ & 0x80000000) == 0x80000000)) { repeatedSint64_ = java.util.Collections.unmodifiableList(repeatedSint64_); } if (((mutable_bitField1_ & 0x00000001) == 0x00000001)) { repeatedFixed32_ = java.util.Collections.unmodifiableList(repeatedFixed32_); } if (((mutable_bitField1_ & 0x00000002) == 0x00000002)) { repeatedFixed64_ = java.util.Collections.unmodifiableList(repeatedFixed64_); } if (((mutable_bitField1_ & 0x00000004) == 0x00000004)) { repeatedSfixed32_ = java.util.Collections.unmodifiableList(repeatedSfixed32_); } if (((mutable_bitField1_ & 0x00000008) == 0x00000008)) { repeatedSfixed64_ = java.util.Collections.unmodifiableList(repeatedSfixed64_); } if (((mutable_bitField1_ & 0x00000010) == 0x00000010)) { repeatedFloat_ = java.util.Collections.unmodifiableList(repeatedFloat_); } if (((mutable_bitField1_ & 0x00000020) == 0x00000020)) { repeatedDouble_ = java.util.Collections.unmodifiableList(repeatedDouble_); } if (((mutable_bitField1_ & 0x00000040) == 0x00000040)) { repeatedBool_ = java.util.Collections.unmodifiableList(repeatedBool_); } if (((mutable_bitField1_ & 0x00000080) == 0x00000080)) { repeatedString_ = repeatedString_.getUnmodifiableView(); } if (((mutable_bitField1_ & 0x00000100) == 0x00000100)) { repeatedBytes_ = java.util.Collections.unmodifiableList(repeatedBytes_); } if (((mutable_bitField1_ & 0x00000200) == 0x00000200)) { repeatedGroup_ = java.util.Collections.unmodifiableList(repeatedGroup_); } if (((mutable_bitField1_ & 0x00000400) == 0x00000400)) { repeatedNestedMessage_ = java.util.Collections.unmodifiableList(repeatedNestedMessage_); } if (((mutable_bitField1_ & 0x00000800) == 0x00000800)) { repeatedForeignMessage_ = java.util.Collections.unmodifiableList(repeatedForeignMessage_); } if (((mutable_bitField1_ & 0x00001000) == 0x00001000)) { repeatedImportMessage_ = java.util.Collections.unmodifiableList(repeatedImportMessage_); } if (((mutable_bitField1_ & 0x00002000) == 0x00002000)) { repeatedNestedEnum_ = java.util.Collections.unmodifiableList(repeatedNestedEnum_); } if (((mutable_bitField1_ & 0x00004000) == 0x00004000)) { repeatedForeignEnum_ = java.util.Collections.unmodifiableList(repeatedForeignEnum_); } if (((mutable_bitField1_ & 0x00008000) == 0x00008000)) { repeatedImportEnum_ = java.util.Collections.unmodifiableList(repeatedImportEnum_); } if (((mutable_bitField1_ & 0x00010000) == 0x00010000)) { repeatedStringPiece_ = repeatedStringPiece_.getUnmodifiableView(); } if (((mutable_bitField1_ & 0x00020000) == 0x00020000)) { repeatedCord_ = repeatedCord_.getUnmodifiableView(); } if (((mutable_bitField1_ & 0x00040000) == 0x00040000)) { repeatedLazyMessage_ = java.util.Collections.unmodifiableList(repeatedLazyMessage_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestAllTypesLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestAllTypesLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code protobuf_unittest.TestAllTypesLite.NestedEnum} */ public enum NestedEnum implements com.google.protobuf.Internal.EnumLite { /** * FOO = 1; */ FOO(0, 1), /** * BAR = 2; */ BAR(1, 2), /** * BAZ = 3; */ BAZ(2, 3), ; /** * FOO = 1; */ public static final int FOO_VALUE = 1; /** * BAR = 2; */ public static final int BAR_VALUE = 2; /** * BAZ = 3; */ public static final int BAZ_VALUE = 3; public final int getNumber() { return value; } public static NestedEnum valueOf(int value) { switch (value) { case 1: return FOO; case 2: return BAR; case 3: return BAZ; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NestedEnum findValueByNumber(int number) { return NestedEnum.valueOf(number); } }; private final int value; private NestedEnum(int index, int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:protobuf_unittest.TestAllTypesLite.NestedEnum) } public interface NestedMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestAllTypesLite.NestedMessage) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 bb = 1; */ boolean hasBb(); /** * optional int32 bb = 1; */ int getBb(); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.NestedMessage} */ public static final class NestedMessage extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestAllTypesLite.NestedMessage) NestedMessageOrBuilder { // Use NestedMessage.newBuilder() to construct. private NestedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private NestedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final NestedMessage defaultInstance; public static NestedMessage getDefaultInstance() { return defaultInstance; } public NestedMessage getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private NestedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; bb_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public NestedMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NestedMessage(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int BB_FIELD_NUMBER = 1; private int bb_; /** * optional int32 bb = 1; */ public boolean hasBb() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 bb = 1; */ public int getBb() { return bb_; } private void initFields() { bb_ = 0; } 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.writeInt32(1, bb_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, bb_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.NestedMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestAllTypesLite.NestedMessage) com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); bb_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage build() { com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage buildPartial() { com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage result = new com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.bb_ = bb_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage other) { if (other == com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()) return this; if (other.hasBb()) { setBb(other.getBb()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bb_ ; /** * optional int32 bb = 1; */ public boolean hasBb() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 bb = 1; */ public int getBb() { return bb_; } /** * optional int32 bb = 1; */ public Builder setBb(int value) { bitField0_ |= 0x00000001; bb_ = value; return this; } /** * optional int32 bb = 1; */ public Builder clearBb() { bitField0_ = (bitField0_ & ~0x00000001); bb_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestAllTypesLite.NestedMessage) } static { defaultInstance = new NestedMessage(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestAllTypesLite.NestedMessage) } public interface OptionalGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestAllTypesLite.OptionalGroup) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 a = 17; */ boolean hasA(); /** * optional int32 a = 17; */ int getA(); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.OptionalGroup} */ public static final class OptionalGroup extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestAllTypesLite.OptionalGroup) OptionalGroupOrBuilder { // Use OptionalGroup.newBuilder() to construct. private OptionalGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private OptionalGroup(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final OptionalGroup defaultInstance; public static OptionalGroup getDefaultInstance() { return defaultInstance; } public OptionalGroup getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private OptionalGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 136: { bitField0_ |= 0x00000001; a_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OptionalGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OptionalGroup(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int A_FIELD_NUMBER = 17; private int a_; /** * optional int32 a = 17; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 17; */ public int getA() { return a_; } private void initFields() { a_ = 0; } 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.writeInt32(17, a_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, a_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.OptionalGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestAllTypesLite.OptionalGroup) com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroupOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); a_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup build() { com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup buildPartial() { com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup result = new com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.a_ = a_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup other) { if (other == com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance()) return this; if (other.hasA()) { setA(other.getA()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int a_ ; /** * optional int32 a = 17; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 17; */ public int getA() { return a_; } /** * optional int32 a = 17; */ public Builder setA(int value) { bitField0_ |= 0x00000001; a_ = value; return this; } /** * optional int32 a = 17; */ public Builder clearA() { bitField0_ = (bitField0_ & ~0x00000001); a_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestAllTypesLite.OptionalGroup) } static { defaultInstance = new OptionalGroup(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestAllTypesLite.OptionalGroup) } public interface RepeatedGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestAllTypesLite.RepeatedGroup) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 a = 47; */ boolean hasA(); /** * optional int32 a = 47; */ int getA(); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.RepeatedGroup} */ public static final class RepeatedGroup extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestAllTypesLite.RepeatedGroup) RepeatedGroupOrBuilder { // Use RepeatedGroup.newBuilder() to construct. private RepeatedGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RepeatedGroup(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RepeatedGroup defaultInstance; public static RepeatedGroup getDefaultInstance() { return defaultInstance; } public RepeatedGroup getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private RepeatedGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 376: { bitField0_ |= 0x00000001; a_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RepeatedGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatedGroup(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int A_FIELD_NUMBER = 47; private int a_; /** * optional int32 a = 47; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 47; */ public int getA() { return a_; } private void initFields() { a_ = 0; } 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.writeInt32(47, a_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(47, a_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite.RepeatedGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestAllTypesLite.RepeatedGroup) com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroupOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); a_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup build() { com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup buildPartial() { com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup result = new com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.a_ = a_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup other) { if (other == com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.getDefaultInstance()) return this; if (other.hasA()) { setA(other.getA()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int a_ ; /** * optional int32 a = 47; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 47; */ public int getA() { return a_; } /** * optional int32 a = 47; */ public Builder setA(int value) { bitField0_ |= 0x00000001; a_ = value; return this; } /** * optional int32 a = 47; */ public Builder clearA() { bitField0_ = (bitField0_ & ~0x00000001); a_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestAllTypesLite.RepeatedGroup) } static { defaultInstance = new RepeatedGroup(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestAllTypesLite.RepeatedGroup) } private int bitField0_; private int bitField1_; private int oneofFieldCase_ = 0; private java.lang.Object oneofField_; public enum OneofFieldCase implements com.google.protobuf.Internal.EnumLite { ONEOF_UINT32(111), ONEOF_NESTED_MESSAGE(112), ONEOF_STRING(113), ONEOF_BYTES(114), ONEOFFIELD_NOT_SET(0); private int value = 0; private OneofFieldCase(int value) { this.value = value; } public static OneofFieldCase valueOf(int value) { switch (value) { case 111: return ONEOF_UINT32; case 112: return ONEOF_NESTED_MESSAGE; case 113: return ONEOF_STRING; case 114: return ONEOF_BYTES; case 0: return ONEOFFIELD_NOT_SET; default: throw new java.lang.IllegalArgumentException( "Value is undefined for this oneof enum."); } } public int getNumber() { return this.value; } }; public OneofFieldCase getOneofFieldCase() { return OneofFieldCase.valueOf( oneofFieldCase_); } public static final int OPTIONAL_INT32_FIELD_NUMBER = 1; private int optionalInt32_; /** * optional int32 optional_int32 = 1; * *
     * Singular
     * 
*/ public boolean hasOptionalInt32() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 optional_int32 = 1; * *
     * Singular
     * 
*/ public int getOptionalInt32() { return optionalInt32_; } public static final int OPTIONAL_INT64_FIELD_NUMBER = 2; private long optionalInt64_; /** * optional int64 optional_int64 = 2; */ public boolean hasOptionalInt64() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 optional_int64 = 2; */ public long getOptionalInt64() { return optionalInt64_; } public static final int OPTIONAL_UINT32_FIELD_NUMBER = 3; private int optionalUint32_; /** * optional uint32 optional_uint32 = 3; */ public boolean hasOptionalUint32() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 optional_uint32 = 3; */ public int getOptionalUint32() { return optionalUint32_; } public static final int OPTIONAL_UINT64_FIELD_NUMBER = 4; private long optionalUint64_; /** * optional uint64 optional_uint64 = 4; */ public boolean hasOptionalUint64() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 optional_uint64 = 4; */ public long getOptionalUint64() { return optionalUint64_; } public static final int OPTIONAL_SINT32_FIELD_NUMBER = 5; private int optionalSint32_; /** * optional sint32 optional_sint32 = 5; */ public boolean hasOptionalSint32() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional sint32 optional_sint32 = 5; */ public int getOptionalSint32() { return optionalSint32_; } public static final int OPTIONAL_SINT64_FIELD_NUMBER = 6; private long optionalSint64_; /** * optional sint64 optional_sint64 = 6; */ public boolean hasOptionalSint64() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional sint64 optional_sint64 = 6; */ public long getOptionalSint64() { return optionalSint64_; } public static final int OPTIONAL_FIXED32_FIELD_NUMBER = 7; private int optionalFixed32_; /** * optional fixed32 optional_fixed32 = 7; */ public boolean hasOptionalFixed32() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional fixed32 optional_fixed32 = 7; */ public int getOptionalFixed32() { return optionalFixed32_; } public static final int OPTIONAL_FIXED64_FIELD_NUMBER = 8; private long optionalFixed64_; /** * optional fixed64 optional_fixed64 = 8; */ public boolean hasOptionalFixed64() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional fixed64 optional_fixed64 = 8; */ public long getOptionalFixed64() { return optionalFixed64_; } public static final int OPTIONAL_SFIXED32_FIELD_NUMBER = 9; private int optionalSfixed32_; /** * optional sfixed32 optional_sfixed32 = 9; */ public boolean hasOptionalSfixed32() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional sfixed32 optional_sfixed32 = 9; */ public int getOptionalSfixed32() { return optionalSfixed32_; } public static final int OPTIONAL_SFIXED64_FIELD_NUMBER = 10; private long optionalSfixed64_; /** * optional sfixed64 optional_sfixed64 = 10; */ public boolean hasOptionalSfixed64() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional sfixed64 optional_sfixed64 = 10; */ public long getOptionalSfixed64() { return optionalSfixed64_; } public static final int OPTIONAL_FLOAT_FIELD_NUMBER = 11; private float optionalFloat_; /** * optional float optional_float = 11; */ public boolean hasOptionalFloat() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional float optional_float = 11; */ public float getOptionalFloat() { return optionalFloat_; } public static final int OPTIONAL_DOUBLE_FIELD_NUMBER = 12; private double optionalDouble_; /** * optional double optional_double = 12; */ public boolean hasOptionalDouble() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional double optional_double = 12; */ public double getOptionalDouble() { return optionalDouble_; } public static final int OPTIONAL_BOOL_FIELD_NUMBER = 13; private boolean optionalBool_; /** * optional bool optional_bool = 13; */ public boolean hasOptionalBool() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool optional_bool = 13; */ public boolean getOptionalBool() { return optionalBool_; } public static final int OPTIONAL_STRING_FIELD_NUMBER = 14; private java.lang.Object optionalString_; /** * optional string optional_string = 14; */ public boolean hasOptionalString() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string optional_string = 14; */ public java.lang.String getOptionalString() { java.lang.Object ref = optionalString_; 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()) { optionalString_ = s; } return s; } } /** * optional string optional_string = 14; */ public com.google.protobuf.ByteString getOptionalStringBytes() { java.lang.Object ref = optionalString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPTIONAL_BYTES_FIELD_NUMBER = 15; private com.google.protobuf.ByteString optionalBytes_; /** * optional bytes optional_bytes = 15; */ public boolean hasOptionalBytes() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional bytes optional_bytes = 15; */ public com.google.protobuf.ByteString getOptionalBytes() { return optionalBytes_; } public static final int OPTIONALGROUP_FIELD_NUMBER = 16; private com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup optionalGroup_; /** * optional group OptionalGroup = 16 { ... } */ public boolean hasOptionalGroup() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional group OptionalGroup = 16 { ... } */ public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getOptionalGroup() { return optionalGroup_; } public static final int OPTIONAL_NESTED_MESSAGE_FIELD_NUMBER = 18; private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage optionalNestedMessage_; /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public boolean hasOptionalNestedMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalNestedMessage() { return optionalNestedMessage_; } public static final int OPTIONAL_FOREIGN_MESSAGE_FIELD_NUMBER = 19; private com.google.protobuf.UnittestLite.ForeignMessageLite optionalForeignMessage_; /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public boolean hasOptionalForeignMessage() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public com.google.protobuf.UnittestLite.ForeignMessageLite getOptionalForeignMessage() { return optionalForeignMessage_; } public static final int OPTIONAL_IMPORT_MESSAGE_FIELD_NUMBER = 20; private com.google.protobuf.UnittestImportLite.ImportMessageLite optionalImportMessage_; /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public boolean hasOptionalImportMessage() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public com.google.protobuf.UnittestImportLite.ImportMessageLite getOptionalImportMessage() { return optionalImportMessage_; } public static final int OPTIONAL_NESTED_ENUM_FIELD_NUMBER = 21; private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum optionalNestedEnum_; /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public boolean hasOptionalNestedEnum() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getOptionalNestedEnum() { return optionalNestedEnum_; } public static final int OPTIONAL_FOREIGN_ENUM_FIELD_NUMBER = 22; private com.google.protobuf.UnittestLite.ForeignEnumLite optionalForeignEnum_; /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public boolean hasOptionalForeignEnum() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getOptionalForeignEnum() { return optionalForeignEnum_; } public static final int OPTIONAL_IMPORT_ENUM_FIELD_NUMBER = 23; private com.google.protobuf.UnittestImportLite.ImportEnumLite optionalImportEnum_; /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public boolean hasOptionalImportEnum() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum() { return optionalImportEnum_; } public static final int OPTIONAL_STRING_PIECE_FIELD_NUMBER = 24; private java.lang.Object optionalStringPiece_; /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public boolean hasOptionalStringPiece() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public java.lang.String getOptionalStringPiece() { java.lang.Object ref = optionalStringPiece_; 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()) { optionalStringPiece_ = s; } return s; } } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getOptionalStringPieceBytes() { java.lang.Object ref = optionalStringPiece_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalStringPiece_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPTIONAL_CORD_FIELD_NUMBER = 25; private java.lang.Object optionalCord_; /** * optional string optional_cord = 25 [ctype = CORD]; */ public boolean hasOptionalCord() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string optional_cord = 25 [ctype = CORD]; */ public java.lang.String getOptionalCord() { java.lang.Object ref = optionalCord_; 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()) { optionalCord_ = s; } return s; } } /** * optional string optional_cord = 25 [ctype = CORD]; */ public com.google.protobuf.ByteString getOptionalCordBytes() { java.lang.Object ref = optionalCord_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalCord_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPTIONAL_PUBLIC_IMPORT_MESSAGE_FIELD_NUMBER = 26; private com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite optionalPublicImportMessage_; /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
     * Defined in unittest_import_public.proto
     * 
*/ public boolean hasOptionalPublicImportMessage() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
     * Defined in unittest_import_public.proto
     * 
*/ public com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite getOptionalPublicImportMessage() { return optionalPublicImportMessage_; } public static final int OPTIONAL_LAZY_MESSAGE_FIELD_NUMBER = 27; private com.google.protobuf.LazyFieldLite optionalLazyMessage_ = new com.google.protobuf.LazyFieldLite(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public boolean hasOptionalLazyMessage() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalLazyMessage() { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) optionalLazyMessage_.getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()); } public static final int REPEATED_INT32_FIELD_NUMBER = 31; private java.util.List repeatedInt32_; /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ public java.util.List getRepeatedInt32List() { return repeatedInt32_; } /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ public int getRepeatedInt32Count() { return repeatedInt32_.size(); } /** * repeated int32 repeated_int32 = 31; * *
     * Repeated
     * 
*/ public int getRepeatedInt32(int index) { return repeatedInt32_.get(index); } public static final int REPEATED_INT64_FIELD_NUMBER = 32; private java.util.List repeatedInt64_; /** * repeated int64 repeated_int64 = 32; */ public java.util.List getRepeatedInt64List() { return repeatedInt64_; } /** * repeated int64 repeated_int64 = 32; */ public int getRepeatedInt64Count() { return repeatedInt64_.size(); } /** * repeated int64 repeated_int64 = 32; */ public long getRepeatedInt64(int index) { return repeatedInt64_.get(index); } public static final int REPEATED_UINT32_FIELD_NUMBER = 33; private java.util.List repeatedUint32_; /** * repeated uint32 repeated_uint32 = 33; */ public java.util.List getRepeatedUint32List() { return repeatedUint32_; } /** * repeated uint32 repeated_uint32 = 33; */ public int getRepeatedUint32Count() { return repeatedUint32_.size(); } /** * repeated uint32 repeated_uint32 = 33; */ public int getRepeatedUint32(int index) { return repeatedUint32_.get(index); } public static final int REPEATED_UINT64_FIELD_NUMBER = 34; private java.util.List repeatedUint64_; /** * repeated uint64 repeated_uint64 = 34; */ public java.util.List getRepeatedUint64List() { return repeatedUint64_; } /** * repeated uint64 repeated_uint64 = 34; */ public int getRepeatedUint64Count() { return repeatedUint64_.size(); } /** * repeated uint64 repeated_uint64 = 34; */ public long getRepeatedUint64(int index) { return repeatedUint64_.get(index); } public static final int REPEATED_SINT32_FIELD_NUMBER = 35; private java.util.List repeatedSint32_; /** * repeated sint32 repeated_sint32 = 35; */ public java.util.List getRepeatedSint32List() { return repeatedSint32_; } /** * repeated sint32 repeated_sint32 = 35; */ public int getRepeatedSint32Count() { return repeatedSint32_.size(); } /** * repeated sint32 repeated_sint32 = 35; */ public int getRepeatedSint32(int index) { return repeatedSint32_.get(index); } public static final int REPEATED_SINT64_FIELD_NUMBER = 36; private java.util.List repeatedSint64_; /** * repeated sint64 repeated_sint64 = 36; */ public java.util.List getRepeatedSint64List() { return repeatedSint64_; } /** * repeated sint64 repeated_sint64 = 36; */ public int getRepeatedSint64Count() { return repeatedSint64_.size(); } /** * repeated sint64 repeated_sint64 = 36; */ public long getRepeatedSint64(int index) { return repeatedSint64_.get(index); } public static final int REPEATED_FIXED32_FIELD_NUMBER = 37; private java.util.List repeatedFixed32_; /** * repeated fixed32 repeated_fixed32 = 37; */ public java.util.List getRepeatedFixed32List() { return repeatedFixed32_; } /** * repeated fixed32 repeated_fixed32 = 37; */ public int getRepeatedFixed32Count() { return repeatedFixed32_.size(); } /** * repeated fixed32 repeated_fixed32 = 37; */ public int getRepeatedFixed32(int index) { return repeatedFixed32_.get(index); } public static final int REPEATED_FIXED64_FIELD_NUMBER = 38; private java.util.List repeatedFixed64_; /** * repeated fixed64 repeated_fixed64 = 38; */ public java.util.List getRepeatedFixed64List() { return repeatedFixed64_; } /** * repeated fixed64 repeated_fixed64 = 38; */ public int getRepeatedFixed64Count() { return repeatedFixed64_.size(); } /** * repeated fixed64 repeated_fixed64 = 38; */ public long getRepeatedFixed64(int index) { return repeatedFixed64_.get(index); } public static final int REPEATED_SFIXED32_FIELD_NUMBER = 39; private java.util.List repeatedSfixed32_; /** * repeated sfixed32 repeated_sfixed32 = 39; */ public java.util.List getRepeatedSfixed32List() { return repeatedSfixed32_; } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public int getRepeatedSfixed32Count() { return repeatedSfixed32_.size(); } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public int getRepeatedSfixed32(int index) { return repeatedSfixed32_.get(index); } public static final int REPEATED_SFIXED64_FIELD_NUMBER = 40; private java.util.List repeatedSfixed64_; /** * repeated sfixed64 repeated_sfixed64 = 40; */ public java.util.List getRepeatedSfixed64List() { return repeatedSfixed64_; } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public int getRepeatedSfixed64Count() { return repeatedSfixed64_.size(); } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public long getRepeatedSfixed64(int index) { return repeatedSfixed64_.get(index); } public static final int REPEATED_FLOAT_FIELD_NUMBER = 41; private java.util.List repeatedFloat_; /** * repeated float repeated_float = 41; */ public java.util.List getRepeatedFloatList() { return repeatedFloat_; } /** * repeated float repeated_float = 41; */ public int getRepeatedFloatCount() { return repeatedFloat_.size(); } /** * repeated float repeated_float = 41; */ public float getRepeatedFloat(int index) { return repeatedFloat_.get(index); } public static final int REPEATED_DOUBLE_FIELD_NUMBER = 42; private java.util.List repeatedDouble_; /** * repeated double repeated_double = 42; */ public java.util.List getRepeatedDoubleList() { return repeatedDouble_; } /** * repeated double repeated_double = 42; */ public int getRepeatedDoubleCount() { return repeatedDouble_.size(); } /** * repeated double repeated_double = 42; */ public double getRepeatedDouble(int index) { return repeatedDouble_.get(index); } public static final int REPEATED_BOOL_FIELD_NUMBER = 43; private java.util.List repeatedBool_; /** * repeated bool repeated_bool = 43; */ public java.util.List getRepeatedBoolList() { return repeatedBool_; } /** * repeated bool repeated_bool = 43; */ public int getRepeatedBoolCount() { return repeatedBool_.size(); } /** * repeated bool repeated_bool = 43; */ public boolean getRepeatedBool(int index) { return repeatedBool_.get(index); } public static final int REPEATED_STRING_FIELD_NUMBER = 44; private com.google.protobuf.LazyStringList repeatedString_; /** * repeated string repeated_string = 44; */ public com.google.protobuf.ProtocolStringList getRepeatedStringList() { return repeatedString_; } /** * repeated string repeated_string = 44; */ public int getRepeatedStringCount() { return repeatedString_.size(); } /** * repeated string repeated_string = 44; */ public java.lang.String getRepeatedString(int index) { return repeatedString_.get(index); } /** * repeated string repeated_string = 44; */ public com.google.protobuf.ByteString getRepeatedStringBytes(int index) { return repeatedString_.getByteString(index); } public static final int REPEATED_BYTES_FIELD_NUMBER = 45; private java.util.List repeatedBytes_; /** * repeated bytes repeated_bytes = 45; */ public java.util.List getRepeatedBytesList() { return repeatedBytes_; } /** * repeated bytes repeated_bytes = 45; */ public int getRepeatedBytesCount() { return repeatedBytes_.size(); } /** * repeated bytes repeated_bytes = 45; */ public com.google.protobuf.ByteString getRepeatedBytes(int index) { return repeatedBytes_.get(index); } public static final int REPEATEDGROUP_FIELD_NUMBER = 46; private java.util.List repeatedGroup_; /** * repeated group RepeatedGroup = 46 { ... } */ public java.util.List getRepeatedGroupList() { return repeatedGroup_; } /** * repeated group RepeatedGroup = 46 { ... } */ public java.util.List getRepeatedGroupOrBuilderList() { return repeatedGroup_; } /** * repeated group RepeatedGroup = 46 { ... } */ public int getRepeatedGroupCount() { return repeatedGroup_.size(); } /** * repeated group RepeatedGroup = 46 { ... } */ public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index) { return repeatedGroup_.get(index); } /** * repeated group RepeatedGroup = 46 { ... } */ public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder( int index) { return repeatedGroup_.get(index); } public static final int REPEATED_NESTED_MESSAGE_FIELD_NUMBER = 48; private java.util.List repeatedNestedMessage_; /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public java.util.List getRepeatedNestedMessageList() { return repeatedNestedMessage_; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public java.util.List getRepeatedNestedMessageOrBuilderList() { return repeatedNestedMessage_; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public int getRepeatedNestedMessageCount() { return repeatedNestedMessage_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index) { return repeatedNestedMessage_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder getRepeatedNestedMessageOrBuilder( int index) { return repeatedNestedMessage_.get(index); } public static final int REPEATED_FOREIGN_MESSAGE_FIELD_NUMBER = 49; private java.util.List repeatedForeignMessage_; /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public java.util.List getRepeatedForeignMessageList() { return repeatedForeignMessage_; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public java.util.List getRepeatedForeignMessageOrBuilderList() { return repeatedForeignMessage_; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public int getRepeatedForeignMessageCount() { return repeatedForeignMessage_.size(); } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index) { return repeatedForeignMessage_.get(index); } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public com.google.protobuf.UnittestLite.ForeignMessageLiteOrBuilder getRepeatedForeignMessageOrBuilder( int index) { return repeatedForeignMessage_.get(index); } public static final int REPEATED_IMPORT_MESSAGE_FIELD_NUMBER = 50; private java.util.List repeatedImportMessage_; /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public java.util.List getRepeatedImportMessageList() { return repeatedImportMessage_; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public java.util.List getRepeatedImportMessageOrBuilderList() { return repeatedImportMessage_; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public int getRepeatedImportMessageCount() { return repeatedImportMessage_.size(); } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index) { return repeatedImportMessage_.get(index); } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public com.google.protobuf.UnittestImportLite.ImportMessageLiteOrBuilder getRepeatedImportMessageOrBuilder( int index) { return repeatedImportMessage_.get(index); } public static final int REPEATED_NESTED_ENUM_FIELD_NUMBER = 51; private java.util.List repeatedNestedEnum_; /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public java.util.List getRepeatedNestedEnumList() { return repeatedNestedEnum_; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public int getRepeatedNestedEnumCount() { return repeatedNestedEnum_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getRepeatedNestedEnum(int index) { return repeatedNestedEnum_.get(index); } public static final int REPEATED_FOREIGN_ENUM_FIELD_NUMBER = 52; private java.util.List repeatedForeignEnum_; /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public java.util.List getRepeatedForeignEnumList() { return repeatedForeignEnum_; } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public int getRepeatedForeignEnumCount() { return repeatedForeignEnum_.size(); } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getRepeatedForeignEnum(int index) { return repeatedForeignEnum_.get(index); } public static final int REPEATED_IMPORT_ENUM_FIELD_NUMBER = 53; private java.util.List repeatedImportEnum_; /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public java.util.List getRepeatedImportEnumList() { return repeatedImportEnum_; } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public int getRepeatedImportEnumCount() { return repeatedImportEnum_.size(); } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getRepeatedImportEnum(int index) { return repeatedImportEnum_.get(index); } public static final int REPEATED_STRING_PIECE_FIELD_NUMBER = 54; private com.google.protobuf.LazyStringList repeatedStringPiece_; /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public com.google.protobuf.ProtocolStringList getRepeatedStringPieceList() { return repeatedStringPiece_; } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public int getRepeatedStringPieceCount() { return repeatedStringPiece_.size(); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public java.lang.String getRepeatedStringPiece(int index) { return repeatedStringPiece_.get(index); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getRepeatedStringPieceBytes(int index) { return repeatedStringPiece_.getByteString(index); } public static final int REPEATED_CORD_FIELD_NUMBER = 55; private com.google.protobuf.LazyStringList repeatedCord_; /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public com.google.protobuf.ProtocolStringList getRepeatedCordList() { return repeatedCord_; } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public int getRepeatedCordCount() { return repeatedCord_.size(); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public java.lang.String getRepeatedCord(int index) { return repeatedCord_.get(index); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public com.google.protobuf.ByteString getRepeatedCordBytes(int index) { return repeatedCord_.getByteString(index); } public static final int REPEATED_LAZY_MESSAGE_FIELD_NUMBER = 57; private java.util.List repeatedLazyMessage_; /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public java.util.List getRepeatedLazyMessageList() { java.util.List list = new java.util.ArrayList(repeatedLazyMessage_.size()); for (com.google.protobuf.LazyFieldLite lf : repeatedLazyMessage_) { list.add((com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) lf.getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance())); } return list; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public java.util.List getRepeatedLazyMessageOrBuilderList() { return getRepeatedLazyMessageList(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public int getRepeatedLazyMessageCount() { return repeatedLazyMessage_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedLazyMessage(int index) { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) repeatedLazyMessage_.get(index).getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder getRepeatedLazyMessageOrBuilder( int index) { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder) repeatedLazyMessage_.get(index).getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()); } public static final int DEFAULT_INT32_FIELD_NUMBER = 61; private int defaultInt32_; /** * optional int32 default_int32 = 61 [default = 41]; * *
     * Singular with defaults
     * 
*/ public boolean hasDefaultInt32() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional int32 default_int32 = 61 [default = 41]; * *
     * Singular with defaults
     * 
*/ public int getDefaultInt32() { return defaultInt32_; } public static final int DEFAULT_INT64_FIELD_NUMBER = 62; private long defaultInt64_; /** * optional int64 default_int64 = 62 [default = 42]; */ public boolean hasDefaultInt64() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional int64 default_int64 = 62 [default = 42]; */ public long getDefaultInt64() { return defaultInt64_; } public static final int DEFAULT_UINT32_FIELD_NUMBER = 63; private int defaultUint32_; /** * optional uint32 default_uint32 = 63 [default = 43]; */ public boolean hasDefaultUint32() { return ((bitField0_ & 0x10000000) == 0x10000000); } /** * optional uint32 default_uint32 = 63 [default = 43]; */ public int getDefaultUint32() { return defaultUint32_; } public static final int DEFAULT_UINT64_FIELD_NUMBER = 64; private long defaultUint64_; /** * optional uint64 default_uint64 = 64 [default = 44]; */ public boolean hasDefaultUint64() { return ((bitField0_ & 0x20000000) == 0x20000000); } /** * optional uint64 default_uint64 = 64 [default = 44]; */ public long getDefaultUint64() { return defaultUint64_; } public static final int DEFAULT_SINT32_FIELD_NUMBER = 65; private int defaultSint32_; /** * optional sint32 default_sint32 = 65 [default = -45]; */ public boolean hasDefaultSint32() { return ((bitField0_ & 0x40000000) == 0x40000000); } /** * optional sint32 default_sint32 = 65 [default = -45]; */ public int getDefaultSint32() { return defaultSint32_; } public static final int DEFAULT_SINT64_FIELD_NUMBER = 66; private long defaultSint64_; /** * optional sint64 default_sint64 = 66 [default = 46]; */ public boolean hasDefaultSint64() { return ((bitField0_ & 0x80000000) == 0x80000000); } /** * optional sint64 default_sint64 = 66 [default = 46]; */ public long getDefaultSint64() { return defaultSint64_; } public static final int DEFAULT_FIXED32_FIELD_NUMBER = 67; private int defaultFixed32_; /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public boolean hasDefaultFixed32() { return ((bitField1_ & 0x00000001) == 0x00000001); } /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public int getDefaultFixed32() { return defaultFixed32_; } public static final int DEFAULT_FIXED64_FIELD_NUMBER = 68; private long defaultFixed64_; /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public boolean hasDefaultFixed64() { return ((bitField1_ & 0x00000002) == 0x00000002); } /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public long getDefaultFixed64() { return defaultFixed64_; } public static final int DEFAULT_SFIXED32_FIELD_NUMBER = 69; private int defaultSfixed32_; /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public boolean hasDefaultSfixed32() { return ((bitField1_ & 0x00000004) == 0x00000004); } /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public int getDefaultSfixed32() { return defaultSfixed32_; } public static final int DEFAULT_SFIXED64_FIELD_NUMBER = 70; private long defaultSfixed64_; /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public boolean hasDefaultSfixed64() { return ((bitField1_ & 0x00000008) == 0x00000008); } /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public long getDefaultSfixed64() { return defaultSfixed64_; } public static final int DEFAULT_FLOAT_FIELD_NUMBER = 71; private float defaultFloat_; /** * optional float default_float = 71 [default = 51.5]; */ public boolean hasDefaultFloat() { return ((bitField1_ & 0x00000010) == 0x00000010); } /** * optional float default_float = 71 [default = 51.5]; */ public float getDefaultFloat() { return defaultFloat_; } public static final int DEFAULT_DOUBLE_FIELD_NUMBER = 72; private double defaultDouble_; /** * optional double default_double = 72 [default = 52000]; */ public boolean hasDefaultDouble() { return ((bitField1_ & 0x00000020) == 0x00000020); } /** * optional double default_double = 72 [default = 52000]; */ public double getDefaultDouble() { return defaultDouble_; } public static final int DEFAULT_BOOL_FIELD_NUMBER = 73; private boolean defaultBool_; /** * optional bool default_bool = 73 [default = true]; */ public boolean hasDefaultBool() { return ((bitField1_ & 0x00000040) == 0x00000040); } /** * optional bool default_bool = 73 [default = true]; */ public boolean getDefaultBool() { return defaultBool_; } public static final int DEFAULT_STRING_FIELD_NUMBER = 74; private java.lang.Object defaultString_; /** * optional string default_string = 74 [default = "hello"]; */ public boolean hasDefaultString() { return ((bitField1_ & 0x00000080) == 0x00000080); } /** * optional string default_string = 74 [default = "hello"]; */ public java.lang.String getDefaultString() { java.lang.Object ref = defaultString_; 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()) { defaultString_ = s; } return s; } } /** * optional string default_string = 74 [default = "hello"]; */ public com.google.protobuf.ByteString getDefaultStringBytes() { java.lang.Object ref = defaultString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_BYTES_FIELD_NUMBER = 75; private com.google.protobuf.ByteString defaultBytes_; /** * optional bytes default_bytes = 75 [default = "world"]; */ public boolean hasDefaultBytes() { return ((bitField1_ & 0x00000100) == 0x00000100); } /** * optional bytes default_bytes = 75 [default = "world"]; */ public com.google.protobuf.ByteString getDefaultBytes() { return defaultBytes_; } public static final int DEFAULT_NESTED_ENUM_FIELD_NUMBER = 81; private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum defaultNestedEnum_; /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public boolean hasDefaultNestedEnum() { return ((bitField1_ & 0x00000200) == 0x00000200); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getDefaultNestedEnum() { return defaultNestedEnum_; } public static final int DEFAULT_FOREIGN_ENUM_FIELD_NUMBER = 82; private com.google.protobuf.UnittestLite.ForeignEnumLite defaultForeignEnum_; /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public boolean hasDefaultForeignEnum() { return ((bitField1_ & 0x00000400) == 0x00000400); } /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getDefaultForeignEnum() { return defaultForeignEnum_; } public static final int DEFAULT_IMPORT_ENUM_FIELD_NUMBER = 83; private com.google.protobuf.UnittestImportLite.ImportEnumLite defaultImportEnum_; /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public boolean hasDefaultImportEnum() { return ((bitField1_ & 0x00000800) == 0x00000800); } /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum() { return defaultImportEnum_; } public static final int DEFAULT_STRING_PIECE_FIELD_NUMBER = 84; private java.lang.Object defaultStringPiece_; /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public boolean hasDefaultStringPiece() { return ((bitField1_ & 0x00001000) == 0x00001000); } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public java.lang.String getDefaultStringPiece() { java.lang.Object ref = defaultStringPiece_; 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()) { defaultStringPiece_ = s; } return s; } } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getDefaultStringPieceBytes() { java.lang.Object ref = defaultStringPiece_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultStringPiece_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_CORD_FIELD_NUMBER = 85; private java.lang.Object defaultCord_; /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public boolean hasDefaultCord() { return ((bitField1_ & 0x00002000) == 0x00002000); } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public java.lang.String getDefaultCord() { java.lang.Object ref = defaultCord_; 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()) { defaultCord_ = s; } return s; } } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public com.google.protobuf.ByteString getDefaultCordBytes() { java.lang.Object ref = defaultCord_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCord_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ONEOF_UINT32_FIELD_NUMBER = 111; /** * optional uint32 oneof_uint32 = 111; */ public boolean hasOneofUint32() { return oneofFieldCase_ == 111; } /** * optional uint32 oneof_uint32 = 111; */ public int getOneofUint32() { if (oneofFieldCase_ == 111) { return (java.lang.Integer) oneofField_; } return 0; } public static final int ONEOF_NESTED_MESSAGE_FIELD_NUMBER = 112; /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public boolean hasOneofNestedMessage() { return oneofFieldCase_ == 112; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOneofNestedMessage() { if (oneofFieldCase_ == 112) { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_; } return com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); } public static final int ONEOF_STRING_FIELD_NUMBER = 113; /** * optional string oneof_string = 113; */ public boolean hasOneofString() { return oneofFieldCase_ == 113; } /** * optional string oneof_string = 113; */ public java.lang.String getOneofString() { java.lang.Object ref = ""; if (oneofFieldCase_ == 113) { ref = oneofField_; } 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() && (oneofFieldCase_ == 113)) { oneofField_ = s; } return s; } } /** * optional string oneof_string = 113; */ public com.google.protobuf.ByteString getOneofStringBytes() { java.lang.Object ref = ""; if (oneofFieldCase_ == 113) { ref = oneofField_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (oneofFieldCase_ == 113) { oneofField_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ONEOF_BYTES_FIELD_NUMBER = 114; /** * optional bytes oneof_bytes = 114; */ public boolean hasOneofBytes() { return oneofFieldCase_ == 114; } /** * optional bytes oneof_bytes = 114; */ public com.google.protobuf.ByteString getOneofBytes() { if (oneofFieldCase_ == 114) { return (com.google.protobuf.ByteString) oneofField_; } return com.google.protobuf.ByteString.EMPTY; } private void initFields() { optionalInt32_ = 0; optionalInt64_ = 0L; optionalUint32_ = 0; optionalUint64_ = 0L; optionalSint32_ = 0; optionalSint64_ = 0L; optionalFixed32_ = 0; optionalFixed64_ = 0L; optionalSfixed32_ = 0; optionalSfixed64_ = 0L; optionalFloat_ = 0F; optionalDouble_ = 0D; optionalBool_ = false; optionalString_ = ""; optionalBytes_ = com.google.protobuf.ByteString.EMPTY; optionalGroup_ = com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance(); optionalNestedMessage_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); optionalForeignMessage_ = com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(); optionalImportMessage_ = com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(); optionalNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.FOO; optionalForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_FOO; optionalImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO; optionalStringPiece_ = ""; optionalCord_ = ""; optionalPublicImportMessage_ = com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(); optionalLazyMessage_.clear(); repeatedInt32_ = java.util.Collections.emptyList(); repeatedInt64_ = java.util.Collections.emptyList(); repeatedUint32_ = java.util.Collections.emptyList(); repeatedUint64_ = java.util.Collections.emptyList(); repeatedSint32_ = java.util.Collections.emptyList(); repeatedSint64_ = java.util.Collections.emptyList(); repeatedFixed32_ = java.util.Collections.emptyList(); repeatedFixed64_ = java.util.Collections.emptyList(); repeatedSfixed32_ = java.util.Collections.emptyList(); repeatedSfixed64_ = java.util.Collections.emptyList(); repeatedFloat_ = java.util.Collections.emptyList(); repeatedDouble_ = java.util.Collections.emptyList(); repeatedBool_ = java.util.Collections.emptyList(); repeatedString_ = com.google.protobuf.LazyStringArrayList.EMPTY; repeatedBytes_ = java.util.Collections.emptyList(); repeatedGroup_ = java.util.Collections.emptyList(); repeatedNestedMessage_ = java.util.Collections.emptyList(); repeatedForeignMessage_ = java.util.Collections.emptyList(); repeatedImportMessage_ = java.util.Collections.emptyList(); repeatedNestedEnum_ = java.util.Collections.emptyList(); repeatedForeignEnum_ = java.util.Collections.emptyList(); repeatedImportEnum_ = java.util.Collections.emptyList(); repeatedStringPiece_ = com.google.protobuf.LazyStringArrayList.EMPTY; repeatedCord_ = com.google.protobuf.LazyStringArrayList.EMPTY; repeatedLazyMessage_ = java.util.Collections.emptyList(); defaultInt32_ = 41; defaultInt64_ = 42L; defaultUint32_ = 43; defaultUint64_ = 44L; defaultSint32_ = -45; defaultSint64_ = 46L; defaultFixed32_ = 47; defaultFixed64_ = 48L; defaultSfixed32_ = 49; defaultSfixed64_ = -50L; defaultFloat_ = 51.5F; defaultDouble_ = 52000D; defaultBool_ = true; defaultString_ = "hello"; defaultBytes_ = com.google.protobuf.Internal.bytesDefaultValue("world"); defaultNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.BAR; defaultForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_BAR; defaultImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR; defaultStringPiece_ = "abc"; defaultCord_ = "123"; } 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.writeInt32(1, optionalInt32_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, optionalInt64_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, optionalUint32_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, optionalUint64_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeSInt32(5, optionalSint32_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeSInt64(6, optionalSint64_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeFixed32(7, optionalFixed32_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeFixed64(8, optionalFixed64_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeSFixed32(9, optionalSfixed32_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeSFixed64(10, optionalSfixed64_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeFloat(11, optionalFloat_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeDouble(12, optionalDouble_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBool(13, optionalBool_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBytes(14, getOptionalStringBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeBytes(15, optionalBytes_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeGroup(16, optionalGroup_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeMessage(18, optionalNestedMessage_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeMessage(19, optionalForeignMessage_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeMessage(20, optionalImportMessage_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeEnum(21, optionalNestedEnum_.getNumber()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeEnum(22, optionalForeignEnum_.getNumber()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { output.writeEnum(23, optionalImportEnum_.getNumber()); } if (((bitField0_ & 0x00400000) == 0x00400000)) { output.writeBytes(24, getOptionalStringPieceBytes()); } if (((bitField0_ & 0x00800000) == 0x00800000)) { output.writeBytes(25, getOptionalCordBytes()); } if (((bitField0_ & 0x01000000) == 0x01000000)) { output.writeMessage(26, optionalPublicImportMessage_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { output.writeBytes(27, optionalLazyMessage_.toByteString()); } for (int i = 0; i < repeatedInt32_.size(); i++) { output.writeInt32(31, repeatedInt32_.get(i)); } for (int i = 0; i < repeatedInt64_.size(); i++) { output.writeInt64(32, repeatedInt64_.get(i)); } for (int i = 0; i < repeatedUint32_.size(); i++) { output.writeUInt32(33, repeatedUint32_.get(i)); } for (int i = 0; i < repeatedUint64_.size(); i++) { output.writeUInt64(34, repeatedUint64_.get(i)); } for (int i = 0; i < repeatedSint32_.size(); i++) { output.writeSInt32(35, repeatedSint32_.get(i)); } for (int i = 0; i < repeatedSint64_.size(); i++) { output.writeSInt64(36, repeatedSint64_.get(i)); } for (int i = 0; i < repeatedFixed32_.size(); i++) { output.writeFixed32(37, repeatedFixed32_.get(i)); } for (int i = 0; i < repeatedFixed64_.size(); i++) { output.writeFixed64(38, repeatedFixed64_.get(i)); } for (int i = 0; i < repeatedSfixed32_.size(); i++) { output.writeSFixed32(39, repeatedSfixed32_.get(i)); } for (int i = 0; i < repeatedSfixed64_.size(); i++) { output.writeSFixed64(40, repeatedSfixed64_.get(i)); } for (int i = 0; i < repeatedFloat_.size(); i++) { output.writeFloat(41, repeatedFloat_.get(i)); } for (int i = 0; i < repeatedDouble_.size(); i++) { output.writeDouble(42, repeatedDouble_.get(i)); } for (int i = 0; i < repeatedBool_.size(); i++) { output.writeBool(43, repeatedBool_.get(i)); } for (int i = 0; i < repeatedString_.size(); i++) { output.writeBytes(44, repeatedString_.getByteString(i)); } for (int i = 0; i < repeatedBytes_.size(); i++) { output.writeBytes(45, repeatedBytes_.get(i)); } for (int i = 0; i < repeatedGroup_.size(); i++) { output.writeGroup(46, repeatedGroup_.get(i)); } for (int i = 0; i < repeatedNestedMessage_.size(); i++) { output.writeMessage(48, repeatedNestedMessage_.get(i)); } for (int i = 0; i < repeatedForeignMessage_.size(); i++) { output.writeMessage(49, repeatedForeignMessage_.get(i)); } for (int i = 0; i < repeatedImportMessage_.size(); i++) { output.writeMessage(50, repeatedImportMessage_.get(i)); } for (int i = 0; i < repeatedNestedEnum_.size(); i++) { output.writeEnum(51, repeatedNestedEnum_.get(i).getNumber()); } for (int i = 0; i < repeatedForeignEnum_.size(); i++) { output.writeEnum(52, repeatedForeignEnum_.get(i).getNumber()); } for (int i = 0; i < repeatedImportEnum_.size(); i++) { output.writeEnum(53, repeatedImportEnum_.get(i).getNumber()); } for (int i = 0; i < repeatedStringPiece_.size(); i++) { output.writeBytes(54, repeatedStringPiece_.getByteString(i)); } for (int i = 0; i < repeatedCord_.size(); i++) { output.writeBytes(55, repeatedCord_.getByteString(i)); } for (int i = 0; i < repeatedLazyMessage_.size(); i++) { output.writeBytes(57, repeatedLazyMessage_.get(i).toByteString()); } if (((bitField0_ & 0x04000000) == 0x04000000)) { output.writeInt32(61, defaultInt32_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { output.writeInt64(62, defaultInt64_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { output.writeUInt32(63, defaultUint32_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { output.writeUInt64(64, defaultUint64_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { output.writeSInt32(65, defaultSint32_); } if (((bitField0_ & 0x80000000) == 0x80000000)) { output.writeSInt64(66, defaultSint64_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { output.writeFixed32(67, defaultFixed32_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { output.writeFixed64(68, defaultFixed64_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { output.writeSFixed32(69, defaultSfixed32_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { output.writeSFixed64(70, defaultSfixed64_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { output.writeFloat(71, defaultFloat_); } if (((bitField1_ & 0x00000020) == 0x00000020)) { output.writeDouble(72, defaultDouble_); } if (((bitField1_ & 0x00000040) == 0x00000040)) { output.writeBool(73, defaultBool_); } if (((bitField1_ & 0x00000080) == 0x00000080)) { output.writeBytes(74, getDefaultStringBytes()); } if (((bitField1_ & 0x00000100) == 0x00000100)) { output.writeBytes(75, defaultBytes_); } if (((bitField1_ & 0x00000200) == 0x00000200)) { output.writeEnum(81, defaultNestedEnum_.getNumber()); } if (((bitField1_ & 0x00000400) == 0x00000400)) { output.writeEnum(82, defaultForeignEnum_.getNumber()); } if (((bitField1_ & 0x00000800) == 0x00000800)) { output.writeEnum(83, defaultImportEnum_.getNumber()); } if (((bitField1_ & 0x00001000) == 0x00001000)) { output.writeBytes(84, getDefaultStringPieceBytes()); } if (((bitField1_ & 0x00002000) == 0x00002000)) { output.writeBytes(85, getDefaultCordBytes()); } if (oneofFieldCase_ == 111) { output.writeUInt32( 111, (int)((java.lang.Integer) oneofField_)); } if (oneofFieldCase_ == 112) { output.writeMessage(112, (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_); } if (oneofFieldCase_ == 113) { output.writeBytes(113, getOneofStringBytes()); } if (oneofFieldCase_ == 114) { output.writeBytes( 114, (com.google.protobuf.ByteString)((com.google.protobuf.ByteString) oneofField_)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, optionalInt32_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, optionalInt64_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, optionalUint32_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, optionalUint64_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(5, optionalSint32_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(6, optionalSint64_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(7, optionalFixed32_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(8, optionalFixed64_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(9, optionalSfixed32_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(10, optionalSfixed64_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(11, optionalFloat_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, optionalDouble_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, optionalBool_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, getOptionalStringBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, optionalBytes_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(16, optionalGroup_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, optionalNestedMessage_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, optionalForeignMessage_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, optionalImportMessage_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(21, optionalNestedEnum_.getNumber()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(22, optionalForeignEnum_.getNumber()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(23, optionalImportEnum_.getNumber()); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(24, getOptionalStringPieceBytes()); } if (((bitField0_ & 0x00800000) == 0x00800000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(25, getOptionalCordBytes()); } if (((bitField0_ & 0x01000000) == 0x01000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, optionalPublicImportMessage_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { size += com.google.protobuf.CodedOutputStream .computeLazyFieldSize(27, optionalLazyMessage_); } { int dataSize = 0; for (int i = 0; i < repeatedInt32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(repeatedInt32_.get(i)); } size += dataSize; size += 2 * getRepeatedInt32List().size(); } { int dataSize = 0; for (int i = 0; i < repeatedInt64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(repeatedInt64_.get(i)); } size += dataSize; size += 2 * getRepeatedInt64List().size(); } { int dataSize = 0; for (int i = 0; i < repeatedUint32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(repeatedUint32_.get(i)); } size += dataSize; size += 2 * getRepeatedUint32List().size(); } { int dataSize = 0; for (int i = 0; i < repeatedUint64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(repeatedUint64_.get(i)); } size += dataSize; size += 2 * getRepeatedUint64List().size(); } { int dataSize = 0; for (int i = 0; i < repeatedSint32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt32SizeNoTag(repeatedSint32_.get(i)); } size += dataSize; size += 2 * getRepeatedSint32List().size(); } { int dataSize = 0; for (int i = 0; i < repeatedSint64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt64SizeNoTag(repeatedSint64_.get(i)); } size += dataSize; size += 2 * getRepeatedSint64List().size(); } { int dataSize = 0; dataSize = 4 * getRepeatedFixed32List().size(); size += dataSize; size += 2 * getRepeatedFixed32List().size(); } { int dataSize = 0; dataSize = 8 * getRepeatedFixed64List().size(); size += dataSize; size += 2 * getRepeatedFixed64List().size(); } { int dataSize = 0; dataSize = 4 * getRepeatedSfixed32List().size(); size += dataSize; size += 2 * getRepeatedSfixed32List().size(); } { int dataSize = 0; dataSize = 8 * getRepeatedSfixed64List().size(); size += dataSize; size += 2 * getRepeatedSfixed64List().size(); } { int dataSize = 0; dataSize = 4 * getRepeatedFloatList().size(); size += dataSize; size += 2 * getRepeatedFloatList().size(); } { int dataSize = 0; dataSize = 8 * getRepeatedDoubleList().size(); size += dataSize; size += 2 * getRepeatedDoubleList().size(); } { int dataSize = 0; dataSize = 1 * getRepeatedBoolList().size(); size += dataSize; size += 2 * getRepeatedBoolList().size(); } { int dataSize = 0; for (int i = 0; i < repeatedString_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(repeatedString_.getByteString(i)); } size += dataSize; size += 2 * getRepeatedStringList().size(); } { int dataSize = 0; for (int i = 0; i < repeatedBytes_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(repeatedBytes_.get(i)); } size += dataSize; size += 2 * getRepeatedBytesList().size(); } for (int i = 0; i < repeatedGroup_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(46, repeatedGroup_.get(i)); } for (int i = 0; i < repeatedNestedMessage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(48, repeatedNestedMessage_.get(i)); } for (int i = 0; i < repeatedForeignMessage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(49, repeatedForeignMessage_.get(i)); } for (int i = 0; i < repeatedImportMessage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(50, repeatedImportMessage_.get(i)); } { int dataSize = 0; for (int i = 0; i < repeatedNestedEnum_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(repeatedNestedEnum_.get(i).getNumber()); } size += dataSize; size += 2 * repeatedNestedEnum_.size(); } { int dataSize = 0; for (int i = 0; i < repeatedForeignEnum_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(repeatedForeignEnum_.get(i).getNumber()); } size += dataSize; size += 2 * repeatedForeignEnum_.size(); } { int dataSize = 0; for (int i = 0; i < repeatedImportEnum_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(repeatedImportEnum_.get(i).getNumber()); } size += dataSize; size += 2 * repeatedImportEnum_.size(); } { int dataSize = 0; for (int i = 0; i < repeatedStringPiece_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(repeatedStringPiece_.getByteString(i)); } size += dataSize; size += 2 * getRepeatedStringPieceList().size(); } { int dataSize = 0; for (int i = 0; i < repeatedCord_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(repeatedCord_.getByteString(i)); } size += dataSize; size += 2 * getRepeatedCordList().size(); } for (int i = 0; i < repeatedLazyMessage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeLazyFieldSize(57, repeatedLazyMessage_.get(i)); } if (((bitField0_ & 0x04000000) == 0x04000000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(61, defaultInt32_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(62, defaultInt64_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(63, defaultUint32_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(64, defaultUint64_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(65, defaultSint32_); } if (((bitField0_ & 0x80000000) == 0x80000000)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(66, defaultSint64_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(67, defaultFixed32_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(68, defaultFixed64_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(69, defaultSfixed32_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(70, defaultSfixed64_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(71, defaultFloat_); } if (((bitField1_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(72, defaultDouble_); } if (((bitField1_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(73, defaultBool_); } if (((bitField1_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(74, getDefaultStringBytes()); } if (((bitField1_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(75, defaultBytes_); } if (((bitField1_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(81, defaultNestedEnum_.getNumber()); } if (((bitField1_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(82, defaultForeignEnum_.getNumber()); } if (((bitField1_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(83, defaultImportEnum_.getNumber()); } if (((bitField1_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(84, getDefaultStringPieceBytes()); } if (((bitField1_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(85, getDefaultCordBytes()); } if (oneofFieldCase_ == 111) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 111, (int)((java.lang.Integer) oneofField_)); } if (oneofFieldCase_ == 112) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(112, (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_); } if (oneofFieldCase_ == 113) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(113, getOneofStringBytes()); } if (oneofFieldCase_ == 114) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 114, (com.google.protobuf.ByteString)((com.google.protobuf.ByteString) oneofField_)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllTypesLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestAllTypesLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestAllTypesLite} * *
     * Same as TestAllTypes but with the lite runtime.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestAllTypesLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestAllTypesLite) com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); optionalInt32_ = 0; bitField0_ = (bitField0_ & ~0x00000001); optionalInt64_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); optionalUint32_ = 0; bitField0_ = (bitField0_ & ~0x00000004); optionalUint64_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); optionalSint32_ = 0; bitField0_ = (bitField0_ & ~0x00000010); optionalSint64_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); optionalFixed32_ = 0; bitField0_ = (bitField0_ & ~0x00000040); optionalFixed64_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); optionalSfixed32_ = 0; bitField0_ = (bitField0_ & ~0x00000100); optionalSfixed64_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); optionalFloat_ = 0F; bitField0_ = (bitField0_ & ~0x00000400); optionalDouble_ = 0D; bitField0_ = (bitField0_ & ~0x00000800); optionalBool_ = false; bitField0_ = (bitField0_ & ~0x00001000); optionalString_ = ""; bitField0_ = (bitField0_ & ~0x00002000); optionalBytes_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00004000); optionalGroup_ = com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00008000); optionalNestedMessage_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00010000); optionalForeignMessage_ = com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00020000); optionalImportMessage_ = com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00040000); optionalNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.FOO; bitField0_ = (bitField0_ & ~0x00080000); optionalForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_FOO; bitField0_ = (bitField0_ & ~0x00100000); optionalImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO; bitField0_ = (bitField0_ & ~0x00200000); optionalStringPiece_ = ""; bitField0_ = (bitField0_ & ~0x00400000); optionalCord_ = ""; bitField0_ = (bitField0_ & ~0x00800000); optionalPublicImportMessage_ = com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x01000000); optionalLazyMessage_.clear(); bitField0_ = (bitField0_ & ~0x02000000);; repeatedInt32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x04000000); repeatedInt64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x08000000); repeatedUint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x10000000); repeatedUint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x20000000); repeatedSint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x40000000); repeatedSint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x80000000); repeatedFixed32_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000001); repeatedFixed64_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000002); repeatedSfixed32_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000004); repeatedSfixed64_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000008); repeatedFloat_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000010); repeatedDouble_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000020); repeatedBool_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000040); repeatedString_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00000080); repeatedBytes_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000100); repeatedGroup_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000200); repeatedNestedMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000400); repeatedForeignMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000800); repeatedImportMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00001000); repeatedNestedEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00002000); repeatedForeignEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00004000); repeatedImportEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00008000); repeatedStringPiece_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00010000); repeatedCord_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00020000); repeatedLazyMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00040000); defaultInt32_ = 41; bitField1_ = (bitField1_ & ~0x00080000); defaultInt64_ = 42L; bitField1_ = (bitField1_ & ~0x00100000); defaultUint32_ = 43; bitField1_ = (bitField1_ & ~0x00200000); defaultUint64_ = 44L; bitField1_ = (bitField1_ & ~0x00400000); defaultSint32_ = -45; bitField1_ = (bitField1_ & ~0x00800000); defaultSint64_ = 46L; bitField1_ = (bitField1_ & ~0x01000000); defaultFixed32_ = 47; bitField1_ = (bitField1_ & ~0x02000000); defaultFixed64_ = 48L; bitField1_ = (bitField1_ & ~0x04000000); defaultSfixed32_ = 49; bitField1_ = (bitField1_ & ~0x08000000); defaultSfixed64_ = -50L; bitField1_ = (bitField1_ & ~0x10000000); defaultFloat_ = 51.5F; bitField1_ = (bitField1_ & ~0x20000000); defaultDouble_ = 52000D; bitField1_ = (bitField1_ & ~0x40000000); defaultBool_ = true; bitField1_ = (bitField1_ & ~0x80000000); defaultString_ = "hello"; bitField2_ = (bitField2_ & ~0x00000001); defaultBytes_ = com.google.protobuf.Internal.bytesDefaultValue("world"); bitField2_ = (bitField2_ & ~0x00000002); defaultNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.BAR; bitField2_ = (bitField2_ & ~0x00000004); defaultForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_BAR; bitField2_ = (bitField2_ & ~0x00000008); defaultImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR; bitField2_ = (bitField2_ & ~0x00000010); defaultStringPiece_ = "abc"; bitField2_ = (bitField2_ & ~0x00000020); defaultCord_ = "123"; bitField2_ = (bitField2_ & ~0x00000040); oneofFieldCase_ = 0; oneofField_ = null; return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestAllTypesLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestAllTypesLite build() { com.google.protobuf.UnittestLite.TestAllTypesLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestAllTypesLite buildPartial() { com.google.protobuf.UnittestLite.TestAllTypesLite result = new com.google.protobuf.UnittestLite.TestAllTypesLite(this); int from_bitField0_ = bitField0_; int from_bitField1_ = bitField1_; int from_bitField2_ = bitField2_; int to_bitField0_ = 0; int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.optionalInt32_ = optionalInt32_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.optionalInt64_ = optionalInt64_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.optionalUint32_ = optionalUint32_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.optionalUint64_ = optionalUint64_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.optionalSint32_ = optionalSint32_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.optionalSint64_ = optionalSint64_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.optionalFixed32_ = optionalFixed32_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.optionalFixed64_ = optionalFixed64_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.optionalSfixed32_ = optionalSfixed32_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.optionalSfixed64_ = optionalSfixed64_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.optionalFloat_ = optionalFloat_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.optionalDouble_ = optionalDouble_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.optionalBool_ = optionalBool_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.optionalString_ = optionalString_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.optionalBytes_ = optionalBytes_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.optionalGroup_ = optionalGroup_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.optionalNestedMessage_ = optionalNestedMessage_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.optionalForeignMessage_ = optionalForeignMessage_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } result.optionalImportMessage_ = optionalImportMessage_; if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } result.optionalNestedEnum_ = optionalNestedEnum_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } result.optionalForeignEnum_ = optionalForeignEnum_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } result.optionalImportEnum_ = optionalImportEnum_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00400000; } result.optionalStringPiece_ = optionalStringPiece_; if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00800000; } result.optionalCord_ = optionalCord_; if (((from_bitField0_ & 0x01000000) == 0x01000000)) { to_bitField0_ |= 0x01000000; } result.optionalPublicImportMessage_ = optionalPublicImportMessage_; if (((from_bitField0_ & 0x02000000) == 0x02000000)) { to_bitField0_ |= 0x02000000; } result.optionalLazyMessage_.setByteString( optionalLazyMessage_.toByteString(), optionalLazyMessage_.getExtensionRegistry()); if (((bitField0_ & 0x04000000) == 0x04000000)) { repeatedInt32_ = java.util.Collections.unmodifiableList(repeatedInt32_); bitField0_ = (bitField0_ & ~0x04000000); } result.repeatedInt32_ = repeatedInt32_; if (((bitField0_ & 0x08000000) == 0x08000000)) { repeatedInt64_ = java.util.Collections.unmodifiableList(repeatedInt64_); bitField0_ = (bitField0_ & ~0x08000000); } result.repeatedInt64_ = repeatedInt64_; if (((bitField0_ & 0x10000000) == 0x10000000)) { repeatedUint32_ = java.util.Collections.unmodifiableList(repeatedUint32_); bitField0_ = (bitField0_ & ~0x10000000); } result.repeatedUint32_ = repeatedUint32_; if (((bitField0_ & 0x20000000) == 0x20000000)) { repeatedUint64_ = java.util.Collections.unmodifiableList(repeatedUint64_); bitField0_ = (bitField0_ & ~0x20000000); } result.repeatedUint64_ = repeatedUint64_; if (((bitField0_ & 0x40000000) == 0x40000000)) { repeatedSint32_ = java.util.Collections.unmodifiableList(repeatedSint32_); bitField0_ = (bitField0_ & ~0x40000000); } result.repeatedSint32_ = repeatedSint32_; if (((bitField0_ & 0x80000000) == 0x80000000)) { repeatedSint64_ = java.util.Collections.unmodifiableList(repeatedSint64_); bitField0_ = (bitField0_ & ~0x80000000); } result.repeatedSint64_ = repeatedSint64_; if (((bitField1_ & 0x00000001) == 0x00000001)) { repeatedFixed32_ = java.util.Collections.unmodifiableList(repeatedFixed32_); bitField1_ = (bitField1_ & ~0x00000001); } result.repeatedFixed32_ = repeatedFixed32_; if (((bitField1_ & 0x00000002) == 0x00000002)) { repeatedFixed64_ = java.util.Collections.unmodifiableList(repeatedFixed64_); bitField1_ = (bitField1_ & ~0x00000002); } result.repeatedFixed64_ = repeatedFixed64_; if (((bitField1_ & 0x00000004) == 0x00000004)) { repeatedSfixed32_ = java.util.Collections.unmodifiableList(repeatedSfixed32_); bitField1_ = (bitField1_ & ~0x00000004); } result.repeatedSfixed32_ = repeatedSfixed32_; if (((bitField1_ & 0x00000008) == 0x00000008)) { repeatedSfixed64_ = java.util.Collections.unmodifiableList(repeatedSfixed64_); bitField1_ = (bitField1_ & ~0x00000008); } result.repeatedSfixed64_ = repeatedSfixed64_; if (((bitField1_ & 0x00000010) == 0x00000010)) { repeatedFloat_ = java.util.Collections.unmodifiableList(repeatedFloat_); bitField1_ = (bitField1_ & ~0x00000010); } result.repeatedFloat_ = repeatedFloat_; if (((bitField1_ & 0x00000020) == 0x00000020)) { repeatedDouble_ = java.util.Collections.unmodifiableList(repeatedDouble_); bitField1_ = (bitField1_ & ~0x00000020); } result.repeatedDouble_ = repeatedDouble_; if (((bitField1_ & 0x00000040) == 0x00000040)) { repeatedBool_ = java.util.Collections.unmodifiableList(repeatedBool_); bitField1_ = (bitField1_ & ~0x00000040); } result.repeatedBool_ = repeatedBool_; if (((bitField1_ & 0x00000080) == 0x00000080)) { repeatedString_ = repeatedString_.getUnmodifiableView(); bitField1_ = (bitField1_ & ~0x00000080); } result.repeatedString_ = repeatedString_; if (((bitField1_ & 0x00000100) == 0x00000100)) { repeatedBytes_ = java.util.Collections.unmodifiableList(repeatedBytes_); bitField1_ = (bitField1_ & ~0x00000100); } result.repeatedBytes_ = repeatedBytes_; if (((bitField1_ & 0x00000200) == 0x00000200)) { repeatedGroup_ = java.util.Collections.unmodifiableList(repeatedGroup_); bitField1_ = (bitField1_ & ~0x00000200); } result.repeatedGroup_ = repeatedGroup_; if (((bitField1_ & 0x00000400) == 0x00000400)) { repeatedNestedMessage_ = java.util.Collections.unmodifiableList(repeatedNestedMessage_); bitField1_ = (bitField1_ & ~0x00000400); } result.repeatedNestedMessage_ = repeatedNestedMessage_; if (((bitField1_ & 0x00000800) == 0x00000800)) { repeatedForeignMessage_ = java.util.Collections.unmodifiableList(repeatedForeignMessage_); bitField1_ = (bitField1_ & ~0x00000800); } result.repeatedForeignMessage_ = repeatedForeignMessage_; if (((bitField1_ & 0x00001000) == 0x00001000)) { repeatedImportMessage_ = java.util.Collections.unmodifiableList(repeatedImportMessage_); bitField1_ = (bitField1_ & ~0x00001000); } result.repeatedImportMessage_ = repeatedImportMessage_; if (((bitField1_ & 0x00002000) == 0x00002000)) { repeatedNestedEnum_ = java.util.Collections.unmodifiableList(repeatedNestedEnum_); bitField1_ = (bitField1_ & ~0x00002000); } result.repeatedNestedEnum_ = repeatedNestedEnum_; if (((bitField1_ & 0x00004000) == 0x00004000)) { repeatedForeignEnum_ = java.util.Collections.unmodifiableList(repeatedForeignEnum_); bitField1_ = (bitField1_ & ~0x00004000); } result.repeatedForeignEnum_ = repeatedForeignEnum_; if (((bitField1_ & 0x00008000) == 0x00008000)) { repeatedImportEnum_ = java.util.Collections.unmodifiableList(repeatedImportEnum_); bitField1_ = (bitField1_ & ~0x00008000); } result.repeatedImportEnum_ = repeatedImportEnum_; if (((bitField1_ & 0x00010000) == 0x00010000)) { repeatedStringPiece_ = repeatedStringPiece_.getUnmodifiableView(); bitField1_ = (bitField1_ & ~0x00010000); } result.repeatedStringPiece_ = repeatedStringPiece_; if (((bitField1_ & 0x00020000) == 0x00020000)) { repeatedCord_ = repeatedCord_.getUnmodifiableView(); bitField1_ = (bitField1_ & ~0x00020000); } result.repeatedCord_ = repeatedCord_; if (((bitField1_ & 0x00040000) == 0x00040000)) { repeatedLazyMessage_ = java.util.Collections.unmodifiableList(repeatedLazyMessage_); bitField1_ = (bitField1_ & ~0x00040000); } result.repeatedLazyMessage_ = repeatedLazyMessage_; if (((from_bitField1_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x04000000; } result.defaultInt32_ = defaultInt32_; if (((from_bitField1_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x08000000; } result.defaultInt64_ = defaultInt64_; if (((from_bitField1_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x10000000; } result.defaultUint32_ = defaultUint32_; if (((from_bitField1_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x20000000; } result.defaultUint64_ = defaultUint64_; if (((from_bitField1_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x40000000; } result.defaultSint32_ = defaultSint32_; if (((from_bitField1_ & 0x01000000) == 0x01000000)) { to_bitField0_ |= 0x80000000; } result.defaultSint64_ = defaultSint64_; if (((from_bitField1_ & 0x02000000) == 0x02000000)) { to_bitField1_ |= 0x00000001; } result.defaultFixed32_ = defaultFixed32_; if (((from_bitField1_ & 0x04000000) == 0x04000000)) { to_bitField1_ |= 0x00000002; } result.defaultFixed64_ = defaultFixed64_; if (((from_bitField1_ & 0x08000000) == 0x08000000)) { to_bitField1_ |= 0x00000004; } result.defaultSfixed32_ = defaultSfixed32_; if (((from_bitField1_ & 0x10000000) == 0x10000000)) { to_bitField1_ |= 0x00000008; } result.defaultSfixed64_ = defaultSfixed64_; if (((from_bitField1_ & 0x20000000) == 0x20000000)) { to_bitField1_ |= 0x00000010; } result.defaultFloat_ = defaultFloat_; if (((from_bitField1_ & 0x40000000) == 0x40000000)) { to_bitField1_ |= 0x00000020; } result.defaultDouble_ = defaultDouble_; if (((from_bitField1_ & 0x80000000) == 0x80000000)) { to_bitField1_ |= 0x00000040; } result.defaultBool_ = defaultBool_; if (((from_bitField2_ & 0x00000001) == 0x00000001)) { to_bitField1_ |= 0x00000080; } result.defaultString_ = defaultString_; if (((from_bitField2_ & 0x00000002) == 0x00000002)) { to_bitField1_ |= 0x00000100; } result.defaultBytes_ = defaultBytes_; if (((from_bitField2_ & 0x00000004) == 0x00000004)) { to_bitField1_ |= 0x00000200; } result.defaultNestedEnum_ = defaultNestedEnum_; if (((from_bitField2_ & 0x00000008) == 0x00000008)) { to_bitField1_ |= 0x00000400; } result.defaultForeignEnum_ = defaultForeignEnum_; if (((from_bitField2_ & 0x00000010) == 0x00000010)) { to_bitField1_ |= 0x00000800; } result.defaultImportEnum_ = defaultImportEnum_; if (((from_bitField2_ & 0x00000020) == 0x00000020)) { to_bitField1_ |= 0x00001000; } result.defaultStringPiece_ = defaultStringPiece_; if (((from_bitField2_ & 0x00000040) == 0x00000040)) { to_bitField1_ |= 0x00002000; } result.defaultCord_ = defaultCord_; if (oneofFieldCase_ == 111) { result.oneofField_ = oneofField_; } if (oneofFieldCase_ == 112) { result.oneofField_ = oneofField_; } if (oneofFieldCase_ == 113) { result.oneofField_ = oneofField_; } if (oneofFieldCase_ == 114) { result.oneofField_ = oneofField_; } result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; result.oneofFieldCase_ = oneofFieldCase_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestAllTypesLite other) { if (other == com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) return this; if (other.hasOptionalInt32()) { setOptionalInt32(other.getOptionalInt32()); } if (other.hasOptionalInt64()) { setOptionalInt64(other.getOptionalInt64()); } if (other.hasOptionalUint32()) { setOptionalUint32(other.getOptionalUint32()); } if (other.hasOptionalUint64()) { setOptionalUint64(other.getOptionalUint64()); } if (other.hasOptionalSint32()) { setOptionalSint32(other.getOptionalSint32()); } if (other.hasOptionalSint64()) { setOptionalSint64(other.getOptionalSint64()); } if (other.hasOptionalFixed32()) { setOptionalFixed32(other.getOptionalFixed32()); } if (other.hasOptionalFixed64()) { setOptionalFixed64(other.getOptionalFixed64()); } if (other.hasOptionalSfixed32()) { setOptionalSfixed32(other.getOptionalSfixed32()); } if (other.hasOptionalSfixed64()) { setOptionalSfixed64(other.getOptionalSfixed64()); } if (other.hasOptionalFloat()) { setOptionalFloat(other.getOptionalFloat()); } if (other.hasOptionalDouble()) { setOptionalDouble(other.getOptionalDouble()); } if (other.hasOptionalBool()) { setOptionalBool(other.getOptionalBool()); } if (other.hasOptionalString()) { bitField0_ |= 0x00002000; optionalString_ = other.optionalString_; } if (other.hasOptionalBytes()) { setOptionalBytes(other.getOptionalBytes()); } if (other.hasOptionalGroup()) { mergeOptionalGroup(other.getOptionalGroup()); } if (other.hasOptionalNestedMessage()) { mergeOptionalNestedMessage(other.getOptionalNestedMessage()); } if (other.hasOptionalForeignMessage()) { mergeOptionalForeignMessage(other.getOptionalForeignMessage()); } if (other.hasOptionalImportMessage()) { mergeOptionalImportMessage(other.getOptionalImportMessage()); } if (other.hasOptionalNestedEnum()) { setOptionalNestedEnum(other.getOptionalNestedEnum()); } if (other.hasOptionalForeignEnum()) { setOptionalForeignEnum(other.getOptionalForeignEnum()); } if (other.hasOptionalImportEnum()) { setOptionalImportEnum(other.getOptionalImportEnum()); } if (other.hasOptionalStringPiece()) { bitField0_ |= 0x00400000; optionalStringPiece_ = other.optionalStringPiece_; } if (other.hasOptionalCord()) { bitField0_ |= 0x00800000; optionalCord_ = other.optionalCord_; } if (other.hasOptionalPublicImportMessage()) { mergeOptionalPublicImportMessage(other.getOptionalPublicImportMessage()); } if (other.hasOptionalLazyMessage()) { optionalLazyMessage_.merge(other.optionalLazyMessage_); bitField0_ |= 0x02000000;; } if (!other.repeatedInt32_.isEmpty()) { if (repeatedInt32_.isEmpty()) { repeatedInt32_ = other.repeatedInt32_; bitField0_ = (bitField0_ & ~0x04000000); } else { ensureRepeatedInt32IsMutable(); repeatedInt32_.addAll(other.repeatedInt32_); } } if (!other.repeatedInt64_.isEmpty()) { if (repeatedInt64_.isEmpty()) { repeatedInt64_ = other.repeatedInt64_; bitField0_ = (bitField0_ & ~0x08000000); } else { ensureRepeatedInt64IsMutable(); repeatedInt64_.addAll(other.repeatedInt64_); } } if (!other.repeatedUint32_.isEmpty()) { if (repeatedUint32_.isEmpty()) { repeatedUint32_ = other.repeatedUint32_; bitField0_ = (bitField0_ & ~0x10000000); } else { ensureRepeatedUint32IsMutable(); repeatedUint32_.addAll(other.repeatedUint32_); } } if (!other.repeatedUint64_.isEmpty()) { if (repeatedUint64_.isEmpty()) { repeatedUint64_ = other.repeatedUint64_; bitField0_ = (bitField0_ & ~0x20000000); } else { ensureRepeatedUint64IsMutable(); repeatedUint64_.addAll(other.repeatedUint64_); } } if (!other.repeatedSint32_.isEmpty()) { if (repeatedSint32_.isEmpty()) { repeatedSint32_ = other.repeatedSint32_; bitField0_ = (bitField0_ & ~0x40000000); } else { ensureRepeatedSint32IsMutable(); repeatedSint32_.addAll(other.repeatedSint32_); } } if (!other.repeatedSint64_.isEmpty()) { if (repeatedSint64_.isEmpty()) { repeatedSint64_ = other.repeatedSint64_; bitField0_ = (bitField0_ & ~0x80000000); } else { ensureRepeatedSint64IsMutable(); repeatedSint64_.addAll(other.repeatedSint64_); } } if (!other.repeatedFixed32_.isEmpty()) { if (repeatedFixed32_.isEmpty()) { repeatedFixed32_ = other.repeatedFixed32_; bitField1_ = (bitField1_ & ~0x00000001); } else { ensureRepeatedFixed32IsMutable(); repeatedFixed32_.addAll(other.repeatedFixed32_); } } if (!other.repeatedFixed64_.isEmpty()) { if (repeatedFixed64_.isEmpty()) { repeatedFixed64_ = other.repeatedFixed64_; bitField1_ = (bitField1_ & ~0x00000002); } else { ensureRepeatedFixed64IsMutable(); repeatedFixed64_.addAll(other.repeatedFixed64_); } } if (!other.repeatedSfixed32_.isEmpty()) { if (repeatedSfixed32_.isEmpty()) { repeatedSfixed32_ = other.repeatedSfixed32_; bitField1_ = (bitField1_ & ~0x00000004); } else { ensureRepeatedSfixed32IsMutable(); repeatedSfixed32_.addAll(other.repeatedSfixed32_); } } if (!other.repeatedSfixed64_.isEmpty()) { if (repeatedSfixed64_.isEmpty()) { repeatedSfixed64_ = other.repeatedSfixed64_; bitField1_ = (bitField1_ & ~0x00000008); } else { ensureRepeatedSfixed64IsMutable(); repeatedSfixed64_.addAll(other.repeatedSfixed64_); } } if (!other.repeatedFloat_.isEmpty()) { if (repeatedFloat_.isEmpty()) { repeatedFloat_ = other.repeatedFloat_; bitField1_ = (bitField1_ & ~0x00000010); } else { ensureRepeatedFloatIsMutable(); repeatedFloat_.addAll(other.repeatedFloat_); } } if (!other.repeatedDouble_.isEmpty()) { if (repeatedDouble_.isEmpty()) { repeatedDouble_ = other.repeatedDouble_; bitField1_ = (bitField1_ & ~0x00000020); } else { ensureRepeatedDoubleIsMutable(); repeatedDouble_.addAll(other.repeatedDouble_); } } if (!other.repeatedBool_.isEmpty()) { if (repeatedBool_.isEmpty()) { repeatedBool_ = other.repeatedBool_; bitField1_ = (bitField1_ & ~0x00000040); } else { ensureRepeatedBoolIsMutable(); repeatedBool_.addAll(other.repeatedBool_); } } if (!other.repeatedString_.isEmpty()) { if (repeatedString_.isEmpty()) { repeatedString_ = other.repeatedString_; bitField1_ = (bitField1_ & ~0x00000080); } else { ensureRepeatedStringIsMutable(); repeatedString_.addAll(other.repeatedString_); } } if (!other.repeatedBytes_.isEmpty()) { if (repeatedBytes_.isEmpty()) { repeatedBytes_ = other.repeatedBytes_; bitField1_ = (bitField1_ & ~0x00000100); } else { ensureRepeatedBytesIsMutable(); repeatedBytes_.addAll(other.repeatedBytes_); } } if (!other.repeatedGroup_.isEmpty()) { if (repeatedGroup_.isEmpty()) { repeatedGroup_ = other.repeatedGroup_; bitField1_ = (bitField1_ & ~0x00000200); } else { ensureRepeatedGroupIsMutable(); repeatedGroup_.addAll(other.repeatedGroup_); } } if (!other.repeatedNestedMessage_.isEmpty()) { if (repeatedNestedMessage_.isEmpty()) { repeatedNestedMessage_ = other.repeatedNestedMessage_; bitField1_ = (bitField1_ & ~0x00000400); } else { ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.addAll(other.repeatedNestedMessage_); } } if (!other.repeatedForeignMessage_.isEmpty()) { if (repeatedForeignMessage_.isEmpty()) { repeatedForeignMessage_ = other.repeatedForeignMessage_; bitField1_ = (bitField1_ & ~0x00000800); } else { ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.addAll(other.repeatedForeignMessage_); } } if (!other.repeatedImportMessage_.isEmpty()) { if (repeatedImportMessage_.isEmpty()) { repeatedImportMessage_ = other.repeatedImportMessage_; bitField1_ = (bitField1_ & ~0x00001000); } else { ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.addAll(other.repeatedImportMessage_); } } if (!other.repeatedNestedEnum_.isEmpty()) { if (repeatedNestedEnum_.isEmpty()) { repeatedNestedEnum_ = other.repeatedNestedEnum_; bitField1_ = (bitField1_ & ~0x00002000); } else { ensureRepeatedNestedEnumIsMutable(); repeatedNestedEnum_.addAll(other.repeatedNestedEnum_); } } if (!other.repeatedForeignEnum_.isEmpty()) { if (repeatedForeignEnum_.isEmpty()) { repeatedForeignEnum_ = other.repeatedForeignEnum_; bitField1_ = (bitField1_ & ~0x00004000); } else { ensureRepeatedForeignEnumIsMutable(); repeatedForeignEnum_.addAll(other.repeatedForeignEnum_); } } if (!other.repeatedImportEnum_.isEmpty()) { if (repeatedImportEnum_.isEmpty()) { repeatedImportEnum_ = other.repeatedImportEnum_; bitField1_ = (bitField1_ & ~0x00008000); } else { ensureRepeatedImportEnumIsMutable(); repeatedImportEnum_.addAll(other.repeatedImportEnum_); } } if (!other.repeatedStringPiece_.isEmpty()) { if (repeatedStringPiece_.isEmpty()) { repeatedStringPiece_ = other.repeatedStringPiece_; bitField1_ = (bitField1_ & ~0x00010000); } else { ensureRepeatedStringPieceIsMutable(); repeatedStringPiece_.addAll(other.repeatedStringPiece_); } } if (!other.repeatedCord_.isEmpty()) { if (repeatedCord_.isEmpty()) { repeatedCord_ = other.repeatedCord_; bitField1_ = (bitField1_ & ~0x00020000); } else { ensureRepeatedCordIsMutable(); repeatedCord_.addAll(other.repeatedCord_); } } if (!other.repeatedLazyMessage_.isEmpty()) { if (repeatedLazyMessage_.isEmpty()) { repeatedLazyMessage_ = other.repeatedLazyMessage_; bitField1_ = (bitField1_ & ~0x00040000); } else { ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.addAll(other.repeatedLazyMessage_); } } if (other.hasDefaultInt32()) { setDefaultInt32(other.getDefaultInt32()); } if (other.hasDefaultInt64()) { setDefaultInt64(other.getDefaultInt64()); } if (other.hasDefaultUint32()) { setDefaultUint32(other.getDefaultUint32()); } if (other.hasDefaultUint64()) { setDefaultUint64(other.getDefaultUint64()); } if (other.hasDefaultSint32()) { setDefaultSint32(other.getDefaultSint32()); } if (other.hasDefaultSint64()) { setDefaultSint64(other.getDefaultSint64()); } if (other.hasDefaultFixed32()) { setDefaultFixed32(other.getDefaultFixed32()); } if (other.hasDefaultFixed64()) { setDefaultFixed64(other.getDefaultFixed64()); } if (other.hasDefaultSfixed32()) { setDefaultSfixed32(other.getDefaultSfixed32()); } if (other.hasDefaultSfixed64()) { setDefaultSfixed64(other.getDefaultSfixed64()); } if (other.hasDefaultFloat()) { setDefaultFloat(other.getDefaultFloat()); } if (other.hasDefaultDouble()) { setDefaultDouble(other.getDefaultDouble()); } if (other.hasDefaultBool()) { setDefaultBool(other.getDefaultBool()); } if (other.hasDefaultString()) { bitField2_ |= 0x00000001; defaultString_ = other.defaultString_; } if (other.hasDefaultBytes()) { setDefaultBytes(other.getDefaultBytes()); } if (other.hasDefaultNestedEnum()) { setDefaultNestedEnum(other.getDefaultNestedEnum()); } if (other.hasDefaultForeignEnum()) { setDefaultForeignEnum(other.getDefaultForeignEnum()); } if (other.hasDefaultImportEnum()) { setDefaultImportEnum(other.getDefaultImportEnum()); } if (other.hasDefaultStringPiece()) { bitField2_ |= 0x00000020; defaultStringPiece_ = other.defaultStringPiece_; } if (other.hasDefaultCord()) { bitField2_ |= 0x00000040; defaultCord_ = other.defaultCord_; } switch (other.getOneofFieldCase()) { case ONEOF_UINT32: { setOneofUint32(other.getOneofUint32()); break; } case ONEOF_NESTED_MESSAGE: { mergeOneofNestedMessage(other.getOneofNestedMessage()); break; } case ONEOF_STRING: { oneofFieldCase_ = 113; oneofField_ = other.oneofField_; break; } case ONEOF_BYTES: { setOneofBytes(other.getOneofBytes()); break; } case ONEOFFIELD_NOT_SET: { break; } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestAllTypesLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestAllTypesLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int oneofFieldCase_ = 0; private java.lang.Object oneofField_; public OneofFieldCase getOneofFieldCase() { return OneofFieldCase.valueOf( oneofFieldCase_); } public Builder clearOneofField() { oneofFieldCase_ = 0; oneofField_ = null; return this; } private int bitField0_; private int bitField1_; private int bitField2_; private int optionalInt32_ ; /** * optional int32 optional_int32 = 1; * *
       * Singular
       * 
*/ public boolean hasOptionalInt32() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 optional_int32 = 1; * *
       * Singular
       * 
*/ public int getOptionalInt32() { return optionalInt32_; } /** * optional int32 optional_int32 = 1; * *
       * Singular
       * 
*/ public Builder setOptionalInt32(int value) { bitField0_ |= 0x00000001; optionalInt32_ = value; return this; } /** * optional int32 optional_int32 = 1; * *
       * Singular
       * 
*/ public Builder clearOptionalInt32() { bitField0_ = (bitField0_ & ~0x00000001); optionalInt32_ = 0; return this; } private long optionalInt64_ ; /** * optional int64 optional_int64 = 2; */ public boolean hasOptionalInt64() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 optional_int64 = 2; */ public long getOptionalInt64() { return optionalInt64_; } /** * optional int64 optional_int64 = 2; */ public Builder setOptionalInt64(long value) { bitField0_ |= 0x00000002; optionalInt64_ = value; return this; } /** * optional int64 optional_int64 = 2; */ public Builder clearOptionalInt64() { bitField0_ = (bitField0_ & ~0x00000002); optionalInt64_ = 0L; return this; } private int optionalUint32_ ; /** * optional uint32 optional_uint32 = 3; */ public boolean hasOptionalUint32() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 optional_uint32 = 3; */ public int getOptionalUint32() { return optionalUint32_; } /** * optional uint32 optional_uint32 = 3; */ public Builder setOptionalUint32(int value) { bitField0_ |= 0x00000004; optionalUint32_ = value; return this; } /** * optional uint32 optional_uint32 = 3; */ public Builder clearOptionalUint32() { bitField0_ = (bitField0_ & ~0x00000004); optionalUint32_ = 0; return this; } private long optionalUint64_ ; /** * optional uint64 optional_uint64 = 4; */ public boolean hasOptionalUint64() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 optional_uint64 = 4; */ public long getOptionalUint64() { return optionalUint64_; } /** * optional uint64 optional_uint64 = 4; */ public Builder setOptionalUint64(long value) { bitField0_ |= 0x00000008; optionalUint64_ = value; return this; } /** * optional uint64 optional_uint64 = 4; */ public Builder clearOptionalUint64() { bitField0_ = (bitField0_ & ~0x00000008); optionalUint64_ = 0L; return this; } private int optionalSint32_ ; /** * optional sint32 optional_sint32 = 5; */ public boolean hasOptionalSint32() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional sint32 optional_sint32 = 5; */ public int getOptionalSint32() { return optionalSint32_; } /** * optional sint32 optional_sint32 = 5; */ public Builder setOptionalSint32(int value) { bitField0_ |= 0x00000010; optionalSint32_ = value; return this; } /** * optional sint32 optional_sint32 = 5; */ public Builder clearOptionalSint32() { bitField0_ = (bitField0_ & ~0x00000010); optionalSint32_ = 0; return this; } private long optionalSint64_ ; /** * optional sint64 optional_sint64 = 6; */ public boolean hasOptionalSint64() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional sint64 optional_sint64 = 6; */ public long getOptionalSint64() { return optionalSint64_; } /** * optional sint64 optional_sint64 = 6; */ public Builder setOptionalSint64(long value) { bitField0_ |= 0x00000020; optionalSint64_ = value; return this; } /** * optional sint64 optional_sint64 = 6; */ public Builder clearOptionalSint64() { bitField0_ = (bitField0_ & ~0x00000020); optionalSint64_ = 0L; return this; } private int optionalFixed32_ ; /** * optional fixed32 optional_fixed32 = 7; */ public boolean hasOptionalFixed32() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional fixed32 optional_fixed32 = 7; */ public int getOptionalFixed32() { return optionalFixed32_; } /** * optional fixed32 optional_fixed32 = 7; */ public Builder setOptionalFixed32(int value) { bitField0_ |= 0x00000040; optionalFixed32_ = value; return this; } /** * optional fixed32 optional_fixed32 = 7; */ public Builder clearOptionalFixed32() { bitField0_ = (bitField0_ & ~0x00000040); optionalFixed32_ = 0; return this; } private long optionalFixed64_ ; /** * optional fixed64 optional_fixed64 = 8; */ public boolean hasOptionalFixed64() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional fixed64 optional_fixed64 = 8; */ public long getOptionalFixed64() { return optionalFixed64_; } /** * optional fixed64 optional_fixed64 = 8; */ public Builder setOptionalFixed64(long value) { bitField0_ |= 0x00000080; optionalFixed64_ = value; return this; } /** * optional fixed64 optional_fixed64 = 8; */ public Builder clearOptionalFixed64() { bitField0_ = (bitField0_ & ~0x00000080); optionalFixed64_ = 0L; return this; } private int optionalSfixed32_ ; /** * optional sfixed32 optional_sfixed32 = 9; */ public boolean hasOptionalSfixed32() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional sfixed32 optional_sfixed32 = 9; */ public int getOptionalSfixed32() { return optionalSfixed32_; } /** * optional sfixed32 optional_sfixed32 = 9; */ public Builder setOptionalSfixed32(int value) { bitField0_ |= 0x00000100; optionalSfixed32_ = value; return this; } /** * optional sfixed32 optional_sfixed32 = 9; */ public Builder clearOptionalSfixed32() { bitField0_ = (bitField0_ & ~0x00000100); optionalSfixed32_ = 0; return this; } private long optionalSfixed64_ ; /** * optional sfixed64 optional_sfixed64 = 10; */ public boolean hasOptionalSfixed64() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional sfixed64 optional_sfixed64 = 10; */ public long getOptionalSfixed64() { return optionalSfixed64_; } /** * optional sfixed64 optional_sfixed64 = 10; */ public Builder setOptionalSfixed64(long value) { bitField0_ |= 0x00000200; optionalSfixed64_ = value; return this; } /** * optional sfixed64 optional_sfixed64 = 10; */ public Builder clearOptionalSfixed64() { bitField0_ = (bitField0_ & ~0x00000200); optionalSfixed64_ = 0L; return this; } private float optionalFloat_ ; /** * optional float optional_float = 11; */ public boolean hasOptionalFloat() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional float optional_float = 11; */ public float getOptionalFloat() { return optionalFloat_; } /** * optional float optional_float = 11; */ public Builder setOptionalFloat(float value) { bitField0_ |= 0x00000400; optionalFloat_ = value; return this; } /** * optional float optional_float = 11; */ public Builder clearOptionalFloat() { bitField0_ = (bitField0_ & ~0x00000400); optionalFloat_ = 0F; return this; } private double optionalDouble_ ; /** * optional double optional_double = 12; */ public boolean hasOptionalDouble() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional double optional_double = 12; */ public double getOptionalDouble() { return optionalDouble_; } /** * optional double optional_double = 12; */ public Builder setOptionalDouble(double value) { bitField0_ |= 0x00000800; optionalDouble_ = value; return this; } /** * optional double optional_double = 12; */ public Builder clearOptionalDouble() { bitField0_ = (bitField0_ & ~0x00000800); optionalDouble_ = 0D; return this; } private boolean optionalBool_ ; /** * optional bool optional_bool = 13; */ public boolean hasOptionalBool() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool optional_bool = 13; */ public boolean getOptionalBool() { return optionalBool_; } /** * optional bool optional_bool = 13; */ public Builder setOptionalBool(boolean value) { bitField0_ |= 0x00001000; optionalBool_ = value; return this; } /** * optional bool optional_bool = 13; */ public Builder clearOptionalBool() { bitField0_ = (bitField0_ & ~0x00001000); optionalBool_ = false; return this; } private java.lang.Object optionalString_ = ""; /** * optional string optional_string = 14; */ public boolean hasOptionalString() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string optional_string = 14; */ public java.lang.String getOptionalString() { java.lang.Object ref = optionalString_; 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()) { optionalString_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string optional_string = 14; */ public com.google.protobuf.ByteString getOptionalStringBytes() { java.lang.Object ref = optionalString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string optional_string = 14; */ public Builder setOptionalString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; optionalString_ = value; return this; } /** * optional string optional_string = 14; */ public Builder clearOptionalString() { bitField0_ = (bitField0_ & ~0x00002000); optionalString_ = getDefaultInstance().getOptionalString(); return this; } /** * optional string optional_string = 14; */ public Builder setOptionalStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; optionalString_ = value; return this; } private com.google.protobuf.ByteString optionalBytes_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes optional_bytes = 15; */ public boolean hasOptionalBytes() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional bytes optional_bytes = 15; */ public com.google.protobuf.ByteString getOptionalBytes() { return optionalBytes_; } /** * optional bytes optional_bytes = 15; */ public Builder setOptionalBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; optionalBytes_ = value; return this; } /** * optional bytes optional_bytes = 15; */ public Builder clearOptionalBytes() { bitField0_ = (bitField0_ & ~0x00004000); optionalBytes_ = getDefaultInstance().getOptionalBytes(); return this; } private com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup optionalGroup_ = com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance(); /** * optional group OptionalGroup = 16 { ... } */ public boolean hasOptionalGroup() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional group OptionalGroup = 16 { ... } */ public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getOptionalGroup() { return optionalGroup_; } /** * optional group OptionalGroup = 16 { ... } */ public Builder setOptionalGroup(com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup value) { if (value == null) { throw new NullPointerException(); } optionalGroup_ = value; bitField0_ |= 0x00008000; return this; } /** * optional group OptionalGroup = 16 { ... } */ public Builder setOptionalGroup( com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.Builder builderForValue) { optionalGroup_ = builderForValue.build(); bitField0_ |= 0x00008000; return this; } /** * optional group OptionalGroup = 16 { ... } */ public Builder mergeOptionalGroup(com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup value) { if (((bitField0_ & 0x00008000) == 0x00008000) && optionalGroup_ != com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance()) { optionalGroup_ = com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.newBuilder(optionalGroup_).mergeFrom(value).buildPartial(); } else { optionalGroup_ = value; } bitField0_ |= 0x00008000; return this; } /** * optional group OptionalGroup = 16 { ... } */ public Builder clearOptionalGroup() { optionalGroup_ = com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00008000); return this; } private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage optionalNestedMessage_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public boolean hasOptionalNestedMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalNestedMessage() { return optionalNestedMessage_; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public Builder setOptionalNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } optionalNestedMessage_ = value; bitField0_ |= 0x00010000; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public Builder setOptionalNestedMessage( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { optionalNestedMessage_ = builderForValue.build(); bitField0_ |= 0x00010000; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public Builder mergeOptionalNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (((bitField0_ & 0x00010000) == 0x00010000) && optionalNestedMessage_ != com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()) { optionalNestedMessage_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.newBuilder(optionalNestedMessage_).mergeFrom(value).buildPartial(); } else { optionalNestedMessage_ = value; } bitField0_ |= 0x00010000; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18; */ public Builder clearOptionalNestedMessage() { optionalNestedMessage_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00010000); return this; } private com.google.protobuf.UnittestLite.ForeignMessageLite optionalForeignMessage_ = com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(); /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public boolean hasOptionalForeignMessage() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public com.google.protobuf.UnittestLite.ForeignMessageLite getOptionalForeignMessage() { return optionalForeignMessage_; } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public Builder setOptionalForeignMessage(com.google.protobuf.UnittestLite.ForeignMessageLite value) { if (value == null) { throw new NullPointerException(); } optionalForeignMessage_ = value; bitField0_ |= 0x00020000; return this; } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public Builder setOptionalForeignMessage( com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) { optionalForeignMessage_ = builderForValue.build(); bitField0_ |= 0x00020000; return this; } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public Builder mergeOptionalForeignMessage(com.google.protobuf.UnittestLite.ForeignMessageLite value) { if (((bitField0_ & 0x00020000) == 0x00020000) && optionalForeignMessage_ != com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance()) { optionalForeignMessage_ = com.google.protobuf.UnittestLite.ForeignMessageLite.newBuilder(optionalForeignMessage_).mergeFrom(value).buildPartial(); } else { optionalForeignMessage_ = value; } bitField0_ |= 0x00020000; return this; } /** * optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19; */ public Builder clearOptionalForeignMessage() { optionalForeignMessage_ = com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00020000); return this; } private com.google.protobuf.UnittestImportLite.ImportMessageLite optionalImportMessage_ = com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(); /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public boolean hasOptionalImportMessage() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public com.google.protobuf.UnittestImportLite.ImportMessageLite getOptionalImportMessage() { return optionalImportMessage_; } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public Builder setOptionalImportMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite value) { if (value == null) { throw new NullPointerException(); } optionalImportMessage_ = value; bitField0_ |= 0x00040000; return this; } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public Builder setOptionalImportMessage( com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) { optionalImportMessage_ = builderForValue.build(); bitField0_ |= 0x00040000; return this; } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public Builder mergeOptionalImportMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite value) { if (((bitField0_ & 0x00040000) == 0x00040000) && optionalImportMessage_ != com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance()) { optionalImportMessage_ = com.google.protobuf.UnittestImportLite.ImportMessageLite.newBuilder(optionalImportMessage_).mergeFrom(value).buildPartial(); } else { optionalImportMessage_ = value; } bitField0_ |= 0x00040000; return this; } /** * optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20; */ public Builder clearOptionalImportMessage() { optionalImportMessage_ = com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00040000); return this; } private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum optionalNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.FOO; /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public boolean hasOptionalNestedEnum() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getOptionalNestedEnum() { return optionalNestedEnum_; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public Builder setOptionalNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; optionalNestedEnum_ = value; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21; */ public Builder clearOptionalNestedEnum() { bitField0_ = (bitField0_ & ~0x00080000); optionalNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.FOO; return this; } private com.google.protobuf.UnittestLite.ForeignEnumLite optionalForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_FOO; /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public boolean hasOptionalForeignEnum() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getOptionalForeignEnum() { return optionalForeignEnum_; } /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public Builder setOptionalForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; optionalForeignEnum_ = value; return this; } /** * optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22; */ public Builder clearOptionalForeignEnum() { bitField0_ = (bitField0_ & ~0x00100000); optionalForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_FOO; return this; } private com.google.protobuf.UnittestImportLite.ImportEnumLite optionalImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO; /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public boolean hasOptionalImportEnum() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum() { return optionalImportEnum_; } /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public Builder setOptionalImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; optionalImportEnum_ = value; return this; } /** * optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23; */ public Builder clearOptionalImportEnum() { bitField0_ = (bitField0_ & ~0x00200000); optionalImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO; return this; } private java.lang.Object optionalStringPiece_ = ""; /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public boolean hasOptionalStringPiece() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public java.lang.String getOptionalStringPiece() { java.lang.Object ref = optionalStringPiece_; 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()) { optionalStringPiece_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getOptionalStringPieceBytes() { java.lang.Object ref = optionalStringPiece_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalStringPiece_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public Builder setOptionalStringPiece( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; optionalStringPiece_ = value; return this; } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public Builder clearOptionalStringPiece() { bitField0_ = (bitField0_ & ~0x00400000); optionalStringPiece_ = getDefaultInstance().getOptionalStringPiece(); return this; } /** * optional string optional_string_piece = 24 [ctype = STRING_PIECE]; */ public Builder setOptionalStringPieceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; optionalStringPiece_ = value; return this; } private java.lang.Object optionalCord_ = ""; /** * optional string optional_cord = 25 [ctype = CORD]; */ public boolean hasOptionalCord() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string optional_cord = 25 [ctype = CORD]; */ public java.lang.String getOptionalCord() { java.lang.Object ref = optionalCord_; 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()) { optionalCord_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string optional_cord = 25 [ctype = CORD]; */ public com.google.protobuf.ByteString getOptionalCordBytes() { java.lang.Object ref = optionalCord_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); optionalCord_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string optional_cord = 25 [ctype = CORD]; */ public Builder setOptionalCord( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; optionalCord_ = value; return this; } /** * optional string optional_cord = 25 [ctype = CORD]; */ public Builder clearOptionalCord() { bitField0_ = (bitField0_ & ~0x00800000); optionalCord_ = getDefaultInstance().getOptionalCord(); return this; } /** * optional string optional_cord = 25 [ctype = CORD]; */ public Builder setOptionalCordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; optionalCord_ = value; return this; } private com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite optionalPublicImportMessage_ = com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(); /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public boolean hasOptionalPublicImportMessage() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite getOptionalPublicImportMessage() { return optionalPublicImportMessage_; } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public Builder setOptionalPublicImportMessage(com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite value) { if (value == null) { throw new NullPointerException(); } optionalPublicImportMessage_ = value; bitField0_ |= 0x01000000; return this; } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public Builder setOptionalPublicImportMessage( com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.Builder builderForValue) { optionalPublicImportMessage_ = builderForValue.build(); bitField0_ |= 0x01000000; return this; } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public Builder mergeOptionalPublicImportMessage(com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite value) { if (((bitField0_ & 0x01000000) == 0x01000000) && optionalPublicImportMessage_ != com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance()) { optionalPublicImportMessage_ = com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.newBuilder(optionalPublicImportMessage_).mergeFrom(value).buildPartial(); } else { optionalPublicImportMessage_ = value; } bitField0_ |= 0x01000000; return this; } /** * optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26; * *
       * Defined in unittest_import_public.proto
       * 
*/ public Builder clearOptionalPublicImportMessage() { optionalPublicImportMessage_ = com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x01000000); return this; } private com.google.protobuf.LazyFieldLite optionalLazyMessage_ = new com.google.protobuf.LazyFieldLite(); /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public boolean hasOptionalLazyMessage() { return ((bitField0_ & 0x02000000) == 0x02000000); } public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalLazyMessage() { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) optionalLazyMessage_.getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public Builder setOptionalLazyMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } optionalLazyMessage_.setValue(value); bitField0_ |= 0x02000000;; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public Builder setOptionalLazyMessage( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { optionalLazyMessage_.setValue(builderForValue.build()); bitField0_ |= 0x02000000;; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public Builder mergeOptionalLazyMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (((bitField0_ & 0x02000000) == 0x02000000) && !optionalLazyMessage_.containsDefaultInstance()) { optionalLazyMessage_.setValue( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.newBuilder( getOptionalLazyMessage()).mergeFrom(value).buildPartial()); } else { optionalLazyMessage_.setValue(value); } bitField0_ |= 0x02000000;; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true]; */ public Builder clearOptionalLazyMessage() { optionalLazyMessage_.clear(); bitField0_ = (bitField0_ & ~0x02000000);; return this; } private java.util.List repeatedInt32_ = java.util.Collections.emptyList(); private void ensureRepeatedInt32IsMutable() { if (!((bitField0_ & 0x04000000) == 0x04000000)) { repeatedInt32_ = new java.util.ArrayList(repeatedInt32_); bitField0_ |= 0x04000000; } } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public java.util.List getRepeatedInt32List() { return java.util.Collections.unmodifiableList(repeatedInt32_); } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public int getRepeatedInt32Count() { return repeatedInt32_.size(); } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public int getRepeatedInt32(int index) { return repeatedInt32_.get(index); } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public Builder setRepeatedInt32( int index, int value) { ensureRepeatedInt32IsMutable(); repeatedInt32_.set(index, value); return this; } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public Builder addRepeatedInt32(int value) { ensureRepeatedInt32IsMutable(); repeatedInt32_.add(value); return this; } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public Builder addAllRepeatedInt32( java.lang.Iterable values) { ensureRepeatedInt32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedInt32_); return this; } /** * repeated int32 repeated_int32 = 31; * *
       * Repeated
       * 
*/ public Builder clearRepeatedInt32() { repeatedInt32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x04000000); return this; } private java.util.List repeatedInt64_ = java.util.Collections.emptyList(); private void ensureRepeatedInt64IsMutable() { if (!((bitField0_ & 0x08000000) == 0x08000000)) { repeatedInt64_ = new java.util.ArrayList(repeatedInt64_); bitField0_ |= 0x08000000; } } /** * repeated int64 repeated_int64 = 32; */ public java.util.List getRepeatedInt64List() { return java.util.Collections.unmodifiableList(repeatedInt64_); } /** * repeated int64 repeated_int64 = 32; */ public int getRepeatedInt64Count() { return repeatedInt64_.size(); } /** * repeated int64 repeated_int64 = 32; */ public long getRepeatedInt64(int index) { return repeatedInt64_.get(index); } /** * repeated int64 repeated_int64 = 32; */ public Builder setRepeatedInt64( int index, long value) { ensureRepeatedInt64IsMutable(); repeatedInt64_.set(index, value); return this; } /** * repeated int64 repeated_int64 = 32; */ public Builder addRepeatedInt64(long value) { ensureRepeatedInt64IsMutable(); repeatedInt64_.add(value); return this; } /** * repeated int64 repeated_int64 = 32; */ public Builder addAllRepeatedInt64( java.lang.Iterable values) { ensureRepeatedInt64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedInt64_); return this; } /** * repeated int64 repeated_int64 = 32; */ public Builder clearRepeatedInt64() { repeatedInt64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x08000000); return this; } private java.util.List repeatedUint32_ = java.util.Collections.emptyList(); private void ensureRepeatedUint32IsMutable() { if (!((bitField0_ & 0x10000000) == 0x10000000)) { repeatedUint32_ = new java.util.ArrayList(repeatedUint32_); bitField0_ |= 0x10000000; } } /** * repeated uint32 repeated_uint32 = 33; */ public java.util.List getRepeatedUint32List() { return java.util.Collections.unmodifiableList(repeatedUint32_); } /** * repeated uint32 repeated_uint32 = 33; */ public int getRepeatedUint32Count() { return repeatedUint32_.size(); } /** * repeated uint32 repeated_uint32 = 33; */ public int getRepeatedUint32(int index) { return repeatedUint32_.get(index); } /** * repeated uint32 repeated_uint32 = 33; */ public Builder setRepeatedUint32( int index, int value) { ensureRepeatedUint32IsMutable(); repeatedUint32_.set(index, value); return this; } /** * repeated uint32 repeated_uint32 = 33; */ public Builder addRepeatedUint32(int value) { ensureRepeatedUint32IsMutable(); repeatedUint32_.add(value); return this; } /** * repeated uint32 repeated_uint32 = 33; */ public Builder addAllRepeatedUint32( java.lang.Iterable values) { ensureRepeatedUint32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedUint32_); return this; } /** * repeated uint32 repeated_uint32 = 33; */ public Builder clearRepeatedUint32() { repeatedUint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x10000000); return this; } private java.util.List repeatedUint64_ = java.util.Collections.emptyList(); private void ensureRepeatedUint64IsMutable() { if (!((bitField0_ & 0x20000000) == 0x20000000)) { repeatedUint64_ = new java.util.ArrayList(repeatedUint64_); bitField0_ |= 0x20000000; } } /** * repeated uint64 repeated_uint64 = 34; */ public java.util.List getRepeatedUint64List() { return java.util.Collections.unmodifiableList(repeatedUint64_); } /** * repeated uint64 repeated_uint64 = 34; */ public int getRepeatedUint64Count() { return repeatedUint64_.size(); } /** * repeated uint64 repeated_uint64 = 34; */ public long getRepeatedUint64(int index) { return repeatedUint64_.get(index); } /** * repeated uint64 repeated_uint64 = 34; */ public Builder setRepeatedUint64( int index, long value) { ensureRepeatedUint64IsMutable(); repeatedUint64_.set(index, value); return this; } /** * repeated uint64 repeated_uint64 = 34; */ public Builder addRepeatedUint64(long value) { ensureRepeatedUint64IsMutable(); repeatedUint64_.add(value); return this; } /** * repeated uint64 repeated_uint64 = 34; */ public Builder addAllRepeatedUint64( java.lang.Iterable values) { ensureRepeatedUint64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedUint64_); return this; } /** * repeated uint64 repeated_uint64 = 34; */ public Builder clearRepeatedUint64() { repeatedUint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x20000000); return this; } private java.util.List repeatedSint32_ = java.util.Collections.emptyList(); private void ensureRepeatedSint32IsMutable() { if (!((bitField0_ & 0x40000000) == 0x40000000)) { repeatedSint32_ = new java.util.ArrayList(repeatedSint32_); bitField0_ |= 0x40000000; } } /** * repeated sint32 repeated_sint32 = 35; */ public java.util.List getRepeatedSint32List() { return java.util.Collections.unmodifiableList(repeatedSint32_); } /** * repeated sint32 repeated_sint32 = 35; */ public int getRepeatedSint32Count() { return repeatedSint32_.size(); } /** * repeated sint32 repeated_sint32 = 35; */ public int getRepeatedSint32(int index) { return repeatedSint32_.get(index); } /** * repeated sint32 repeated_sint32 = 35; */ public Builder setRepeatedSint32( int index, int value) { ensureRepeatedSint32IsMutable(); repeatedSint32_.set(index, value); return this; } /** * repeated sint32 repeated_sint32 = 35; */ public Builder addRepeatedSint32(int value) { ensureRepeatedSint32IsMutable(); repeatedSint32_.add(value); return this; } /** * repeated sint32 repeated_sint32 = 35; */ public Builder addAllRepeatedSint32( java.lang.Iterable values) { ensureRepeatedSint32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedSint32_); return this; } /** * repeated sint32 repeated_sint32 = 35; */ public Builder clearRepeatedSint32() { repeatedSint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x40000000); return this; } private java.util.List repeatedSint64_ = java.util.Collections.emptyList(); private void ensureRepeatedSint64IsMutable() { if (!((bitField0_ & 0x80000000) == 0x80000000)) { repeatedSint64_ = new java.util.ArrayList(repeatedSint64_); bitField0_ |= 0x80000000; } } /** * repeated sint64 repeated_sint64 = 36; */ public java.util.List getRepeatedSint64List() { return java.util.Collections.unmodifiableList(repeatedSint64_); } /** * repeated sint64 repeated_sint64 = 36; */ public int getRepeatedSint64Count() { return repeatedSint64_.size(); } /** * repeated sint64 repeated_sint64 = 36; */ public long getRepeatedSint64(int index) { return repeatedSint64_.get(index); } /** * repeated sint64 repeated_sint64 = 36; */ public Builder setRepeatedSint64( int index, long value) { ensureRepeatedSint64IsMutable(); repeatedSint64_.set(index, value); return this; } /** * repeated sint64 repeated_sint64 = 36; */ public Builder addRepeatedSint64(long value) { ensureRepeatedSint64IsMutable(); repeatedSint64_.add(value); return this; } /** * repeated sint64 repeated_sint64 = 36; */ public Builder addAllRepeatedSint64( java.lang.Iterable values) { ensureRepeatedSint64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedSint64_); return this; } /** * repeated sint64 repeated_sint64 = 36; */ public Builder clearRepeatedSint64() { repeatedSint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x80000000); return this; } private java.util.List repeatedFixed32_ = java.util.Collections.emptyList(); private void ensureRepeatedFixed32IsMutable() { if (!((bitField1_ & 0x00000001) == 0x00000001)) { repeatedFixed32_ = new java.util.ArrayList(repeatedFixed32_); bitField1_ |= 0x00000001; } } /** * repeated fixed32 repeated_fixed32 = 37; */ public java.util.List getRepeatedFixed32List() { return java.util.Collections.unmodifiableList(repeatedFixed32_); } /** * repeated fixed32 repeated_fixed32 = 37; */ public int getRepeatedFixed32Count() { return repeatedFixed32_.size(); } /** * repeated fixed32 repeated_fixed32 = 37; */ public int getRepeatedFixed32(int index) { return repeatedFixed32_.get(index); } /** * repeated fixed32 repeated_fixed32 = 37; */ public Builder setRepeatedFixed32( int index, int value) { ensureRepeatedFixed32IsMutable(); repeatedFixed32_.set(index, value); return this; } /** * repeated fixed32 repeated_fixed32 = 37; */ public Builder addRepeatedFixed32(int value) { ensureRepeatedFixed32IsMutable(); repeatedFixed32_.add(value); return this; } /** * repeated fixed32 repeated_fixed32 = 37; */ public Builder addAllRepeatedFixed32( java.lang.Iterable values) { ensureRepeatedFixed32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedFixed32_); return this; } /** * repeated fixed32 repeated_fixed32 = 37; */ public Builder clearRepeatedFixed32() { repeatedFixed32_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000001); return this; } private java.util.List repeatedFixed64_ = java.util.Collections.emptyList(); private void ensureRepeatedFixed64IsMutable() { if (!((bitField1_ & 0x00000002) == 0x00000002)) { repeatedFixed64_ = new java.util.ArrayList(repeatedFixed64_); bitField1_ |= 0x00000002; } } /** * repeated fixed64 repeated_fixed64 = 38; */ public java.util.List getRepeatedFixed64List() { return java.util.Collections.unmodifiableList(repeatedFixed64_); } /** * repeated fixed64 repeated_fixed64 = 38; */ public int getRepeatedFixed64Count() { return repeatedFixed64_.size(); } /** * repeated fixed64 repeated_fixed64 = 38; */ public long getRepeatedFixed64(int index) { return repeatedFixed64_.get(index); } /** * repeated fixed64 repeated_fixed64 = 38; */ public Builder setRepeatedFixed64( int index, long value) { ensureRepeatedFixed64IsMutable(); repeatedFixed64_.set(index, value); return this; } /** * repeated fixed64 repeated_fixed64 = 38; */ public Builder addRepeatedFixed64(long value) { ensureRepeatedFixed64IsMutable(); repeatedFixed64_.add(value); return this; } /** * repeated fixed64 repeated_fixed64 = 38; */ public Builder addAllRepeatedFixed64( java.lang.Iterable values) { ensureRepeatedFixed64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedFixed64_); return this; } /** * repeated fixed64 repeated_fixed64 = 38; */ public Builder clearRepeatedFixed64() { repeatedFixed64_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000002); return this; } private java.util.List repeatedSfixed32_ = java.util.Collections.emptyList(); private void ensureRepeatedSfixed32IsMutable() { if (!((bitField1_ & 0x00000004) == 0x00000004)) { repeatedSfixed32_ = new java.util.ArrayList(repeatedSfixed32_); bitField1_ |= 0x00000004; } } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public java.util.List getRepeatedSfixed32List() { return java.util.Collections.unmodifiableList(repeatedSfixed32_); } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public int getRepeatedSfixed32Count() { return repeatedSfixed32_.size(); } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public int getRepeatedSfixed32(int index) { return repeatedSfixed32_.get(index); } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public Builder setRepeatedSfixed32( int index, int value) { ensureRepeatedSfixed32IsMutable(); repeatedSfixed32_.set(index, value); return this; } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public Builder addRepeatedSfixed32(int value) { ensureRepeatedSfixed32IsMutable(); repeatedSfixed32_.add(value); return this; } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public Builder addAllRepeatedSfixed32( java.lang.Iterable values) { ensureRepeatedSfixed32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedSfixed32_); return this; } /** * repeated sfixed32 repeated_sfixed32 = 39; */ public Builder clearRepeatedSfixed32() { repeatedSfixed32_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000004); return this; } private java.util.List repeatedSfixed64_ = java.util.Collections.emptyList(); private void ensureRepeatedSfixed64IsMutable() { if (!((bitField1_ & 0x00000008) == 0x00000008)) { repeatedSfixed64_ = new java.util.ArrayList(repeatedSfixed64_); bitField1_ |= 0x00000008; } } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public java.util.List getRepeatedSfixed64List() { return java.util.Collections.unmodifiableList(repeatedSfixed64_); } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public int getRepeatedSfixed64Count() { return repeatedSfixed64_.size(); } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public long getRepeatedSfixed64(int index) { return repeatedSfixed64_.get(index); } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public Builder setRepeatedSfixed64( int index, long value) { ensureRepeatedSfixed64IsMutable(); repeatedSfixed64_.set(index, value); return this; } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public Builder addRepeatedSfixed64(long value) { ensureRepeatedSfixed64IsMutable(); repeatedSfixed64_.add(value); return this; } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public Builder addAllRepeatedSfixed64( java.lang.Iterable values) { ensureRepeatedSfixed64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedSfixed64_); return this; } /** * repeated sfixed64 repeated_sfixed64 = 40; */ public Builder clearRepeatedSfixed64() { repeatedSfixed64_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000008); return this; } private java.util.List repeatedFloat_ = java.util.Collections.emptyList(); private void ensureRepeatedFloatIsMutable() { if (!((bitField1_ & 0x00000010) == 0x00000010)) { repeatedFloat_ = new java.util.ArrayList(repeatedFloat_); bitField1_ |= 0x00000010; } } /** * repeated float repeated_float = 41; */ public java.util.List getRepeatedFloatList() { return java.util.Collections.unmodifiableList(repeatedFloat_); } /** * repeated float repeated_float = 41; */ public int getRepeatedFloatCount() { return repeatedFloat_.size(); } /** * repeated float repeated_float = 41; */ public float getRepeatedFloat(int index) { return repeatedFloat_.get(index); } /** * repeated float repeated_float = 41; */ public Builder setRepeatedFloat( int index, float value) { ensureRepeatedFloatIsMutable(); repeatedFloat_.set(index, value); return this; } /** * repeated float repeated_float = 41; */ public Builder addRepeatedFloat(float value) { ensureRepeatedFloatIsMutable(); repeatedFloat_.add(value); return this; } /** * repeated float repeated_float = 41; */ public Builder addAllRepeatedFloat( java.lang.Iterable values) { ensureRepeatedFloatIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedFloat_); return this; } /** * repeated float repeated_float = 41; */ public Builder clearRepeatedFloat() { repeatedFloat_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000010); return this; } private java.util.List repeatedDouble_ = java.util.Collections.emptyList(); private void ensureRepeatedDoubleIsMutable() { if (!((bitField1_ & 0x00000020) == 0x00000020)) { repeatedDouble_ = new java.util.ArrayList(repeatedDouble_); bitField1_ |= 0x00000020; } } /** * repeated double repeated_double = 42; */ public java.util.List getRepeatedDoubleList() { return java.util.Collections.unmodifiableList(repeatedDouble_); } /** * repeated double repeated_double = 42; */ public int getRepeatedDoubleCount() { return repeatedDouble_.size(); } /** * repeated double repeated_double = 42; */ public double getRepeatedDouble(int index) { return repeatedDouble_.get(index); } /** * repeated double repeated_double = 42; */ public Builder setRepeatedDouble( int index, double value) { ensureRepeatedDoubleIsMutable(); repeatedDouble_.set(index, value); return this; } /** * repeated double repeated_double = 42; */ public Builder addRepeatedDouble(double value) { ensureRepeatedDoubleIsMutable(); repeatedDouble_.add(value); return this; } /** * repeated double repeated_double = 42; */ public Builder addAllRepeatedDouble( java.lang.Iterable values) { ensureRepeatedDoubleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedDouble_); return this; } /** * repeated double repeated_double = 42; */ public Builder clearRepeatedDouble() { repeatedDouble_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000020); return this; } private java.util.List repeatedBool_ = java.util.Collections.emptyList(); private void ensureRepeatedBoolIsMutable() { if (!((bitField1_ & 0x00000040) == 0x00000040)) { repeatedBool_ = new java.util.ArrayList(repeatedBool_); bitField1_ |= 0x00000040; } } /** * repeated bool repeated_bool = 43; */ public java.util.List getRepeatedBoolList() { return java.util.Collections.unmodifiableList(repeatedBool_); } /** * repeated bool repeated_bool = 43; */ public int getRepeatedBoolCount() { return repeatedBool_.size(); } /** * repeated bool repeated_bool = 43; */ public boolean getRepeatedBool(int index) { return repeatedBool_.get(index); } /** * repeated bool repeated_bool = 43; */ public Builder setRepeatedBool( int index, boolean value) { ensureRepeatedBoolIsMutable(); repeatedBool_.set(index, value); return this; } /** * repeated bool repeated_bool = 43; */ public Builder addRepeatedBool(boolean value) { ensureRepeatedBoolIsMutable(); repeatedBool_.add(value); return this; } /** * repeated bool repeated_bool = 43; */ public Builder addAllRepeatedBool( java.lang.Iterable values) { ensureRepeatedBoolIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedBool_); return this; } /** * repeated bool repeated_bool = 43; */ public Builder clearRepeatedBool() { repeatedBool_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000040); return this; } private com.google.protobuf.LazyStringList repeatedString_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRepeatedStringIsMutable() { if (!((bitField1_ & 0x00000080) == 0x00000080)) { repeatedString_ = new com.google.protobuf.LazyStringArrayList(repeatedString_); bitField1_ |= 0x00000080; } } /** * repeated string repeated_string = 44; */ public com.google.protobuf.ProtocolStringList getRepeatedStringList() { return repeatedString_.getUnmodifiableView(); } /** * repeated string repeated_string = 44; */ public int getRepeatedStringCount() { return repeatedString_.size(); } /** * repeated string repeated_string = 44; */ public java.lang.String getRepeatedString(int index) { return repeatedString_.get(index); } /** * repeated string repeated_string = 44; */ public com.google.protobuf.ByteString getRepeatedStringBytes(int index) { return repeatedString_.getByteString(index); } /** * repeated string repeated_string = 44; */ public Builder setRepeatedString( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringIsMutable(); repeatedString_.set(index, value); return this; } /** * repeated string repeated_string = 44; */ public Builder addRepeatedString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringIsMutable(); repeatedString_.add(value); return this; } /** * repeated string repeated_string = 44; */ public Builder addAllRepeatedString( java.lang.Iterable values) { ensureRepeatedStringIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedString_); return this; } /** * repeated string repeated_string = 44; */ public Builder clearRepeatedString() { repeatedString_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00000080); return this; } /** * repeated string repeated_string = 44; */ public Builder addRepeatedStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringIsMutable(); repeatedString_.add(value); return this; } private java.util.List repeatedBytes_ = java.util.Collections.emptyList(); private void ensureRepeatedBytesIsMutable() { if (!((bitField1_ & 0x00000100) == 0x00000100)) { repeatedBytes_ = new java.util.ArrayList(repeatedBytes_); bitField1_ |= 0x00000100; } } /** * repeated bytes repeated_bytes = 45; */ public java.util.List getRepeatedBytesList() { return java.util.Collections.unmodifiableList(repeatedBytes_); } /** * repeated bytes repeated_bytes = 45; */ public int getRepeatedBytesCount() { return repeatedBytes_.size(); } /** * repeated bytes repeated_bytes = 45; */ public com.google.protobuf.ByteString getRepeatedBytes(int index) { return repeatedBytes_.get(index); } /** * repeated bytes repeated_bytes = 45; */ public Builder setRepeatedBytes( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedBytesIsMutable(); repeatedBytes_.set(index, value); return this; } /** * repeated bytes repeated_bytes = 45; */ public Builder addRepeatedBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedBytesIsMutable(); repeatedBytes_.add(value); return this; } /** * repeated bytes repeated_bytes = 45; */ public Builder addAllRepeatedBytes( java.lang.Iterable values) { ensureRepeatedBytesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedBytes_); return this; } /** * repeated bytes repeated_bytes = 45; */ public Builder clearRepeatedBytes() { repeatedBytes_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000100); return this; } private java.util.List repeatedGroup_ = java.util.Collections.emptyList(); private void ensureRepeatedGroupIsMutable() { if (!((bitField1_ & 0x00000200) == 0x00000200)) { repeatedGroup_ = new java.util.ArrayList(repeatedGroup_); bitField1_ |= 0x00000200; } } /** * repeated group RepeatedGroup = 46 { ... } */ public java.util.List getRepeatedGroupList() { return java.util.Collections.unmodifiableList(repeatedGroup_); } /** * repeated group RepeatedGroup = 46 { ... } */ public int getRepeatedGroupCount() { return repeatedGroup_.size(); } /** * repeated group RepeatedGroup = 46 { ... } */ public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index) { return repeatedGroup_.get(index); } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder setRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.set(index, value); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder setRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.set(index, builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder addRepeatedGroup(com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.add(value); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder addRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.add(index, value); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder addRepeatedGroup( com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.add(builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder addRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.add(index, builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder addAllRepeatedGroup( java.lang.Iterable values) { ensureRepeatedGroupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedGroup_); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder clearRepeatedGroup() { repeatedGroup_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000200); return this; } /** * repeated group RepeatedGroup = 46 { ... } */ public Builder removeRepeatedGroup(int index) { ensureRepeatedGroupIsMutable(); repeatedGroup_.remove(index); return this; } private java.util.List repeatedNestedMessage_ = java.util.Collections.emptyList(); private void ensureRepeatedNestedMessageIsMutable() { if (!((bitField1_ & 0x00000400) == 0x00000400)) { repeatedNestedMessage_ = new java.util.ArrayList(repeatedNestedMessage_); bitField1_ |= 0x00000400; } } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public java.util.List getRepeatedNestedMessageList() { return java.util.Collections.unmodifiableList(repeatedNestedMessage_); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public int getRepeatedNestedMessageCount() { return repeatedNestedMessage_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index) { return repeatedNestedMessage_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder setRepeatedNestedMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder setRepeatedNestedMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder addRepeatedNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder addRepeatedNestedMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder addRepeatedNestedMessage( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder addRepeatedNestedMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder addAllRepeatedNestedMessage( java.lang.Iterable values) { ensureRepeatedNestedMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedNestedMessage_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder clearRepeatedNestedMessage() { repeatedNestedMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000400); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48; */ public Builder removeRepeatedNestedMessage(int index) { ensureRepeatedNestedMessageIsMutable(); repeatedNestedMessage_.remove(index); return this; } private java.util.List repeatedForeignMessage_ = java.util.Collections.emptyList(); private void ensureRepeatedForeignMessageIsMutable() { if (!((bitField1_ & 0x00000800) == 0x00000800)) { repeatedForeignMessage_ = new java.util.ArrayList(repeatedForeignMessage_); bitField1_ |= 0x00000800; } } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public java.util.List getRepeatedForeignMessageList() { return java.util.Collections.unmodifiableList(repeatedForeignMessage_); } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public int getRepeatedForeignMessageCount() { return repeatedForeignMessage_.size(); } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index) { return repeatedForeignMessage_.get(index); } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder setRepeatedForeignMessage( int index, com.google.protobuf.UnittestLite.ForeignMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.set(index, value); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder setRepeatedForeignMessage( int index, com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) { ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder addRepeatedForeignMessage(com.google.protobuf.UnittestLite.ForeignMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.add(value); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder addRepeatedForeignMessage( int index, com.google.protobuf.UnittestLite.ForeignMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.add(index, value); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder addRepeatedForeignMessage( com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) { ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder addRepeatedForeignMessage( int index, com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) { ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder addAllRepeatedForeignMessage( java.lang.Iterable values) { ensureRepeatedForeignMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedForeignMessage_); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder clearRepeatedForeignMessage() { repeatedForeignMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00000800); return this; } /** * repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49; */ public Builder removeRepeatedForeignMessage(int index) { ensureRepeatedForeignMessageIsMutable(); repeatedForeignMessage_.remove(index); return this; } private java.util.List repeatedImportMessage_ = java.util.Collections.emptyList(); private void ensureRepeatedImportMessageIsMutable() { if (!((bitField1_ & 0x00001000) == 0x00001000)) { repeatedImportMessage_ = new java.util.ArrayList(repeatedImportMessage_); bitField1_ |= 0x00001000; } } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public java.util.List getRepeatedImportMessageList() { return java.util.Collections.unmodifiableList(repeatedImportMessage_); } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public int getRepeatedImportMessageCount() { return repeatedImportMessage_.size(); } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index) { return repeatedImportMessage_.get(index); } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder setRepeatedImportMessage( int index, com.google.protobuf.UnittestImportLite.ImportMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.set(index, value); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder setRepeatedImportMessage( int index, com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) { ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder addRepeatedImportMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.add(value); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder addRepeatedImportMessage( int index, com.google.protobuf.UnittestImportLite.ImportMessageLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.add(index, value); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder addRepeatedImportMessage( com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) { ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder addRepeatedImportMessage( int index, com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) { ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder addAllRepeatedImportMessage( java.lang.Iterable values) { ensureRepeatedImportMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedImportMessage_); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder clearRepeatedImportMessage() { repeatedImportMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00001000); return this; } /** * repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50; */ public Builder removeRepeatedImportMessage(int index) { ensureRepeatedImportMessageIsMutable(); repeatedImportMessage_.remove(index); return this; } private java.util.List repeatedNestedEnum_ = java.util.Collections.emptyList(); private void ensureRepeatedNestedEnumIsMutable() { if (!((bitField1_ & 0x00002000) == 0x00002000)) { repeatedNestedEnum_ = new java.util.ArrayList(repeatedNestedEnum_); bitField1_ |= 0x00002000; } } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public java.util.List getRepeatedNestedEnumList() { return java.util.Collections.unmodifiableList(repeatedNestedEnum_); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public int getRepeatedNestedEnumCount() { return repeatedNestedEnum_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getRepeatedNestedEnum(int index) { return repeatedNestedEnum_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public Builder setRepeatedNestedEnum( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedNestedEnumIsMutable(); repeatedNestedEnum_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public Builder addRepeatedNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedNestedEnumIsMutable(); repeatedNestedEnum_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public Builder addAllRepeatedNestedEnum( java.lang.Iterable values) { ensureRepeatedNestedEnumIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedNestedEnum_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51; */ public Builder clearRepeatedNestedEnum() { repeatedNestedEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00002000); return this; } private java.util.List repeatedForeignEnum_ = java.util.Collections.emptyList(); private void ensureRepeatedForeignEnumIsMutable() { if (!((bitField1_ & 0x00004000) == 0x00004000)) { repeatedForeignEnum_ = new java.util.ArrayList(repeatedForeignEnum_); bitField1_ |= 0x00004000; } } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public java.util.List getRepeatedForeignEnumList() { return java.util.Collections.unmodifiableList(repeatedForeignEnum_); } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public int getRepeatedForeignEnumCount() { return repeatedForeignEnum_.size(); } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getRepeatedForeignEnum(int index) { return repeatedForeignEnum_.get(index); } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public Builder setRepeatedForeignEnum( int index, com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedForeignEnumIsMutable(); repeatedForeignEnum_.set(index, value); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public Builder addRepeatedForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedForeignEnumIsMutable(); repeatedForeignEnum_.add(value); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public Builder addAllRepeatedForeignEnum( java.lang.Iterable values) { ensureRepeatedForeignEnumIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedForeignEnum_); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52; */ public Builder clearRepeatedForeignEnum() { repeatedForeignEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00004000); return this; } private java.util.List repeatedImportEnum_ = java.util.Collections.emptyList(); private void ensureRepeatedImportEnumIsMutable() { if (!((bitField1_ & 0x00008000) == 0x00008000)) { repeatedImportEnum_ = new java.util.ArrayList(repeatedImportEnum_); bitField1_ |= 0x00008000; } } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public java.util.List getRepeatedImportEnumList() { return java.util.Collections.unmodifiableList(repeatedImportEnum_); } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public int getRepeatedImportEnumCount() { return repeatedImportEnum_.size(); } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getRepeatedImportEnum(int index) { return repeatedImportEnum_.get(index); } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public Builder setRepeatedImportEnum( int index, com.google.protobuf.UnittestImportLite.ImportEnumLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedImportEnumIsMutable(); repeatedImportEnum_.set(index, value); return this; } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public Builder addRepeatedImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedImportEnumIsMutable(); repeatedImportEnum_.add(value); return this; } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public Builder addAllRepeatedImportEnum( java.lang.Iterable values) { ensureRepeatedImportEnumIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedImportEnum_); return this; } /** * repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53; */ public Builder clearRepeatedImportEnum() { repeatedImportEnum_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00008000); return this; } private com.google.protobuf.LazyStringList repeatedStringPiece_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRepeatedStringPieceIsMutable() { if (!((bitField1_ & 0x00010000) == 0x00010000)) { repeatedStringPiece_ = new com.google.protobuf.LazyStringArrayList(repeatedStringPiece_); bitField1_ |= 0x00010000; } } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public com.google.protobuf.ProtocolStringList getRepeatedStringPieceList() { return repeatedStringPiece_.getUnmodifiableView(); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public int getRepeatedStringPieceCount() { return repeatedStringPiece_.size(); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public java.lang.String getRepeatedStringPiece(int index) { return repeatedStringPiece_.get(index); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getRepeatedStringPieceBytes(int index) { return repeatedStringPiece_.getByteString(index); } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public Builder setRepeatedStringPiece( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringPieceIsMutable(); repeatedStringPiece_.set(index, value); return this; } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public Builder addRepeatedStringPiece( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringPieceIsMutable(); repeatedStringPiece_.add(value); return this; } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public Builder addAllRepeatedStringPiece( java.lang.Iterable values) { ensureRepeatedStringPieceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedStringPiece_); return this; } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public Builder clearRepeatedStringPiece() { repeatedStringPiece_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00010000); return this; } /** * repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; */ public Builder addRepeatedStringPieceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedStringPieceIsMutable(); repeatedStringPiece_.add(value); return this; } private com.google.protobuf.LazyStringList repeatedCord_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRepeatedCordIsMutable() { if (!((bitField1_ & 0x00020000) == 0x00020000)) { repeatedCord_ = new com.google.protobuf.LazyStringArrayList(repeatedCord_); bitField1_ |= 0x00020000; } } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public com.google.protobuf.ProtocolStringList getRepeatedCordList() { return repeatedCord_.getUnmodifiableView(); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public int getRepeatedCordCount() { return repeatedCord_.size(); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public java.lang.String getRepeatedCord(int index) { return repeatedCord_.get(index); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public com.google.protobuf.ByteString getRepeatedCordBytes(int index) { return repeatedCord_.getByteString(index); } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public Builder setRepeatedCord( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedCordIsMutable(); repeatedCord_.set(index, value); return this; } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public Builder addRepeatedCord( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedCordIsMutable(); repeatedCord_.add(value); return this; } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public Builder addAllRepeatedCord( java.lang.Iterable values) { ensureRepeatedCordIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedCord_); return this; } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public Builder clearRepeatedCord() { repeatedCord_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField1_ = (bitField1_ & ~0x00020000); return this; } /** * repeated string repeated_cord = 55 [ctype = CORD]; */ public Builder addRepeatedCordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedCordIsMutable(); repeatedCord_.add(value); return this; } private java.util.List repeatedLazyMessage_ = java.util.Collections.emptyList(); private void ensureRepeatedLazyMessageIsMutable() { if (!((bitField1_ & 0x00040000) == 0x00040000)) { repeatedLazyMessage_ = new java.util.ArrayList( repeatedLazyMessage_); bitField1_ |= 0x00040000; } } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public java.util.List getRepeatedLazyMessageList() { java.util.List list = new java.util.ArrayList(repeatedLazyMessage_.size()); for (com.google.protobuf.LazyFieldLite lf : repeatedLazyMessage_) { list.add((com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) lf.getValue(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance())); } return java.util.Collections.unmodifiableList(list); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public int getRepeatedLazyMessageCount() { return repeatedLazyMessage_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedLazyMessage(int index) { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) repeatedLazyMessage_.get(index).getValue( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()); } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder setRepeatedLazyMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.set(index, com.google.protobuf.LazyFieldLite.fromValue(value)); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder setRepeatedLazyMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.set(index, com.google.protobuf.LazyFieldLite.fromValue( builderForValue.build())); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder addRepeatedLazyMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.add(com.google.protobuf.LazyFieldLite.fromValue(value)); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder addRepeatedLazyMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.add(index, com.google.protobuf.LazyFieldLite.fromValue(value)); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder addRepeatedLazyMessage( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.add(com.google.protobuf.LazyFieldLite.fromValue( builderForValue.build())); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder addRepeatedLazyMessage( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.add(index, com.google.protobuf.LazyFieldLite.fromValue( builderForValue.build())); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder addAllRepeatedLazyMessage( java.lang.Iterable values) { ensureRepeatedLazyMessageIsMutable(); for (com.google.protobuf.MessageLite v : values) { repeatedLazyMessage_.add(com.google.protobuf.LazyFieldLite.fromValue(v)); } return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder clearRepeatedLazyMessage() { repeatedLazyMessage_ = java.util.Collections.emptyList(); bitField1_ = (bitField1_ & ~0x00040000); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true]; */ public Builder removeRepeatedLazyMessage(int index) { ensureRepeatedLazyMessageIsMutable(); repeatedLazyMessage_.remove(index); return this; } private int defaultInt32_ = 41; /** * optional int32 default_int32 = 61 [default = 41]; * *
       * Singular with defaults
       * 
*/ public boolean hasDefaultInt32() { return ((bitField1_ & 0x00080000) == 0x00080000); } /** * optional int32 default_int32 = 61 [default = 41]; * *
       * Singular with defaults
       * 
*/ public int getDefaultInt32() { return defaultInt32_; } /** * optional int32 default_int32 = 61 [default = 41]; * *
       * Singular with defaults
       * 
*/ public Builder setDefaultInt32(int value) { bitField1_ |= 0x00080000; defaultInt32_ = value; return this; } /** * optional int32 default_int32 = 61 [default = 41]; * *
       * Singular with defaults
       * 
*/ public Builder clearDefaultInt32() { bitField1_ = (bitField1_ & ~0x00080000); defaultInt32_ = 41; return this; } private long defaultInt64_ = 42L; /** * optional int64 default_int64 = 62 [default = 42]; */ public boolean hasDefaultInt64() { return ((bitField1_ & 0x00100000) == 0x00100000); } /** * optional int64 default_int64 = 62 [default = 42]; */ public long getDefaultInt64() { return defaultInt64_; } /** * optional int64 default_int64 = 62 [default = 42]; */ public Builder setDefaultInt64(long value) { bitField1_ |= 0x00100000; defaultInt64_ = value; return this; } /** * optional int64 default_int64 = 62 [default = 42]; */ public Builder clearDefaultInt64() { bitField1_ = (bitField1_ & ~0x00100000); defaultInt64_ = 42L; return this; } private int defaultUint32_ = 43; /** * optional uint32 default_uint32 = 63 [default = 43]; */ public boolean hasDefaultUint32() { return ((bitField1_ & 0x00200000) == 0x00200000); } /** * optional uint32 default_uint32 = 63 [default = 43]; */ public int getDefaultUint32() { return defaultUint32_; } /** * optional uint32 default_uint32 = 63 [default = 43]; */ public Builder setDefaultUint32(int value) { bitField1_ |= 0x00200000; defaultUint32_ = value; return this; } /** * optional uint32 default_uint32 = 63 [default = 43]; */ public Builder clearDefaultUint32() { bitField1_ = (bitField1_ & ~0x00200000); defaultUint32_ = 43; return this; } private long defaultUint64_ = 44L; /** * optional uint64 default_uint64 = 64 [default = 44]; */ public boolean hasDefaultUint64() { return ((bitField1_ & 0x00400000) == 0x00400000); } /** * optional uint64 default_uint64 = 64 [default = 44]; */ public long getDefaultUint64() { return defaultUint64_; } /** * optional uint64 default_uint64 = 64 [default = 44]; */ public Builder setDefaultUint64(long value) { bitField1_ |= 0x00400000; defaultUint64_ = value; return this; } /** * optional uint64 default_uint64 = 64 [default = 44]; */ public Builder clearDefaultUint64() { bitField1_ = (bitField1_ & ~0x00400000); defaultUint64_ = 44L; return this; } private int defaultSint32_ = -45; /** * optional sint32 default_sint32 = 65 [default = -45]; */ public boolean hasDefaultSint32() { return ((bitField1_ & 0x00800000) == 0x00800000); } /** * optional sint32 default_sint32 = 65 [default = -45]; */ public int getDefaultSint32() { return defaultSint32_; } /** * optional sint32 default_sint32 = 65 [default = -45]; */ public Builder setDefaultSint32(int value) { bitField1_ |= 0x00800000; defaultSint32_ = value; return this; } /** * optional sint32 default_sint32 = 65 [default = -45]; */ public Builder clearDefaultSint32() { bitField1_ = (bitField1_ & ~0x00800000); defaultSint32_ = -45; return this; } private long defaultSint64_ = 46L; /** * optional sint64 default_sint64 = 66 [default = 46]; */ public boolean hasDefaultSint64() { return ((bitField1_ & 0x01000000) == 0x01000000); } /** * optional sint64 default_sint64 = 66 [default = 46]; */ public long getDefaultSint64() { return defaultSint64_; } /** * optional sint64 default_sint64 = 66 [default = 46]; */ public Builder setDefaultSint64(long value) { bitField1_ |= 0x01000000; defaultSint64_ = value; return this; } /** * optional sint64 default_sint64 = 66 [default = 46]; */ public Builder clearDefaultSint64() { bitField1_ = (bitField1_ & ~0x01000000); defaultSint64_ = 46L; return this; } private int defaultFixed32_ = 47; /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public boolean hasDefaultFixed32() { return ((bitField1_ & 0x02000000) == 0x02000000); } /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public int getDefaultFixed32() { return defaultFixed32_; } /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public Builder setDefaultFixed32(int value) { bitField1_ |= 0x02000000; defaultFixed32_ = value; return this; } /** * optional fixed32 default_fixed32 = 67 [default = 47]; */ public Builder clearDefaultFixed32() { bitField1_ = (bitField1_ & ~0x02000000); defaultFixed32_ = 47; return this; } private long defaultFixed64_ = 48L; /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public boolean hasDefaultFixed64() { return ((bitField1_ & 0x04000000) == 0x04000000); } /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public long getDefaultFixed64() { return defaultFixed64_; } /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public Builder setDefaultFixed64(long value) { bitField1_ |= 0x04000000; defaultFixed64_ = value; return this; } /** * optional fixed64 default_fixed64 = 68 [default = 48]; */ public Builder clearDefaultFixed64() { bitField1_ = (bitField1_ & ~0x04000000); defaultFixed64_ = 48L; return this; } private int defaultSfixed32_ = 49; /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public boolean hasDefaultSfixed32() { return ((bitField1_ & 0x08000000) == 0x08000000); } /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public int getDefaultSfixed32() { return defaultSfixed32_; } /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public Builder setDefaultSfixed32(int value) { bitField1_ |= 0x08000000; defaultSfixed32_ = value; return this; } /** * optional sfixed32 default_sfixed32 = 69 [default = 49]; */ public Builder clearDefaultSfixed32() { bitField1_ = (bitField1_ & ~0x08000000); defaultSfixed32_ = 49; return this; } private long defaultSfixed64_ = -50L; /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public boolean hasDefaultSfixed64() { return ((bitField1_ & 0x10000000) == 0x10000000); } /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public long getDefaultSfixed64() { return defaultSfixed64_; } /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public Builder setDefaultSfixed64(long value) { bitField1_ |= 0x10000000; defaultSfixed64_ = value; return this; } /** * optional sfixed64 default_sfixed64 = 70 [default = -50]; */ public Builder clearDefaultSfixed64() { bitField1_ = (bitField1_ & ~0x10000000); defaultSfixed64_ = -50L; return this; } private float defaultFloat_ = 51.5F; /** * optional float default_float = 71 [default = 51.5]; */ public boolean hasDefaultFloat() { return ((bitField1_ & 0x20000000) == 0x20000000); } /** * optional float default_float = 71 [default = 51.5]; */ public float getDefaultFloat() { return defaultFloat_; } /** * optional float default_float = 71 [default = 51.5]; */ public Builder setDefaultFloat(float value) { bitField1_ |= 0x20000000; defaultFloat_ = value; return this; } /** * optional float default_float = 71 [default = 51.5]; */ public Builder clearDefaultFloat() { bitField1_ = (bitField1_ & ~0x20000000); defaultFloat_ = 51.5F; return this; } private double defaultDouble_ = 52000D; /** * optional double default_double = 72 [default = 52000]; */ public boolean hasDefaultDouble() { return ((bitField1_ & 0x40000000) == 0x40000000); } /** * optional double default_double = 72 [default = 52000]; */ public double getDefaultDouble() { return defaultDouble_; } /** * optional double default_double = 72 [default = 52000]; */ public Builder setDefaultDouble(double value) { bitField1_ |= 0x40000000; defaultDouble_ = value; return this; } /** * optional double default_double = 72 [default = 52000]; */ public Builder clearDefaultDouble() { bitField1_ = (bitField1_ & ~0x40000000); defaultDouble_ = 52000D; return this; } private boolean defaultBool_ = true; /** * optional bool default_bool = 73 [default = true]; */ public boolean hasDefaultBool() { return ((bitField1_ & 0x80000000) == 0x80000000); } /** * optional bool default_bool = 73 [default = true]; */ public boolean getDefaultBool() { return defaultBool_; } /** * optional bool default_bool = 73 [default = true]; */ public Builder setDefaultBool(boolean value) { bitField1_ |= 0x80000000; defaultBool_ = value; return this; } /** * optional bool default_bool = 73 [default = true]; */ public Builder clearDefaultBool() { bitField1_ = (bitField1_ & ~0x80000000); defaultBool_ = true; return this; } private java.lang.Object defaultString_ = "hello"; /** * optional string default_string = 74 [default = "hello"]; */ public boolean hasDefaultString() { return ((bitField2_ & 0x00000001) == 0x00000001); } /** * optional string default_string = 74 [default = "hello"]; */ public java.lang.String getDefaultString() { java.lang.Object ref = defaultString_; 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()) { defaultString_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string default_string = 74 [default = "hello"]; */ public com.google.protobuf.ByteString getDefaultStringBytes() { java.lang.Object ref = defaultString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string default_string = 74 [default = "hello"]; */ public Builder setDefaultString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000001; defaultString_ = value; return this; } /** * optional string default_string = 74 [default = "hello"]; */ public Builder clearDefaultString() { bitField2_ = (bitField2_ & ~0x00000001); defaultString_ = getDefaultInstance().getDefaultString(); return this; } /** * optional string default_string = 74 [default = "hello"]; */ public Builder setDefaultStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000001; defaultString_ = value; return this; } private com.google.protobuf.ByteString defaultBytes_ = com.google.protobuf.Internal.bytesDefaultValue("world"); /** * optional bytes default_bytes = 75 [default = "world"]; */ public boolean hasDefaultBytes() { return ((bitField2_ & 0x00000002) == 0x00000002); } /** * optional bytes default_bytes = 75 [default = "world"]; */ public com.google.protobuf.ByteString getDefaultBytes() { return defaultBytes_; } /** * optional bytes default_bytes = 75 [default = "world"]; */ public Builder setDefaultBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000002; defaultBytes_ = value; return this; } /** * optional bytes default_bytes = 75 [default = "world"]; */ public Builder clearDefaultBytes() { bitField2_ = (bitField2_ & ~0x00000002); defaultBytes_ = getDefaultInstance().getDefaultBytes(); return this; } private com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum defaultNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.BAR; /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public boolean hasDefaultNestedEnum() { return ((bitField2_ & 0x00000004) == 0x00000004); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getDefaultNestedEnum() { return defaultNestedEnum_; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public Builder setDefaultNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000004; defaultNestedEnum_ = value; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR]; */ public Builder clearDefaultNestedEnum() { bitField2_ = (bitField2_ & ~0x00000004); defaultNestedEnum_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.BAR; return this; } private com.google.protobuf.UnittestLite.ForeignEnumLite defaultForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_BAR; /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public boolean hasDefaultForeignEnum() { return ((bitField2_ & 0x00000008) == 0x00000008); } /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getDefaultForeignEnum() { return defaultForeignEnum_; } /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public Builder setDefaultForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000008; defaultForeignEnum_ = value; return this; } /** * optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR]; */ public Builder clearDefaultForeignEnum() { bitField2_ = (bitField2_ & ~0x00000008); defaultForeignEnum_ = com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_BAR; return this; } private com.google.protobuf.UnittestImportLite.ImportEnumLite defaultImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR; /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public boolean hasDefaultImportEnum() { return ((bitField2_ & 0x00000010) == 0x00000010); } /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum() { return defaultImportEnum_; } /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public Builder setDefaultImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000010; defaultImportEnum_ = value; return this; } /** * optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR]; */ public Builder clearDefaultImportEnum() { bitField2_ = (bitField2_ & ~0x00000010); defaultImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR; return this; } private java.lang.Object defaultStringPiece_ = "abc"; /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public boolean hasDefaultStringPiece() { return ((bitField2_ & 0x00000020) == 0x00000020); } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public java.lang.String getDefaultStringPiece() { java.lang.Object ref = defaultStringPiece_; 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()) { defaultStringPiece_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public com.google.protobuf.ByteString getDefaultStringPieceBytes() { java.lang.Object ref = defaultStringPiece_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultStringPiece_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public Builder setDefaultStringPiece( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000020; defaultStringPiece_ = value; return this; } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public Builder clearDefaultStringPiece() { bitField2_ = (bitField2_ & ~0x00000020); defaultStringPiece_ = getDefaultInstance().getDefaultStringPiece(); return this; } /** * optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; */ public Builder setDefaultStringPieceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000020; defaultStringPiece_ = value; return this; } private java.lang.Object defaultCord_ = "123"; /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public boolean hasDefaultCord() { return ((bitField2_ & 0x00000040) == 0x00000040); } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public java.lang.String getDefaultCord() { java.lang.Object ref = defaultCord_; 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()) { defaultCord_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public com.google.protobuf.ByteString getDefaultCordBytes() { java.lang.Object ref = defaultCord_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCord_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public Builder setDefaultCord( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000040; defaultCord_ = value; return this; } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public Builder clearDefaultCord() { bitField2_ = (bitField2_ & ~0x00000040); defaultCord_ = getDefaultInstance().getDefaultCord(); return this; } /** * optional string default_cord = 85 [default = "123", ctype = CORD]; */ public Builder setDefaultCordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField2_ |= 0x00000040; defaultCord_ = value; return this; } /** * optional uint32 oneof_uint32 = 111; */ public boolean hasOneofUint32() { return oneofFieldCase_ == 111; } /** * optional uint32 oneof_uint32 = 111; */ public int getOneofUint32() { if (oneofFieldCase_ == 111) { return (java.lang.Integer) oneofField_; } return 0; } /** * optional uint32 oneof_uint32 = 111; */ public Builder setOneofUint32(int value) { oneofFieldCase_ = 111; oneofField_ = value; return this; } /** * optional uint32 oneof_uint32 = 111; */ public Builder clearOneofUint32() { if (oneofFieldCase_ == 111) { oneofFieldCase_ = 0; oneofField_ = null; } return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public boolean hasOneofNestedMessage() { return oneofFieldCase_ == 112; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOneofNestedMessage() { if (oneofFieldCase_ == 112) { return (com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_; } return com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(); } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public Builder setOneofNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (value == null) { throw new NullPointerException(); } oneofField_ = value; oneofFieldCase_ = 112; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public Builder setOneofNestedMessage( com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) { oneofField_ = builderForValue.build(); oneofFieldCase_ = 112; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public Builder mergeOneofNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) { if (oneofFieldCase_ == 112 && oneofField_ != com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance()) { oneofField_ = com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.newBuilder((com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage) oneofField_) .mergeFrom(value).buildPartial(); } else { oneofField_ = value; } oneofFieldCase_ = 112; return this; } /** * optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112; */ public Builder clearOneofNestedMessage() { if (oneofFieldCase_ == 112) { oneofFieldCase_ = 0; oneofField_ = null; } return this; } /** * optional string oneof_string = 113; */ public boolean hasOneofString() { return oneofFieldCase_ == 113; } /** * optional string oneof_string = 113; */ public java.lang.String getOneofString() { java.lang.Object ref = ""; if (oneofFieldCase_ == 113) { ref = oneofField_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofFieldCase_ == 113) { if (bs.isValidUtf8()) { oneofField_ = s; } } return s; } else { return (java.lang.String) ref; } } /** * optional string oneof_string = 113; */ public com.google.protobuf.ByteString getOneofStringBytes() { java.lang.Object ref = ""; if (oneofFieldCase_ == 113) { ref = oneofField_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (oneofFieldCase_ == 113) { oneofField_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string oneof_string = 113; */ public Builder setOneofString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } oneofFieldCase_ = 113; oneofField_ = value; return this; } /** * optional string oneof_string = 113; */ public Builder clearOneofString() { if (oneofFieldCase_ == 113) { oneofFieldCase_ = 0; oneofField_ = null; } return this; } /** * optional string oneof_string = 113; */ public Builder setOneofStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } oneofFieldCase_ = 113; oneofField_ = value; return this; } /** * optional bytes oneof_bytes = 114; */ public boolean hasOneofBytes() { return oneofFieldCase_ == 114; } /** * optional bytes oneof_bytes = 114; */ public com.google.protobuf.ByteString getOneofBytes() { if (oneofFieldCase_ == 114) { return (com.google.protobuf.ByteString) oneofField_; } return com.google.protobuf.ByteString.EMPTY; } /** * optional bytes oneof_bytes = 114; */ public Builder setOneofBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } oneofFieldCase_ = 114; oneofField_ = value; return this; } /** * optional bytes oneof_bytes = 114; */ public Builder clearOneofBytes() { if (oneofFieldCase_ == 114) { oneofFieldCase_ = 0; oneofField_ = null; } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestAllTypesLite) } static { defaultInstance = new TestAllTypesLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestAllTypesLite) } public interface ForeignMessageLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.ForeignMessageLite) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 c = 1; */ boolean hasC(); /** * optional int32 c = 1; */ int getC(); } /** * Protobuf type {@code protobuf_unittest.ForeignMessageLite} */ public static final class ForeignMessageLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.ForeignMessageLite) ForeignMessageLiteOrBuilder { // Use ForeignMessageLite.newBuilder() to construct. private ForeignMessageLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ForeignMessageLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ForeignMessageLite defaultInstance; public static ForeignMessageLite getDefaultInstance() { return defaultInstance; } public ForeignMessageLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private ForeignMessageLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; c_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ForeignMessageLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ForeignMessageLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int C_FIELD_NUMBER = 1; private int c_; /** * optional int32 c = 1; */ public boolean hasC() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 c = 1; */ public int getC() { return c_; } private void initFields() { c_ = 0; } 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.writeInt32(1, c_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, c_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.ForeignMessageLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.ForeignMessageLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.ForeignMessageLite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.ForeignMessageLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.ForeignMessageLite) com.google.protobuf.UnittestLite.ForeignMessageLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.ForeignMessageLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); c_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.ForeignMessageLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.ForeignMessageLite build() { com.google.protobuf.UnittestLite.ForeignMessageLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.ForeignMessageLite buildPartial() { com.google.protobuf.UnittestLite.ForeignMessageLite result = new com.google.protobuf.UnittestLite.ForeignMessageLite(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.c_ = c_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.ForeignMessageLite other) { if (other == com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance()) return this; if (other.hasC()) { setC(other.getC()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.ForeignMessageLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.ForeignMessageLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int c_ ; /** * optional int32 c = 1; */ public boolean hasC() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 c = 1; */ public int getC() { return c_; } /** * optional int32 c = 1; */ public Builder setC(int value) { bitField0_ |= 0x00000001; c_ = value; return this; } /** * optional int32 c = 1; */ public Builder clearC() { bitField0_ = (bitField0_ & ~0x00000001); c_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.ForeignMessageLite) } static { defaultInstance = new ForeignMessageLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.ForeignMessageLite) } public interface TestPackedTypesLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestPackedTypesLite) com.google.protobuf.MessageLiteOrBuilder { /** * repeated int32 packed_int32 = 90 [packed = true]; */ java.util.List getPackedInt32List(); /** * repeated int32 packed_int32 = 90 [packed = true]; */ int getPackedInt32Count(); /** * repeated int32 packed_int32 = 90 [packed = true]; */ int getPackedInt32(int index); /** * repeated int64 packed_int64 = 91 [packed = true]; */ java.util.List getPackedInt64List(); /** * repeated int64 packed_int64 = 91 [packed = true]; */ int getPackedInt64Count(); /** * repeated int64 packed_int64 = 91 [packed = true]; */ long getPackedInt64(int index); /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ java.util.List getPackedUint32List(); /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ int getPackedUint32Count(); /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ int getPackedUint32(int index); /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ java.util.List getPackedUint64List(); /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ int getPackedUint64Count(); /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ long getPackedUint64(int index); /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ java.util.List getPackedSint32List(); /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ int getPackedSint32Count(); /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ int getPackedSint32(int index); /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ java.util.List getPackedSint64List(); /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ int getPackedSint64Count(); /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ long getPackedSint64(int index); /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ java.util.List getPackedFixed32List(); /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ int getPackedFixed32Count(); /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ int getPackedFixed32(int index); /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ java.util.List getPackedFixed64List(); /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ int getPackedFixed64Count(); /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ long getPackedFixed64(int index); /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ java.util.List getPackedSfixed32List(); /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ int getPackedSfixed32Count(); /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ int getPackedSfixed32(int index); /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ java.util.List getPackedSfixed64List(); /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ int getPackedSfixed64Count(); /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ long getPackedSfixed64(int index); /** * repeated float packed_float = 100 [packed = true]; */ java.util.List getPackedFloatList(); /** * repeated float packed_float = 100 [packed = true]; */ int getPackedFloatCount(); /** * repeated float packed_float = 100 [packed = true]; */ float getPackedFloat(int index); /** * repeated double packed_double = 101 [packed = true]; */ java.util.List getPackedDoubleList(); /** * repeated double packed_double = 101 [packed = true]; */ int getPackedDoubleCount(); /** * repeated double packed_double = 101 [packed = true]; */ double getPackedDouble(int index); /** * repeated bool packed_bool = 102 [packed = true]; */ java.util.List getPackedBoolList(); /** * repeated bool packed_bool = 102 [packed = true]; */ int getPackedBoolCount(); /** * repeated bool packed_bool = 102 [packed = true]; */ boolean getPackedBool(int index); /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ java.util.List getPackedEnumList(); /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ int getPackedEnumCount(); /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ com.google.protobuf.UnittestLite.ForeignEnumLite getPackedEnum(int index); } /** * Protobuf type {@code protobuf_unittest.TestPackedTypesLite} */ public static final class TestPackedTypesLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestPackedTypesLite) TestPackedTypesLiteOrBuilder { // Use TestPackedTypesLite.newBuilder() to construct. private TestPackedTypesLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestPackedTypesLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestPackedTypesLite defaultInstance; public static TestPackedTypesLite getDefaultInstance() { return defaultInstance; } public TestPackedTypesLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestPackedTypesLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 720: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { packedInt32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } packedInt32_.add(input.readInt32()); break; } case 722: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { packedInt32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { packedInt32_.add(input.readInt32()); } input.popLimit(limit); break; } case 728: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { packedInt64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } packedInt64_.add(input.readInt64()); break; } case 730: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { packedInt64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { packedInt64_.add(input.readInt64()); } input.popLimit(limit); break; } case 736: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { packedUint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } packedUint32_.add(input.readUInt32()); break; } case 738: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { packedUint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { packedUint32_.add(input.readUInt32()); } input.popLimit(limit); break; } case 744: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { packedUint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } packedUint64_.add(input.readUInt64()); break; } case 746: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { packedUint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { packedUint64_.add(input.readUInt64()); } input.popLimit(limit); break; } case 752: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { packedSint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } packedSint32_.add(input.readSInt32()); break; } case 754: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { packedSint32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { packedSint32_.add(input.readSInt32()); } input.popLimit(limit); break; } case 760: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { packedSint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } packedSint64_.add(input.readSInt64()); break; } case 762: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { packedSint64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { packedSint64_.add(input.readSInt64()); } input.popLimit(limit); break; } case 773: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { packedFixed32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } packedFixed32_.add(input.readFixed32()); break; } case 770: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { packedFixed32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { packedFixed32_.add(input.readFixed32()); } input.popLimit(limit); break; } case 777: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { packedFixed64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } packedFixed64_.add(input.readFixed64()); break; } case 778: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) { packedFixed64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } while (input.getBytesUntilLimit() > 0) { packedFixed64_.add(input.readFixed64()); } input.popLimit(limit); break; } case 789: { if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { packedSfixed32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } packedSfixed32_.add(input.readSFixed32()); break; } case 786: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) { packedSfixed32_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } while (input.getBytesUntilLimit() > 0) { packedSfixed32_.add(input.readSFixed32()); } input.popLimit(limit); break; } case 793: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { packedSfixed64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } packedSfixed64_.add(input.readSFixed64()); break; } case 794: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000200) == 0x00000200) && input.getBytesUntilLimit() > 0) { packedSfixed64_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } while (input.getBytesUntilLimit() > 0) { packedSfixed64_.add(input.readSFixed64()); } input.popLimit(limit); break; } case 805: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { packedFloat_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } packedFloat_.add(input.readFloat()); break; } case 802: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000400) == 0x00000400) && input.getBytesUntilLimit() > 0) { packedFloat_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } while (input.getBytesUntilLimit() > 0) { packedFloat_.add(input.readFloat()); } input.popLimit(limit); break; } case 809: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { packedDouble_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } packedDouble_.add(input.readDouble()); break; } case 810: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000800) == 0x00000800) && input.getBytesUntilLimit() > 0) { packedDouble_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } while (input.getBytesUntilLimit() > 0) { packedDouble_.add(input.readDouble()); } input.popLimit(limit); break; } case 816: { if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { packedBool_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } packedBool_.add(input.readBool()); break; } case 818: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00001000) == 0x00001000) && input.getBytesUntilLimit() > 0) { packedBool_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } while (input.getBytesUntilLimit() > 0) { packedBool_.add(input.readBool()); } input.popLimit(limit); break; } case 824: { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { packedEnum_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00002000; } packedEnum_.add(value); } break; } case 826: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.UnittestLite.ForeignEnumLite value = com.google.protobuf.UnittestLite.ForeignEnumLite.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { packedEnum_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00002000; } packedEnum_.add(value); } } input.popLimit(oldLimit); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { packedInt32_ = java.util.Collections.unmodifiableList(packedInt32_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { packedInt64_ = java.util.Collections.unmodifiableList(packedInt64_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { packedUint32_ = java.util.Collections.unmodifiableList(packedUint32_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { packedUint64_ = java.util.Collections.unmodifiableList(packedUint64_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { packedSint32_ = java.util.Collections.unmodifiableList(packedSint32_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { packedSint64_ = java.util.Collections.unmodifiableList(packedSint64_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { packedFixed32_ = java.util.Collections.unmodifiableList(packedFixed32_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { packedFixed64_ = java.util.Collections.unmodifiableList(packedFixed64_); } if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { packedSfixed32_ = java.util.Collections.unmodifiableList(packedSfixed32_); } if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { packedSfixed64_ = java.util.Collections.unmodifiableList(packedSfixed64_); } if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { packedFloat_ = java.util.Collections.unmodifiableList(packedFloat_); } if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { packedDouble_ = java.util.Collections.unmodifiableList(packedDouble_); } if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { packedBool_ = java.util.Collections.unmodifiableList(packedBool_); } if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { packedEnum_ = java.util.Collections.unmodifiableList(packedEnum_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestPackedTypesLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestPackedTypesLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int PACKED_INT32_FIELD_NUMBER = 90; private java.util.List packedInt32_; /** * repeated int32 packed_int32 = 90 [packed = true]; */ public java.util.List getPackedInt32List() { return packedInt32_; } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public int getPackedInt32Count() { return packedInt32_.size(); } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public int getPackedInt32(int index) { return packedInt32_.get(index); } private int packedInt32MemoizedSerializedSize = -1; public static final int PACKED_INT64_FIELD_NUMBER = 91; private java.util.List packedInt64_; /** * repeated int64 packed_int64 = 91 [packed = true]; */ public java.util.List getPackedInt64List() { return packedInt64_; } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public int getPackedInt64Count() { return packedInt64_.size(); } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public long getPackedInt64(int index) { return packedInt64_.get(index); } private int packedInt64MemoizedSerializedSize = -1; public static final int PACKED_UINT32_FIELD_NUMBER = 92; private java.util.List packedUint32_; /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public java.util.List getPackedUint32List() { return packedUint32_; } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public int getPackedUint32Count() { return packedUint32_.size(); } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public int getPackedUint32(int index) { return packedUint32_.get(index); } private int packedUint32MemoizedSerializedSize = -1; public static final int PACKED_UINT64_FIELD_NUMBER = 93; private java.util.List packedUint64_; /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public java.util.List getPackedUint64List() { return packedUint64_; } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public int getPackedUint64Count() { return packedUint64_.size(); } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public long getPackedUint64(int index) { return packedUint64_.get(index); } private int packedUint64MemoizedSerializedSize = -1; public static final int PACKED_SINT32_FIELD_NUMBER = 94; private java.util.List packedSint32_; /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public java.util.List getPackedSint32List() { return packedSint32_; } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public int getPackedSint32Count() { return packedSint32_.size(); } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public int getPackedSint32(int index) { return packedSint32_.get(index); } private int packedSint32MemoizedSerializedSize = -1; public static final int PACKED_SINT64_FIELD_NUMBER = 95; private java.util.List packedSint64_; /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public java.util.List getPackedSint64List() { return packedSint64_; } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public int getPackedSint64Count() { return packedSint64_.size(); } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public long getPackedSint64(int index) { return packedSint64_.get(index); } private int packedSint64MemoizedSerializedSize = -1; public static final int PACKED_FIXED32_FIELD_NUMBER = 96; private java.util.List packedFixed32_; /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public java.util.List getPackedFixed32List() { return packedFixed32_; } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public int getPackedFixed32Count() { return packedFixed32_.size(); } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public int getPackedFixed32(int index) { return packedFixed32_.get(index); } private int packedFixed32MemoizedSerializedSize = -1; public static final int PACKED_FIXED64_FIELD_NUMBER = 97; private java.util.List packedFixed64_; /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public java.util.List getPackedFixed64List() { return packedFixed64_; } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public int getPackedFixed64Count() { return packedFixed64_.size(); } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public long getPackedFixed64(int index) { return packedFixed64_.get(index); } private int packedFixed64MemoizedSerializedSize = -1; public static final int PACKED_SFIXED32_FIELD_NUMBER = 98; private java.util.List packedSfixed32_; /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public java.util.List getPackedSfixed32List() { return packedSfixed32_; } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public int getPackedSfixed32Count() { return packedSfixed32_.size(); } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public int getPackedSfixed32(int index) { return packedSfixed32_.get(index); } private int packedSfixed32MemoizedSerializedSize = -1; public static final int PACKED_SFIXED64_FIELD_NUMBER = 99; private java.util.List packedSfixed64_; /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public java.util.List getPackedSfixed64List() { return packedSfixed64_; } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public int getPackedSfixed64Count() { return packedSfixed64_.size(); } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public long getPackedSfixed64(int index) { return packedSfixed64_.get(index); } private int packedSfixed64MemoizedSerializedSize = -1; public static final int PACKED_FLOAT_FIELD_NUMBER = 100; private java.util.List packedFloat_; /** * repeated float packed_float = 100 [packed = true]; */ public java.util.List getPackedFloatList() { return packedFloat_; } /** * repeated float packed_float = 100 [packed = true]; */ public int getPackedFloatCount() { return packedFloat_.size(); } /** * repeated float packed_float = 100 [packed = true]; */ public float getPackedFloat(int index) { return packedFloat_.get(index); } private int packedFloatMemoizedSerializedSize = -1; public static final int PACKED_DOUBLE_FIELD_NUMBER = 101; private java.util.List packedDouble_; /** * repeated double packed_double = 101 [packed = true]; */ public java.util.List getPackedDoubleList() { return packedDouble_; } /** * repeated double packed_double = 101 [packed = true]; */ public int getPackedDoubleCount() { return packedDouble_.size(); } /** * repeated double packed_double = 101 [packed = true]; */ public double getPackedDouble(int index) { return packedDouble_.get(index); } private int packedDoubleMemoizedSerializedSize = -1; public static final int PACKED_BOOL_FIELD_NUMBER = 102; private java.util.List packedBool_; /** * repeated bool packed_bool = 102 [packed = true]; */ public java.util.List getPackedBoolList() { return packedBool_; } /** * repeated bool packed_bool = 102 [packed = true]; */ public int getPackedBoolCount() { return packedBool_.size(); } /** * repeated bool packed_bool = 102 [packed = true]; */ public boolean getPackedBool(int index) { return packedBool_.get(index); } private int packedBoolMemoizedSerializedSize = -1; public static final int PACKED_ENUM_FIELD_NUMBER = 103; private java.util.List packedEnum_; /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public java.util.List getPackedEnumList() { return packedEnum_; } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public int getPackedEnumCount() { return packedEnum_.size(); } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getPackedEnum(int index) { return packedEnum_.get(index); } private int packedEnumMemoizedSerializedSize; private void initFields() { packedInt32_ = java.util.Collections.emptyList(); packedInt64_ = java.util.Collections.emptyList(); packedUint32_ = java.util.Collections.emptyList(); packedUint64_ = java.util.Collections.emptyList(); packedSint32_ = java.util.Collections.emptyList(); packedSint64_ = java.util.Collections.emptyList(); packedFixed32_ = java.util.Collections.emptyList(); packedFixed64_ = java.util.Collections.emptyList(); packedSfixed32_ = java.util.Collections.emptyList(); packedSfixed64_ = java.util.Collections.emptyList(); packedFloat_ = java.util.Collections.emptyList(); packedDouble_ = java.util.Collections.emptyList(); packedBool_ = java.util.Collections.emptyList(); packedEnum_ = java.util.Collections.emptyList(); } 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 (getPackedInt32List().size() > 0) { output.writeRawVarint32(722); output.writeRawVarint32(packedInt32MemoizedSerializedSize); } for (int i = 0; i < packedInt32_.size(); i++) { output.writeInt32NoTag(packedInt32_.get(i)); } if (getPackedInt64List().size() > 0) { output.writeRawVarint32(730); output.writeRawVarint32(packedInt64MemoizedSerializedSize); } for (int i = 0; i < packedInt64_.size(); i++) { output.writeInt64NoTag(packedInt64_.get(i)); } if (getPackedUint32List().size() > 0) { output.writeRawVarint32(738); output.writeRawVarint32(packedUint32MemoizedSerializedSize); } for (int i = 0; i < packedUint32_.size(); i++) { output.writeUInt32NoTag(packedUint32_.get(i)); } if (getPackedUint64List().size() > 0) { output.writeRawVarint32(746); output.writeRawVarint32(packedUint64MemoizedSerializedSize); } for (int i = 0; i < packedUint64_.size(); i++) { output.writeUInt64NoTag(packedUint64_.get(i)); } if (getPackedSint32List().size() > 0) { output.writeRawVarint32(754); output.writeRawVarint32(packedSint32MemoizedSerializedSize); } for (int i = 0; i < packedSint32_.size(); i++) { output.writeSInt32NoTag(packedSint32_.get(i)); } if (getPackedSint64List().size() > 0) { output.writeRawVarint32(762); output.writeRawVarint32(packedSint64MemoizedSerializedSize); } for (int i = 0; i < packedSint64_.size(); i++) { output.writeSInt64NoTag(packedSint64_.get(i)); } if (getPackedFixed32List().size() > 0) { output.writeRawVarint32(770); output.writeRawVarint32(packedFixed32MemoizedSerializedSize); } for (int i = 0; i < packedFixed32_.size(); i++) { output.writeFixed32NoTag(packedFixed32_.get(i)); } if (getPackedFixed64List().size() > 0) { output.writeRawVarint32(778); output.writeRawVarint32(packedFixed64MemoizedSerializedSize); } for (int i = 0; i < packedFixed64_.size(); i++) { output.writeFixed64NoTag(packedFixed64_.get(i)); } if (getPackedSfixed32List().size() > 0) { output.writeRawVarint32(786); output.writeRawVarint32(packedSfixed32MemoizedSerializedSize); } for (int i = 0; i < packedSfixed32_.size(); i++) { output.writeSFixed32NoTag(packedSfixed32_.get(i)); } if (getPackedSfixed64List().size() > 0) { output.writeRawVarint32(794); output.writeRawVarint32(packedSfixed64MemoizedSerializedSize); } for (int i = 0; i < packedSfixed64_.size(); i++) { output.writeSFixed64NoTag(packedSfixed64_.get(i)); } if (getPackedFloatList().size() > 0) { output.writeRawVarint32(802); output.writeRawVarint32(packedFloatMemoizedSerializedSize); } for (int i = 0; i < packedFloat_.size(); i++) { output.writeFloatNoTag(packedFloat_.get(i)); } if (getPackedDoubleList().size() > 0) { output.writeRawVarint32(810); output.writeRawVarint32(packedDoubleMemoizedSerializedSize); } for (int i = 0; i < packedDouble_.size(); i++) { output.writeDoubleNoTag(packedDouble_.get(i)); } if (getPackedBoolList().size() > 0) { output.writeRawVarint32(818); output.writeRawVarint32(packedBoolMemoizedSerializedSize); } for (int i = 0; i < packedBool_.size(); i++) { output.writeBoolNoTag(packedBool_.get(i)); } if (getPackedEnumList().size() > 0) { output.writeRawVarint32(826); output.writeRawVarint32(packedEnumMemoizedSerializedSize); } for (int i = 0; i < packedEnum_.size(); i++) { output.writeEnumNoTag(packedEnum_.get(i).getNumber()); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < packedInt32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(packedInt32_.get(i)); } size += dataSize; if (!getPackedInt32List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedInt32MemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedInt64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(packedInt64_.get(i)); } size += dataSize; if (!getPackedInt64List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedInt64MemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedUint32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(packedUint32_.get(i)); } size += dataSize; if (!getPackedUint32List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedUint32MemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedUint64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(packedUint64_.get(i)); } size += dataSize; if (!getPackedUint64List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedUint64MemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedSint32_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt32SizeNoTag(packedSint32_.get(i)); } size += dataSize; if (!getPackedSint32List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedSint32MemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedSint64_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt64SizeNoTag(packedSint64_.get(i)); } size += dataSize; if (!getPackedSint64List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedSint64MemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 4 * getPackedFixed32List().size(); size += dataSize; if (!getPackedFixed32List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedFixed32MemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 8 * getPackedFixed64List().size(); size += dataSize; if (!getPackedFixed64List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedFixed64MemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 4 * getPackedSfixed32List().size(); size += dataSize; if (!getPackedSfixed32List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedSfixed32MemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 8 * getPackedSfixed64List().size(); size += dataSize; if (!getPackedSfixed64List().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedSfixed64MemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 4 * getPackedFloatList().size(); size += dataSize; if (!getPackedFloatList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedFloatMemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 8 * getPackedDoubleList().size(); size += dataSize; if (!getPackedDoubleList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedDoubleMemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 1 * getPackedBoolList().size(); size += dataSize; if (!getPackedBoolList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packedBoolMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < packedEnum_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(packedEnum_.get(i).getNumber()); } size += dataSize; if (!getPackedEnumList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeRawVarint32Size(dataSize); }packedEnumMemoizedSerializedSize = dataSize; } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedTypesLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestPackedTypesLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestPackedTypesLite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestPackedTypesLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestPackedTypesLite) com.google.protobuf.UnittestLite.TestPackedTypesLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestPackedTypesLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); packedInt32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); packedInt64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); packedUint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); packedUint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); packedSint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); packedSint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); packedFixed32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); packedFixed64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); packedSfixed32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); packedSfixed64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); packedFloat_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); packedDouble_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); packedBool_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); packedEnum_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestPackedTypesLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestPackedTypesLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestPackedTypesLite build() { com.google.protobuf.UnittestLite.TestPackedTypesLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestPackedTypesLite buildPartial() { com.google.protobuf.UnittestLite.TestPackedTypesLite result = new com.google.protobuf.UnittestLite.TestPackedTypesLite(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { packedInt32_ = java.util.Collections.unmodifiableList(packedInt32_); bitField0_ = (bitField0_ & ~0x00000001); } result.packedInt32_ = packedInt32_; if (((bitField0_ & 0x00000002) == 0x00000002)) { packedInt64_ = java.util.Collections.unmodifiableList(packedInt64_); bitField0_ = (bitField0_ & ~0x00000002); } result.packedInt64_ = packedInt64_; if (((bitField0_ & 0x00000004) == 0x00000004)) { packedUint32_ = java.util.Collections.unmodifiableList(packedUint32_); bitField0_ = (bitField0_ & ~0x00000004); } result.packedUint32_ = packedUint32_; if (((bitField0_ & 0x00000008) == 0x00000008)) { packedUint64_ = java.util.Collections.unmodifiableList(packedUint64_); bitField0_ = (bitField0_ & ~0x00000008); } result.packedUint64_ = packedUint64_; if (((bitField0_ & 0x00000010) == 0x00000010)) { packedSint32_ = java.util.Collections.unmodifiableList(packedSint32_); bitField0_ = (bitField0_ & ~0x00000010); } result.packedSint32_ = packedSint32_; if (((bitField0_ & 0x00000020) == 0x00000020)) { packedSint64_ = java.util.Collections.unmodifiableList(packedSint64_); bitField0_ = (bitField0_ & ~0x00000020); } result.packedSint64_ = packedSint64_; if (((bitField0_ & 0x00000040) == 0x00000040)) { packedFixed32_ = java.util.Collections.unmodifiableList(packedFixed32_); bitField0_ = (bitField0_ & ~0x00000040); } result.packedFixed32_ = packedFixed32_; if (((bitField0_ & 0x00000080) == 0x00000080)) { packedFixed64_ = java.util.Collections.unmodifiableList(packedFixed64_); bitField0_ = (bitField0_ & ~0x00000080); } result.packedFixed64_ = packedFixed64_; if (((bitField0_ & 0x00000100) == 0x00000100)) { packedSfixed32_ = java.util.Collections.unmodifiableList(packedSfixed32_); bitField0_ = (bitField0_ & ~0x00000100); } result.packedSfixed32_ = packedSfixed32_; if (((bitField0_ & 0x00000200) == 0x00000200)) { packedSfixed64_ = java.util.Collections.unmodifiableList(packedSfixed64_); bitField0_ = (bitField0_ & ~0x00000200); } result.packedSfixed64_ = packedSfixed64_; if (((bitField0_ & 0x00000400) == 0x00000400)) { packedFloat_ = java.util.Collections.unmodifiableList(packedFloat_); bitField0_ = (bitField0_ & ~0x00000400); } result.packedFloat_ = packedFloat_; if (((bitField0_ & 0x00000800) == 0x00000800)) { packedDouble_ = java.util.Collections.unmodifiableList(packedDouble_); bitField0_ = (bitField0_ & ~0x00000800); } result.packedDouble_ = packedDouble_; if (((bitField0_ & 0x00001000) == 0x00001000)) { packedBool_ = java.util.Collections.unmodifiableList(packedBool_); bitField0_ = (bitField0_ & ~0x00001000); } result.packedBool_ = packedBool_; if (((bitField0_ & 0x00002000) == 0x00002000)) { packedEnum_ = java.util.Collections.unmodifiableList(packedEnum_); bitField0_ = (bitField0_ & ~0x00002000); } result.packedEnum_ = packedEnum_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestPackedTypesLite other) { if (other == com.google.protobuf.UnittestLite.TestPackedTypesLite.getDefaultInstance()) return this; if (!other.packedInt32_.isEmpty()) { if (packedInt32_.isEmpty()) { packedInt32_ = other.packedInt32_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePackedInt32IsMutable(); packedInt32_.addAll(other.packedInt32_); } } if (!other.packedInt64_.isEmpty()) { if (packedInt64_.isEmpty()) { packedInt64_ = other.packedInt64_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePackedInt64IsMutable(); packedInt64_.addAll(other.packedInt64_); } } if (!other.packedUint32_.isEmpty()) { if (packedUint32_.isEmpty()) { packedUint32_ = other.packedUint32_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePackedUint32IsMutable(); packedUint32_.addAll(other.packedUint32_); } } if (!other.packedUint64_.isEmpty()) { if (packedUint64_.isEmpty()) { packedUint64_ = other.packedUint64_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePackedUint64IsMutable(); packedUint64_.addAll(other.packedUint64_); } } if (!other.packedSint32_.isEmpty()) { if (packedSint32_.isEmpty()) { packedSint32_ = other.packedSint32_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePackedSint32IsMutable(); packedSint32_.addAll(other.packedSint32_); } } if (!other.packedSint64_.isEmpty()) { if (packedSint64_.isEmpty()) { packedSint64_ = other.packedSint64_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensurePackedSint64IsMutable(); packedSint64_.addAll(other.packedSint64_); } } if (!other.packedFixed32_.isEmpty()) { if (packedFixed32_.isEmpty()) { packedFixed32_ = other.packedFixed32_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensurePackedFixed32IsMutable(); packedFixed32_.addAll(other.packedFixed32_); } } if (!other.packedFixed64_.isEmpty()) { if (packedFixed64_.isEmpty()) { packedFixed64_ = other.packedFixed64_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensurePackedFixed64IsMutable(); packedFixed64_.addAll(other.packedFixed64_); } } if (!other.packedSfixed32_.isEmpty()) { if (packedSfixed32_.isEmpty()) { packedSfixed32_ = other.packedSfixed32_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensurePackedSfixed32IsMutable(); packedSfixed32_.addAll(other.packedSfixed32_); } } if (!other.packedSfixed64_.isEmpty()) { if (packedSfixed64_.isEmpty()) { packedSfixed64_ = other.packedSfixed64_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePackedSfixed64IsMutable(); packedSfixed64_.addAll(other.packedSfixed64_); } } if (!other.packedFloat_.isEmpty()) { if (packedFloat_.isEmpty()) { packedFloat_ = other.packedFloat_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensurePackedFloatIsMutable(); packedFloat_.addAll(other.packedFloat_); } } if (!other.packedDouble_.isEmpty()) { if (packedDouble_.isEmpty()) { packedDouble_ = other.packedDouble_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensurePackedDoubleIsMutable(); packedDouble_.addAll(other.packedDouble_); } } if (!other.packedBool_.isEmpty()) { if (packedBool_.isEmpty()) { packedBool_ = other.packedBool_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensurePackedBoolIsMutable(); packedBool_.addAll(other.packedBool_); } } if (!other.packedEnum_.isEmpty()) { if (packedEnum_.isEmpty()) { packedEnum_ = other.packedEnum_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensurePackedEnumIsMutable(); packedEnum_.addAll(other.packedEnum_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestPackedTypesLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestPackedTypesLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List packedInt32_ = java.util.Collections.emptyList(); private void ensurePackedInt32IsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { packedInt32_ = new java.util.ArrayList(packedInt32_); bitField0_ |= 0x00000001; } } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public java.util.List getPackedInt32List() { return java.util.Collections.unmodifiableList(packedInt32_); } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public int getPackedInt32Count() { return packedInt32_.size(); } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public int getPackedInt32(int index) { return packedInt32_.get(index); } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public Builder setPackedInt32( int index, int value) { ensurePackedInt32IsMutable(); packedInt32_.set(index, value); return this; } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public Builder addPackedInt32(int value) { ensurePackedInt32IsMutable(); packedInt32_.add(value); return this; } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public Builder addAllPackedInt32( java.lang.Iterable values) { ensurePackedInt32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedInt32_); return this; } /** * repeated int32 packed_int32 = 90 [packed = true]; */ public Builder clearPackedInt32() { packedInt32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } private java.util.List packedInt64_ = java.util.Collections.emptyList(); private void ensurePackedInt64IsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { packedInt64_ = new java.util.ArrayList(packedInt64_); bitField0_ |= 0x00000002; } } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public java.util.List getPackedInt64List() { return java.util.Collections.unmodifiableList(packedInt64_); } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public int getPackedInt64Count() { return packedInt64_.size(); } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public long getPackedInt64(int index) { return packedInt64_.get(index); } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public Builder setPackedInt64( int index, long value) { ensurePackedInt64IsMutable(); packedInt64_.set(index, value); return this; } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public Builder addPackedInt64(long value) { ensurePackedInt64IsMutable(); packedInt64_.add(value); return this; } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public Builder addAllPackedInt64( java.lang.Iterable values) { ensurePackedInt64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedInt64_); return this; } /** * repeated int64 packed_int64 = 91 [packed = true]; */ public Builder clearPackedInt64() { packedInt64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } private java.util.List packedUint32_ = java.util.Collections.emptyList(); private void ensurePackedUint32IsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { packedUint32_ = new java.util.ArrayList(packedUint32_); bitField0_ |= 0x00000004; } } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public java.util.List getPackedUint32List() { return java.util.Collections.unmodifiableList(packedUint32_); } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public int getPackedUint32Count() { return packedUint32_.size(); } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public int getPackedUint32(int index) { return packedUint32_.get(index); } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public Builder setPackedUint32( int index, int value) { ensurePackedUint32IsMutable(); packedUint32_.set(index, value); return this; } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public Builder addPackedUint32(int value) { ensurePackedUint32IsMutable(); packedUint32_.add(value); return this; } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public Builder addAllPackedUint32( java.lang.Iterable values) { ensurePackedUint32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedUint32_); return this; } /** * repeated uint32 packed_uint32 = 92 [packed = true]; */ public Builder clearPackedUint32() { packedUint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } private java.util.List packedUint64_ = java.util.Collections.emptyList(); private void ensurePackedUint64IsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { packedUint64_ = new java.util.ArrayList(packedUint64_); bitField0_ |= 0x00000008; } } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public java.util.List getPackedUint64List() { return java.util.Collections.unmodifiableList(packedUint64_); } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public int getPackedUint64Count() { return packedUint64_.size(); } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public long getPackedUint64(int index) { return packedUint64_.get(index); } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public Builder setPackedUint64( int index, long value) { ensurePackedUint64IsMutable(); packedUint64_.set(index, value); return this; } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public Builder addPackedUint64(long value) { ensurePackedUint64IsMutable(); packedUint64_.add(value); return this; } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public Builder addAllPackedUint64( java.lang.Iterable values) { ensurePackedUint64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedUint64_); return this; } /** * repeated uint64 packed_uint64 = 93 [packed = true]; */ public Builder clearPackedUint64() { packedUint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private java.util.List packedSint32_ = java.util.Collections.emptyList(); private void ensurePackedSint32IsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { packedSint32_ = new java.util.ArrayList(packedSint32_); bitField0_ |= 0x00000010; } } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public java.util.List getPackedSint32List() { return java.util.Collections.unmodifiableList(packedSint32_); } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public int getPackedSint32Count() { return packedSint32_.size(); } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public int getPackedSint32(int index) { return packedSint32_.get(index); } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public Builder setPackedSint32( int index, int value) { ensurePackedSint32IsMutable(); packedSint32_.set(index, value); return this; } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public Builder addPackedSint32(int value) { ensurePackedSint32IsMutable(); packedSint32_.add(value); return this; } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public Builder addAllPackedSint32( java.lang.Iterable values) { ensurePackedSint32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedSint32_); return this; } /** * repeated sint32 packed_sint32 = 94 [packed = true]; */ public Builder clearPackedSint32() { packedSint32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } private java.util.List packedSint64_ = java.util.Collections.emptyList(); private void ensurePackedSint64IsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { packedSint64_ = new java.util.ArrayList(packedSint64_); bitField0_ |= 0x00000020; } } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public java.util.List getPackedSint64List() { return java.util.Collections.unmodifiableList(packedSint64_); } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public int getPackedSint64Count() { return packedSint64_.size(); } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public long getPackedSint64(int index) { return packedSint64_.get(index); } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public Builder setPackedSint64( int index, long value) { ensurePackedSint64IsMutable(); packedSint64_.set(index, value); return this; } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public Builder addPackedSint64(long value) { ensurePackedSint64IsMutable(); packedSint64_.add(value); return this; } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public Builder addAllPackedSint64( java.lang.Iterable values) { ensurePackedSint64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedSint64_); return this; } /** * repeated sint64 packed_sint64 = 95 [packed = true]; */ public Builder clearPackedSint64() { packedSint64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } private java.util.List packedFixed32_ = java.util.Collections.emptyList(); private void ensurePackedFixed32IsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { packedFixed32_ = new java.util.ArrayList(packedFixed32_); bitField0_ |= 0x00000040; } } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public java.util.List getPackedFixed32List() { return java.util.Collections.unmodifiableList(packedFixed32_); } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public int getPackedFixed32Count() { return packedFixed32_.size(); } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public int getPackedFixed32(int index) { return packedFixed32_.get(index); } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public Builder setPackedFixed32( int index, int value) { ensurePackedFixed32IsMutable(); packedFixed32_.set(index, value); return this; } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public Builder addPackedFixed32(int value) { ensurePackedFixed32IsMutable(); packedFixed32_.add(value); return this; } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public Builder addAllPackedFixed32( java.lang.Iterable values) { ensurePackedFixed32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedFixed32_); return this; } /** * repeated fixed32 packed_fixed32 = 96 [packed = true]; */ public Builder clearPackedFixed32() { packedFixed32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } private java.util.List packedFixed64_ = java.util.Collections.emptyList(); private void ensurePackedFixed64IsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { packedFixed64_ = new java.util.ArrayList(packedFixed64_); bitField0_ |= 0x00000080; } } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public java.util.List getPackedFixed64List() { return java.util.Collections.unmodifiableList(packedFixed64_); } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public int getPackedFixed64Count() { return packedFixed64_.size(); } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public long getPackedFixed64(int index) { return packedFixed64_.get(index); } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public Builder setPackedFixed64( int index, long value) { ensurePackedFixed64IsMutable(); packedFixed64_.set(index, value); return this; } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public Builder addPackedFixed64(long value) { ensurePackedFixed64IsMutable(); packedFixed64_.add(value); return this; } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public Builder addAllPackedFixed64( java.lang.Iterable values) { ensurePackedFixed64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedFixed64_); return this; } /** * repeated fixed64 packed_fixed64 = 97 [packed = true]; */ public Builder clearPackedFixed64() { packedFixed64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); return this; } private java.util.List packedSfixed32_ = java.util.Collections.emptyList(); private void ensurePackedSfixed32IsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { packedSfixed32_ = new java.util.ArrayList(packedSfixed32_); bitField0_ |= 0x00000100; } } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public java.util.List getPackedSfixed32List() { return java.util.Collections.unmodifiableList(packedSfixed32_); } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public int getPackedSfixed32Count() { return packedSfixed32_.size(); } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public int getPackedSfixed32(int index) { return packedSfixed32_.get(index); } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public Builder setPackedSfixed32( int index, int value) { ensurePackedSfixed32IsMutable(); packedSfixed32_.set(index, value); return this; } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public Builder addPackedSfixed32(int value) { ensurePackedSfixed32IsMutable(); packedSfixed32_.add(value); return this; } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public Builder addAllPackedSfixed32( java.lang.Iterable values) { ensurePackedSfixed32IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedSfixed32_); return this; } /** * repeated sfixed32 packed_sfixed32 = 98 [packed = true]; */ public Builder clearPackedSfixed32() { packedSfixed32_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); return this; } private java.util.List packedSfixed64_ = java.util.Collections.emptyList(); private void ensurePackedSfixed64IsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { packedSfixed64_ = new java.util.ArrayList(packedSfixed64_); bitField0_ |= 0x00000200; } } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public java.util.List getPackedSfixed64List() { return java.util.Collections.unmodifiableList(packedSfixed64_); } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public int getPackedSfixed64Count() { return packedSfixed64_.size(); } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public long getPackedSfixed64(int index) { return packedSfixed64_.get(index); } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public Builder setPackedSfixed64( int index, long value) { ensurePackedSfixed64IsMutable(); packedSfixed64_.set(index, value); return this; } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public Builder addPackedSfixed64(long value) { ensurePackedSfixed64IsMutable(); packedSfixed64_.add(value); return this; } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public Builder addAllPackedSfixed64( java.lang.Iterable values) { ensurePackedSfixed64IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedSfixed64_); return this; } /** * repeated sfixed64 packed_sfixed64 = 99 [packed = true]; */ public Builder clearPackedSfixed64() { packedSfixed64_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); return this; } private java.util.List packedFloat_ = java.util.Collections.emptyList(); private void ensurePackedFloatIsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { packedFloat_ = new java.util.ArrayList(packedFloat_); bitField0_ |= 0x00000400; } } /** * repeated float packed_float = 100 [packed = true]; */ public java.util.List getPackedFloatList() { return java.util.Collections.unmodifiableList(packedFloat_); } /** * repeated float packed_float = 100 [packed = true]; */ public int getPackedFloatCount() { return packedFloat_.size(); } /** * repeated float packed_float = 100 [packed = true]; */ public float getPackedFloat(int index) { return packedFloat_.get(index); } /** * repeated float packed_float = 100 [packed = true]; */ public Builder setPackedFloat( int index, float value) { ensurePackedFloatIsMutable(); packedFloat_.set(index, value); return this; } /** * repeated float packed_float = 100 [packed = true]; */ public Builder addPackedFloat(float value) { ensurePackedFloatIsMutable(); packedFloat_.add(value); return this; } /** * repeated float packed_float = 100 [packed = true]; */ public Builder addAllPackedFloat( java.lang.Iterable values) { ensurePackedFloatIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedFloat_); return this; } /** * repeated float packed_float = 100 [packed = true]; */ public Builder clearPackedFloat() { packedFloat_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); return this; } private java.util.List packedDouble_ = java.util.Collections.emptyList(); private void ensurePackedDoubleIsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { packedDouble_ = new java.util.ArrayList(packedDouble_); bitField0_ |= 0x00000800; } } /** * repeated double packed_double = 101 [packed = true]; */ public java.util.List getPackedDoubleList() { return java.util.Collections.unmodifiableList(packedDouble_); } /** * repeated double packed_double = 101 [packed = true]; */ public int getPackedDoubleCount() { return packedDouble_.size(); } /** * repeated double packed_double = 101 [packed = true]; */ public double getPackedDouble(int index) { return packedDouble_.get(index); } /** * repeated double packed_double = 101 [packed = true]; */ public Builder setPackedDouble( int index, double value) { ensurePackedDoubleIsMutable(); packedDouble_.set(index, value); return this; } /** * repeated double packed_double = 101 [packed = true]; */ public Builder addPackedDouble(double value) { ensurePackedDoubleIsMutable(); packedDouble_.add(value); return this; } /** * repeated double packed_double = 101 [packed = true]; */ public Builder addAllPackedDouble( java.lang.Iterable values) { ensurePackedDoubleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedDouble_); return this; } /** * repeated double packed_double = 101 [packed = true]; */ public Builder clearPackedDouble() { packedDouble_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); return this; } private java.util.List packedBool_ = java.util.Collections.emptyList(); private void ensurePackedBoolIsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { packedBool_ = new java.util.ArrayList(packedBool_); bitField0_ |= 0x00001000; } } /** * repeated bool packed_bool = 102 [packed = true]; */ public java.util.List getPackedBoolList() { return java.util.Collections.unmodifiableList(packedBool_); } /** * repeated bool packed_bool = 102 [packed = true]; */ public int getPackedBoolCount() { return packedBool_.size(); } /** * repeated bool packed_bool = 102 [packed = true]; */ public boolean getPackedBool(int index) { return packedBool_.get(index); } /** * repeated bool packed_bool = 102 [packed = true]; */ public Builder setPackedBool( int index, boolean value) { ensurePackedBoolIsMutable(); packedBool_.set(index, value); return this; } /** * repeated bool packed_bool = 102 [packed = true]; */ public Builder addPackedBool(boolean value) { ensurePackedBoolIsMutable(); packedBool_.add(value); return this; } /** * repeated bool packed_bool = 102 [packed = true]; */ public Builder addAllPackedBool( java.lang.Iterable values) { ensurePackedBoolIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedBool_); return this; } /** * repeated bool packed_bool = 102 [packed = true]; */ public Builder clearPackedBool() { packedBool_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); return this; } private java.util.List packedEnum_ = java.util.Collections.emptyList(); private void ensurePackedEnumIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { packedEnum_ = new java.util.ArrayList(packedEnum_); bitField0_ |= 0x00002000; } } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public java.util.List getPackedEnumList() { return java.util.Collections.unmodifiableList(packedEnum_); } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public int getPackedEnumCount() { return packedEnum_.size(); } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public com.google.protobuf.UnittestLite.ForeignEnumLite getPackedEnum(int index) { return packedEnum_.get(index); } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public Builder setPackedEnum( int index, com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } ensurePackedEnumIsMutable(); packedEnum_.set(index, value); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public Builder addPackedEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) { if (value == null) { throw new NullPointerException(); } ensurePackedEnumIsMutable(); packedEnum_.add(value); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public Builder addAllPackedEnum( java.lang.Iterable values) { ensurePackedEnumIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packedEnum_); return this; } /** * repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; */ public Builder clearPackedEnum() { packedEnum_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestPackedTypesLite) } static { defaultInstance = new TestPackedTypesLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestPackedTypesLite) } public interface TestAllExtensionsLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestAllExtensionsLite) com.google.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder { } /** * Protobuf type {@code protobuf_unittest.TestAllExtensionsLite} */ public static final class TestAllExtensionsLite extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage< TestAllExtensionsLite> implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestAllExtensionsLite) TestAllExtensionsLiteOrBuilder { // Use TestAllExtensionsLite.newBuilder() to construct. private TestAllExtensionsLite(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestAllExtensionsLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestAllExtensionsLite defaultInstance; public static TestAllExtensionsLite getDefaultInstance() { return defaultInstance; } public TestAllExtensionsLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestAllExtensionsLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestAllExtensionsLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestAllExtensionsLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessageLite .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); extensionWriter.writeUntil(536870912, output); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestAllExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestAllExtensionsLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestAllExtensionsLite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder< com.google.protobuf.UnittestLite.TestAllExtensionsLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestAllExtensionsLite) com.google.protobuf.UnittestLite.TestAllExtensionsLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestAllExtensionsLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestAllExtensionsLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestAllExtensionsLite build() { com.google.protobuf.UnittestLite.TestAllExtensionsLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestAllExtensionsLite buildPartial() { com.google.protobuf.UnittestLite.TestAllExtensionsLite result = new com.google.protobuf.UnittestLite.TestAllExtensionsLite(this); return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestAllExtensionsLite other) { if (other == com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance()) return this; this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnittestLite.TestAllExtensionsLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestAllExtensionsLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestAllExtensionsLite) } static { defaultInstance = new TestAllExtensionsLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestAllExtensionsLite) } public interface OptionalGroup_extension_liteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.OptionalGroup_extension_lite) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 a = 17; */ boolean hasA(); /** * optional int32 a = 17; */ int getA(); } /** * Protobuf type {@code protobuf_unittest.OptionalGroup_extension_lite} */ public static final class OptionalGroup_extension_lite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.OptionalGroup_extension_lite) OptionalGroup_extension_liteOrBuilder { // Use OptionalGroup_extension_lite.newBuilder() to construct. private OptionalGroup_extension_lite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private OptionalGroup_extension_lite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final OptionalGroup_extension_lite defaultInstance; public static OptionalGroup_extension_lite getDefaultInstance() { return defaultInstance; } public OptionalGroup_extension_lite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private OptionalGroup_extension_lite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 136: { bitField0_ |= 0x00000001; a_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OptionalGroup_extension_lite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OptionalGroup_extension_lite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int A_FIELD_NUMBER = 17; private int a_; /** * optional int32 a = 17; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 17; */ public int getA() { return a_; } private void initFields() { a_ = 0; } 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.writeInt32(17, a_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, a_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.OptionalGroup_extension_lite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.OptionalGroup_extension_lite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.OptionalGroup_extension_lite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.OptionalGroup_extension_lite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.OptionalGroup_extension_lite) com.google.protobuf.UnittestLite.OptionalGroup_extension_liteOrBuilder { // Construct using com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); a_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.OptionalGroup_extension_lite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.OptionalGroup_extension_lite build() { com.google.protobuf.UnittestLite.OptionalGroup_extension_lite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.OptionalGroup_extension_lite buildPartial() { com.google.protobuf.UnittestLite.OptionalGroup_extension_lite result = new com.google.protobuf.UnittestLite.OptionalGroup_extension_lite(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.a_ = a_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.OptionalGroup_extension_lite other) { if (other == com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.getDefaultInstance()) return this; if (other.hasA()) { setA(other.getA()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.OptionalGroup_extension_lite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.OptionalGroup_extension_lite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int a_ ; /** * optional int32 a = 17; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 17; */ public int getA() { return a_; } /** * optional int32 a = 17; */ public Builder setA(int value) { bitField0_ |= 0x00000001; a_ = value; return this; } /** * optional int32 a = 17; */ public Builder clearA() { bitField0_ = (bitField0_ & ~0x00000001); a_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.OptionalGroup_extension_lite) } static { defaultInstance = new OptionalGroup_extension_lite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.OptionalGroup_extension_lite) } public interface RepeatedGroup_extension_liteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.RepeatedGroup_extension_lite) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 a = 47; */ boolean hasA(); /** * optional int32 a = 47; */ int getA(); } /** * Protobuf type {@code protobuf_unittest.RepeatedGroup_extension_lite} */ public static final class RepeatedGroup_extension_lite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.RepeatedGroup_extension_lite) RepeatedGroup_extension_liteOrBuilder { // Use RepeatedGroup_extension_lite.newBuilder() to construct. private RepeatedGroup_extension_lite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RepeatedGroup_extension_lite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RepeatedGroup_extension_lite defaultInstance; public static RepeatedGroup_extension_lite getDefaultInstance() { return defaultInstance; } public RepeatedGroup_extension_lite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private RepeatedGroup_extension_lite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 376: { bitField0_ |= 0x00000001; a_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RepeatedGroup_extension_lite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatedGroup_extension_lite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int A_FIELD_NUMBER = 47; private int a_; /** * optional int32 a = 47; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 47; */ public int getA() { return a_; } private void initFields() { a_ = 0; } 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.writeInt32(47, a_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(47, a_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.RepeatedGroup_extension_lite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.RepeatedGroup_extension_lite) com.google.protobuf.UnittestLite.RepeatedGroup_extension_liteOrBuilder { // Construct using com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); a_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite build() { com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite buildPartial() { com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite result = new com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.a_ = a_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite other) { if (other == com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite.getDefaultInstance()) return this; if (other.hasA()) { setA(other.getA()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.RepeatedGroup_extension_lite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int a_ ; /** * optional int32 a = 47; */ public boolean hasA() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 a = 47; */ public int getA() { return a_; } /** * optional int32 a = 47; */ public Builder setA(int value) { bitField0_ |= 0x00000001; a_ = value; return this; } /** * optional int32 a = 47; */ public Builder clearA() { bitField0_ = (bitField0_ & ~0x00000001); a_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.RepeatedGroup_extension_lite) } static { defaultInstance = new RepeatedGroup_extension_lite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.RepeatedGroup_extension_lite) } public interface TestPackedExtensionsLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestPackedExtensionsLite) com.google.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder { } /** * Protobuf type {@code protobuf_unittest.TestPackedExtensionsLite} */ public static final class TestPackedExtensionsLite extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage< TestPackedExtensionsLite> implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestPackedExtensionsLite) TestPackedExtensionsLiteOrBuilder { // Use TestPackedExtensionsLite.newBuilder() to construct. private TestPackedExtensionsLite(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestPackedExtensionsLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestPackedExtensionsLite defaultInstance; public static TestPackedExtensionsLite getDefaultInstance() { return defaultInstance; } public TestPackedExtensionsLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestPackedExtensionsLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestPackedExtensionsLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestPackedExtensionsLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessageLite .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); extensionWriter.writeUntil(536870912, output); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestPackedExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestPackedExtensionsLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestPackedExtensionsLite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestPackedExtensionsLite) com.google.protobuf.UnittestLite.TestPackedExtensionsLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestPackedExtensionsLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestPackedExtensionsLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestPackedExtensionsLite build() { com.google.protobuf.UnittestLite.TestPackedExtensionsLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestPackedExtensionsLite buildPartial() { com.google.protobuf.UnittestLite.TestPackedExtensionsLite result = new com.google.protobuf.UnittestLite.TestPackedExtensionsLite(this); return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestPackedExtensionsLite other) { if (other == com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance()) return this; this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnittestLite.TestPackedExtensionsLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestPackedExtensionsLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestPackedExtensionsLite) } static { defaultInstance = new TestPackedExtensionsLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestPackedExtensionsLite) } public interface TestNestedExtensionLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestNestedExtensionLite) com.google.protobuf.MessageLiteOrBuilder { } /** * Protobuf type {@code protobuf_unittest.TestNestedExtensionLite} */ public static final class TestNestedExtensionLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestNestedExtensionLite) TestNestedExtensionLiteOrBuilder { // Use TestNestedExtensionLite.newBuilder() to construct. private TestNestedExtensionLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestNestedExtensionLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestNestedExtensionLite defaultInstance; public static TestNestedExtensionLite getDefaultInstance() { return defaultInstance; } public TestNestedExtensionLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestNestedExtensionLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestNestedExtensionLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestNestedExtensionLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } 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(); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestNestedExtensionLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestNestedExtensionLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestNestedExtensionLite} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestNestedExtensionLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestNestedExtensionLite) com.google.protobuf.UnittestLite.TestNestedExtensionLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestNestedExtensionLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestNestedExtensionLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestNestedExtensionLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestNestedExtensionLite build() { com.google.protobuf.UnittestLite.TestNestedExtensionLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestNestedExtensionLite buildPartial() { com.google.protobuf.UnittestLite.TestNestedExtensionLite result = new com.google.protobuf.UnittestLite.TestNestedExtensionLite(this); return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestNestedExtensionLite other) { if (other == com.google.protobuf.UnittestLite.TestNestedExtensionLite.getDefaultInstance()) return this; setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestNestedExtensionLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestNestedExtensionLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestNestedExtensionLite) } static { defaultInstance = new TestNestedExtensionLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestNestedExtensionLite) public static final int NESTED_EXTENSION_FIELD_NUMBER = 12345; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> nestedExtension = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 12345, com.google.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); } public interface TestDeprecatedLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestDeprecatedLite) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated boolean hasDeprecatedField(); /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated int getDeprecatedField(); } /** * Protobuf type {@code protobuf_unittest.TestDeprecatedLite} * *
   * Test that deprecated fields work.  We only verify that they compile (at one
   * point this failed).
   * 
*/ public static final class TestDeprecatedLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestDeprecatedLite) TestDeprecatedLiteOrBuilder { // Use TestDeprecatedLite.newBuilder() to construct. private TestDeprecatedLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestDeprecatedLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestDeprecatedLite defaultInstance; public static TestDeprecatedLite getDefaultInstance() { return defaultInstance; } public TestDeprecatedLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestDeprecatedLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; deprecatedField_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestDeprecatedLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestDeprecatedLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int DEPRECATED_FIELD_FIELD_NUMBER = 1; private int deprecatedField_; /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasDeprecatedField() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public int getDeprecatedField() { return deprecatedField_; } private void initFields() { deprecatedField_ = 0; } 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.writeInt32(1, deprecatedField_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, deprecatedField_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestDeprecatedLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestDeprecatedLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestDeprecatedLite} * *
     * Test that deprecated fields work.  We only verify that they compile (at one
     * point this failed).
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestDeprecatedLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestDeprecatedLite) com.google.protobuf.UnittestLite.TestDeprecatedLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestDeprecatedLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); deprecatedField_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestDeprecatedLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestDeprecatedLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestDeprecatedLite build() { com.google.protobuf.UnittestLite.TestDeprecatedLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestDeprecatedLite buildPartial() { com.google.protobuf.UnittestLite.TestDeprecatedLite result = new com.google.protobuf.UnittestLite.TestDeprecatedLite(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.deprecatedField_ = deprecatedField_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestDeprecatedLite other) { if (other == com.google.protobuf.UnittestLite.TestDeprecatedLite.getDefaultInstance()) return this; if (other.hasDeprecatedField()) { setDeprecatedField(other.getDeprecatedField()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestDeprecatedLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestDeprecatedLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int deprecatedField_ ; /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasDeprecatedField() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public int getDeprecatedField() { return deprecatedField_; } /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder setDeprecatedField(int value) { bitField0_ |= 0x00000001; deprecatedField_ = value; return this; } /** * optional int32 deprecated_field = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder clearDeprecatedField() { bitField0_ = (bitField0_ & ~0x00000001); deprecatedField_ = 0; return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestDeprecatedLite) } static { defaultInstance = new TestDeprecatedLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestDeprecatedLite) } public interface TestParsingMergeLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite) com.google.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder { /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ boolean hasRequiredAllTypes(); /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ com.google.protobuf.UnittestLite.TestAllTypesLite getRequiredAllTypes(); /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ boolean hasOptionalAllTypes(); /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes(); /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ java.util.List getRepeatedAllTypesList(); /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index); /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ int getRepeatedAllTypesCount(); /** * optional group OptionalGroup = 10 { ... } */ boolean hasOptionalGroup(); /** * optional group OptionalGroup = 10 { ... } */ com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup(); /** * repeated group RepeatedGroup = 20 { ... } */ java.util.List getRepeatedGroupList(); /** * repeated group RepeatedGroup = 20 { ... } */ com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index); /** * repeated group RepeatedGroup = 20 { ... } */ int getRepeatedGroupCount(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite} * *
   * See the comments of the same type in unittest.proto.
   * 
*/ public static final class TestParsingMergeLite extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage< TestParsingMergeLite> implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite) TestParsingMergeLiteOrBuilder { // Use TestParsingMergeLite.newBuilder() to construct. private TestParsingMergeLite(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestParsingMergeLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestParsingMergeLite defaultInstance; public static TestParsingMergeLite getDefaultInstance() { return defaultInstance; } public TestParsingMergeLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestParsingMergeLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = requiredAllTypes_.toBuilder(); } requiredAllTypes_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(requiredAllTypes_); requiredAllTypes_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = optionalAllTypes_.toBuilder(); } optionalAllTypes_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalAllTypes_); optionalAllTypes_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { repeatedAllTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } repeatedAllTypes_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } case 83: { com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = optionalGroup_.toBuilder(); } optionalGroup_ = input.readGroup(10, com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalGroup_); optionalGroup_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 163: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { repeatedGroup_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } repeatedGroup_.add(input.readGroup(20, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { repeatedAllTypes_ = java.util.Collections.unmodifiableList(repeatedAllTypes_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { repeatedGroup_ = java.util.Collections.unmodifiableList(repeatedGroup_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestParsingMergeLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestParsingMergeLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface RepeatedFieldsGeneratorOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ java.util.List getField1List(); /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index); /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ int getField1Count(); /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ java.util.List getField2List(); /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index); /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ int getField2Count(); /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ java.util.List getField3List(); /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index); /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ int getField3Count(); /** * repeated group Group1 = 10 { ... } */ java.util.List getGroup1List(); /** * repeated group Group1 = 10 { ... } */ com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index); /** * repeated group Group1 = 10 { ... } */ int getGroup1Count(); /** * repeated group Group2 = 20 { ... } */ java.util.List getGroup2List(); /** * repeated group Group2 = 20 { ... } */ com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index); /** * repeated group Group2 = 20 { ... } */ int getGroup2Count(); /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ java.util.List getExt1List(); /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index); /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ int getExt1Count(); /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ java.util.List getExt2List(); /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index); /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ int getExt2Count(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator} */ public static final class RepeatedFieldsGenerator extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator) RepeatedFieldsGeneratorOrBuilder { // Use RepeatedFieldsGenerator.newBuilder() to construct. private RepeatedFieldsGenerator(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RepeatedFieldsGenerator(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RepeatedFieldsGenerator defaultInstance; public static RepeatedFieldsGenerator getDefaultInstance() { return defaultInstance; } public RepeatedFieldsGenerator getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private RepeatedFieldsGenerator( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { field1_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } field1_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { field2_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } field2_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { field3_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } field3_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } case 83: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { group1_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } group1_.add(input.readGroup(10, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.PARSER, extensionRegistry)); break; } case 163: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { group2_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } group2_.add(input.readGroup(20, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.PARSER, extensionRegistry)); break; } case 8002: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { ext1_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } ext1_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } case 8010: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { ext2_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } ext2_.add(input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { field1_ = java.util.Collections.unmodifiableList(field1_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { field2_ = java.util.Collections.unmodifiableList(field2_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { field3_ = java.util.Collections.unmodifiableList(field3_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { group1_ = java.util.Collections.unmodifiableList(group1_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { group2_ = java.util.Collections.unmodifiableList(group2_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { ext1_ = java.util.Collections.unmodifiableList(ext1_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { ext2_ = java.util.Collections.unmodifiableList(ext2_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RepeatedFieldsGenerator parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatedFieldsGenerator(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface Group1OrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) com.google.protobuf.MessageLiteOrBuilder { /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ boolean hasField1(); /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ com.google.protobuf.UnittestLite.TestAllTypesLite getField1(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1} */ public static final class Group1 extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) Group1OrBuilder { // Use Group1.newBuilder() to construct. private Group1(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Group1(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final Group1 defaultInstance; public static Group1 getDefaultInstance() { return defaultInstance; } public Group1 getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private Group1( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 90: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = field1_.toBuilder(); } field1_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(field1_); field1_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Group1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Group1(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int FIELD1_FIELD_NUMBER = 11; private com.google.protobuf.UnittestLite.TestAllTypesLite field1_; /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() { return field1_; } private void initFields() { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); } 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.writeMessage(11, field1_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, field1_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1OrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 build() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 result = new com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.field1_ = field1_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.getDefaultInstance()) return this; if (other.hasField1()) { mergeField1(other.getField1()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.UnittestLite.TestAllTypesLite field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() { return field1_; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public Builder setField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } field1_ = value; bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public Builder setField1( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { field1_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public Builder mergeField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000001) == 0x00000001) && field1_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(field1_).mergeFrom(value).buildPartial(); } else { field1_ = value; } bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 11; */ public Builder clearField1() { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) } static { defaultInstance = new Group1(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1) } public interface Group2OrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) com.google.protobuf.MessageLiteOrBuilder { /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ boolean hasField1(); /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ com.google.protobuf.UnittestLite.TestAllTypesLite getField1(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2} */ public static final class Group2 extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) Group2OrBuilder { // Use Group2.newBuilder() to construct. private Group2(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Group2(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final Group2 defaultInstance; public static Group2 getDefaultInstance() { return defaultInstance; } public Group2 getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private Group2( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 170: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = field1_.toBuilder(); } field1_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(field1_); field1_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Group2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Group2(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int FIELD1_FIELD_NUMBER = 21; private com.google.protobuf.UnittestLite.TestAllTypesLite field1_; /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() { return field1_; } private void initFields() { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); } 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.writeMessage(21, field1_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, field1_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2OrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 build() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 result = new com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.field1_ = field1_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.getDefaultInstance()) return this; if (other.hasField1()) { mergeField1(other.getField1()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.UnittestLite.TestAllTypesLite field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() { return field1_; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public Builder setField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } field1_ = value; bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public Builder setField1( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { field1_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public Builder mergeField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000001) == 0x00000001) && field1_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(field1_).mergeFrom(value).buildPartial(); } else { field1_ = value; } bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite field1 = 21; */ public Builder clearField1() { field1_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) } static { defaultInstance = new Group2(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group2) } public static final int FIELD1_FIELD_NUMBER = 1; private java.util.List field1_; /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public java.util.List getField1List() { return field1_; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public java.util.List getField1OrBuilderList() { return field1_; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public int getField1Count() { return field1_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index) { return field1_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getField1OrBuilder( int index) { return field1_.get(index); } public static final int FIELD2_FIELD_NUMBER = 2; private java.util.List field2_; /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public java.util.List getField2List() { return field2_; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public java.util.List getField2OrBuilderList() { return field2_; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public int getField2Count() { return field2_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index) { return field2_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getField2OrBuilder( int index) { return field2_.get(index); } public static final int FIELD3_FIELD_NUMBER = 3; private java.util.List field3_; /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public java.util.List getField3List() { return field3_; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public java.util.List getField3OrBuilderList() { return field3_; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public int getField3Count() { return field3_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index) { return field3_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getField3OrBuilder( int index) { return field3_.get(index); } public static final int GROUP1_FIELD_NUMBER = 10; private java.util.List group1_; /** * repeated group Group1 = 10 { ... } */ public java.util.List getGroup1List() { return group1_; } /** * repeated group Group1 = 10 { ... } */ public java.util.List getGroup1OrBuilderList() { return group1_; } /** * repeated group Group1 = 10 { ... } */ public int getGroup1Count() { return group1_.size(); } /** * repeated group Group1 = 10 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index) { return group1_.get(index); } /** * repeated group Group1 = 10 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1OrBuilder getGroup1OrBuilder( int index) { return group1_.get(index); } public static final int GROUP2_FIELD_NUMBER = 20; private java.util.List group2_; /** * repeated group Group2 = 20 { ... } */ public java.util.List getGroup2List() { return group2_; } /** * repeated group Group2 = 20 { ... } */ public java.util.List getGroup2OrBuilderList() { return group2_; } /** * repeated group Group2 = 20 { ... } */ public int getGroup2Count() { return group2_.size(); } /** * repeated group Group2 = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index) { return group2_.get(index); } /** * repeated group Group2 = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2OrBuilder getGroup2OrBuilder( int index) { return group2_.get(index); } public static final int EXT1_FIELD_NUMBER = 1000; private java.util.List ext1_; /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public java.util.List getExt1List() { return ext1_; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public java.util.List getExt1OrBuilderList() { return ext1_; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public int getExt1Count() { return ext1_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index) { return ext1_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getExt1OrBuilder( int index) { return ext1_.get(index); } public static final int EXT2_FIELD_NUMBER = 1001; private java.util.List ext2_; /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public java.util.List getExt2List() { return ext2_; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public java.util.List getExt2OrBuilderList() { return ext2_; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public int getExt2Count() { return ext2_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index) { return ext2_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getExt2OrBuilder( int index) { return ext2_.get(index); } private void initFields() { field1_ = java.util.Collections.emptyList(); field2_ = java.util.Collections.emptyList(); field3_ = java.util.Collections.emptyList(); group1_ = java.util.Collections.emptyList(); group2_ = java.util.Collections.emptyList(); ext1_ = java.util.Collections.emptyList(); ext2_ = java.util.Collections.emptyList(); } 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(); for (int i = 0; i < field1_.size(); i++) { output.writeMessage(1, field1_.get(i)); } for (int i = 0; i < field2_.size(); i++) { output.writeMessage(2, field2_.get(i)); } for (int i = 0; i < field3_.size(); i++) { output.writeMessage(3, field3_.get(i)); } for (int i = 0; i < group1_.size(); i++) { output.writeGroup(10, group1_.get(i)); } for (int i = 0; i < group2_.size(); i++) { output.writeGroup(20, group2_.get(i)); } for (int i = 0; i < ext1_.size(); i++) { output.writeMessage(1000, ext1_.get(i)); } for (int i = 0; i < ext2_.size(); i++) { output.writeMessage(1001, ext2_.get(i)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < field1_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, field1_.get(i)); } for (int i = 0; i < field2_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, field2_.get(i)); } for (int i = 0; i < field3_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, field3_.get(i)); } for (int i = 0; i < group1_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(10, group1_.get(i)); } for (int i = 0; i < group2_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(20, group2_.get(i)); } for (int i = 0; i < ext1_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1000, ext1_.get(i)); } for (int i = 0; i < ext2_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1001, ext2_.get(i)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator) com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGeneratorOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); field1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); field2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); field3_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); group1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); group2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); ext1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); ext2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator build() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator result = new com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { field1_ = java.util.Collections.unmodifiableList(field1_); bitField0_ = (bitField0_ & ~0x00000001); } result.field1_ = field1_; if (((bitField0_ & 0x00000002) == 0x00000002)) { field2_ = java.util.Collections.unmodifiableList(field2_); bitField0_ = (bitField0_ & ~0x00000002); } result.field2_ = field2_; if (((bitField0_ & 0x00000004) == 0x00000004)) { field3_ = java.util.Collections.unmodifiableList(field3_); bitField0_ = (bitField0_ & ~0x00000004); } result.field3_ = field3_; if (((bitField0_ & 0x00000008) == 0x00000008)) { group1_ = java.util.Collections.unmodifiableList(group1_); bitField0_ = (bitField0_ & ~0x00000008); } result.group1_ = group1_; if (((bitField0_ & 0x00000010) == 0x00000010)) { group2_ = java.util.Collections.unmodifiableList(group2_); bitField0_ = (bitField0_ & ~0x00000010); } result.group2_ = group2_; if (((bitField0_ & 0x00000020) == 0x00000020)) { ext1_ = java.util.Collections.unmodifiableList(ext1_); bitField0_ = (bitField0_ & ~0x00000020); } result.ext1_ = ext1_; if (((bitField0_ & 0x00000040) == 0x00000040)) { ext2_ = java.util.Collections.unmodifiableList(ext2_); bitField0_ = (bitField0_ & ~0x00000040); } result.ext2_ = ext2_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.getDefaultInstance()) return this; if (!other.field1_.isEmpty()) { if (field1_.isEmpty()) { field1_ = other.field1_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureField1IsMutable(); field1_.addAll(other.field1_); } } if (!other.field2_.isEmpty()) { if (field2_.isEmpty()) { field2_ = other.field2_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureField2IsMutable(); field2_.addAll(other.field2_); } } if (!other.field3_.isEmpty()) { if (field3_.isEmpty()) { field3_ = other.field3_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureField3IsMutable(); field3_.addAll(other.field3_); } } if (!other.group1_.isEmpty()) { if (group1_.isEmpty()) { group1_ = other.group1_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureGroup1IsMutable(); group1_.addAll(other.group1_); } } if (!other.group2_.isEmpty()) { if (group2_.isEmpty()) { group2_ = other.group2_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureGroup2IsMutable(); group2_.addAll(other.group2_); } } if (!other.ext1_.isEmpty()) { if (ext1_.isEmpty()) { ext1_ = other.ext1_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureExt1IsMutable(); ext1_.addAll(other.ext1_); } } if (!other.ext2_.isEmpty()) { if (ext2_.isEmpty()) { ext2_ = other.ext2_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureExt2IsMutable(); ext2_.addAll(other.ext2_); } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List field1_ = java.util.Collections.emptyList(); private void ensureField1IsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { field1_ = new java.util.ArrayList(field1_); bitField0_ |= 0x00000001; } } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public java.util.List getField1List() { return java.util.Collections.unmodifiableList(field1_); } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public int getField1Count() { return field1_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index) { return field1_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder setField1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField1IsMutable(); field1_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder setField1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField1IsMutable(); field1_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder addField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField1IsMutable(); field1_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder addField1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField1IsMutable(); field1_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder addField1( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField1IsMutable(); field1_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder addField1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField1IsMutable(); field1_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder addAllField1( java.lang.Iterable values) { ensureField1IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, field1_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder clearField1() { field1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field1 = 1; */ public Builder removeField1(int index) { ensureField1IsMutable(); field1_.remove(index); return this; } private java.util.List field2_ = java.util.Collections.emptyList(); private void ensureField2IsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { field2_ = new java.util.ArrayList(field2_); bitField0_ |= 0x00000002; } } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public java.util.List getField2List() { return java.util.Collections.unmodifiableList(field2_); } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public int getField2Count() { return field2_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index) { return field2_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder setField2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField2IsMutable(); field2_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder setField2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField2IsMutable(); field2_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder addField2(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField2IsMutable(); field2_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder addField2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField2IsMutable(); field2_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder addField2( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField2IsMutable(); field2_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder addField2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField2IsMutable(); field2_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder addAllField2( java.lang.Iterable values) { ensureField2IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, field2_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder clearField2() { field2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field2 = 2; */ public Builder removeField2(int index) { ensureField2IsMutable(); field2_.remove(index); return this; } private java.util.List field3_ = java.util.Collections.emptyList(); private void ensureField3IsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { field3_ = new java.util.ArrayList(field3_); bitField0_ |= 0x00000004; } } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public java.util.List getField3List() { return java.util.Collections.unmodifiableList(field3_); } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public int getField3Count() { return field3_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index) { return field3_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder setField3( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField3IsMutable(); field3_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder setField3( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField3IsMutable(); field3_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder addField3(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField3IsMutable(); field3_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder addField3( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureField3IsMutable(); field3_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder addField3( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField3IsMutable(); field3_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder addField3( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureField3IsMutable(); field3_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder addAllField3( java.lang.Iterable values) { ensureField3IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, field3_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder clearField3() { field3_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite field3 = 3; */ public Builder removeField3(int index) { ensureField3IsMutable(); field3_.remove(index); return this; } private java.util.List group1_ = java.util.Collections.emptyList(); private void ensureGroup1IsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { group1_ = new java.util.ArrayList(group1_); bitField0_ |= 0x00000008; } } /** * repeated group Group1 = 10 { ... } */ public java.util.List getGroup1List() { return java.util.Collections.unmodifiableList(group1_); } /** * repeated group Group1 = 10 { ... } */ public int getGroup1Count() { return group1_.size(); } /** * repeated group Group1 = 10 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index) { return group1_.get(index); } /** * repeated group Group1 = 10 { ... } */ public Builder setGroup1( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 value) { if (value == null) { throw new NullPointerException(); } ensureGroup1IsMutable(); group1_.set(index, value); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder setGroup1( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) { ensureGroup1IsMutable(); group1_.set(index, builderForValue.build()); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder addGroup1(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 value) { if (value == null) { throw new NullPointerException(); } ensureGroup1IsMutable(); group1_.add(value); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder addGroup1( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 value) { if (value == null) { throw new NullPointerException(); } ensureGroup1IsMutable(); group1_.add(index, value); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder addGroup1( com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) { ensureGroup1IsMutable(); group1_.add(builderForValue.build()); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder addGroup1( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) { ensureGroup1IsMutable(); group1_.add(index, builderForValue.build()); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder addAllGroup1( java.lang.Iterable values) { ensureGroup1IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, group1_); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder clearGroup1() { group1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * repeated group Group1 = 10 { ... } */ public Builder removeGroup1(int index) { ensureGroup1IsMutable(); group1_.remove(index); return this; } private java.util.List group2_ = java.util.Collections.emptyList(); private void ensureGroup2IsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { group2_ = new java.util.ArrayList(group2_); bitField0_ |= 0x00000010; } } /** * repeated group Group2 = 20 { ... } */ public java.util.List getGroup2List() { return java.util.Collections.unmodifiableList(group2_); } /** * repeated group Group2 = 20 { ... } */ public int getGroup2Count() { return group2_.size(); } /** * repeated group Group2 = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index) { return group2_.get(index); } /** * repeated group Group2 = 20 { ... } */ public Builder setGroup2( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 value) { if (value == null) { throw new NullPointerException(); } ensureGroup2IsMutable(); group2_.set(index, value); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder setGroup2( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) { ensureGroup2IsMutable(); group2_.set(index, builderForValue.build()); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder addGroup2(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 value) { if (value == null) { throw new NullPointerException(); } ensureGroup2IsMutable(); group2_.add(value); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder addGroup2( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 value) { if (value == null) { throw new NullPointerException(); } ensureGroup2IsMutable(); group2_.add(index, value); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder addGroup2( com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) { ensureGroup2IsMutable(); group2_.add(builderForValue.build()); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder addGroup2( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) { ensureGroup2IsMutable(); group2_.add(index, builderForValue.build()); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder addAllGroup2( java.lang.Iterable values) { ensureGroup2IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, group2_); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder clearGroup2() { group2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * repeated group Group2 = 20 { ... } */ public Builder removeGroup2(int index) { ensureGroup2IsMutable(); group2_.remove(index); return this; } private java.util.List ext1_ = java.util.Collections.emptyList(); private void ensureExt1IsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { ext1_ = new java.util.ArrayList(ext1_); bitField0_ |= 0x00000020; } } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public java.util.List getExt1List() { return java.util.Collections.unmodifiableList(ext1_); } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public int getExt1Count() { return ext1_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index) { return ext1_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder setExt1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt1IsMutable(); ext1_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder setExt1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt1IsMutable(); ext1_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder addExt1(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt1IsMutable(); ext1_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder addExt1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt1IsMutable(); ext1_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder addExt1( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt1IsMutable(); ext1_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder addExt1( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt1IsMutable(); ext1_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder addAllExt1( java.lang.Iterable values) { ensureExt1IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ext1_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder clearExt1() { ext1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000; */ public Builder removeExt1(int index) { ensureExt1IsMutable(); ext1_.remove(index); return this; } private java.util.List ext2_ = java.util.Collections.emptyList(); private void ensureExt2IsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { ext2_ = new java.util.ArrayList(ext2_); bitField0_ |= 0x00000040; } } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public java.util.List getExt2List() { return java.util.Collections.unmodifiableList(ext2_); } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public int getExt2Count() { return ext2_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index) { return ext2_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder setExt2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt2IsMutable(); ext2_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder setExt2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt2IsMutable(); ext2_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder addExt2(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt2IsMutable(); ext2_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder addExt2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureExt2IsMutable(); ext2_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder addExt2( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt2IsMutable(); ext2_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder addExt2( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureExt2IsMutable(); ext2_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder addAllExt2( java.lang.Iterable values) { ensureExt2IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ext2_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder clearExt2() { ext2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001; */ public Builder removeExt2(int index) { ensureExt2IsMutable(); ext2_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator) } static { defaultInstance = new RepeatedFieldsGenerator(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator) } public interface OptionalGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.OptionalGroup) com.google.protobuf.MessageLiteOrBuilder { /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ boolean hasOptionalGroupAllTypes(); /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalGroupAllTypes(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.OptionalGroup} */ public static final class OptionalGroup extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite.OptionalGroup) OptionalGroupOrBuilder { // Use OptionalGroup.newBuilder() to construct. private OptionalGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private OptionalGroup(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final OptionalGroup defaultInstance; public static OptionalGroup getDefaultInstance() { return defaultInstance; } public OptionalGroup getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private OptionalGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 90: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = optionalGroupAllTypes_.toBuilder(); } optionalGroupAllTypes_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionalGroupAllTypes_); optionalGroupAllTypes_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OptionalGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OptionalGroup(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int OPTIONAL_GROUP_ALL_TYPES_FIELD_NUMBER = 11; private com.google.protobuf.UnittestLite.TestAllTypesLite optionalGroupAllTypes_; /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public boolean hasOptionalGroupAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalGroupAllTypes() { return optionalGroupAllTypes_; } private void initFields() { optionalGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); } 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.writeMessage(11, optionalGroupAllTypes_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, optionalGroupAllTypes_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.OptionalGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite.OptionalGroup) com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroupOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); optionalGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup build() { com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup result = new com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.optionalGroupAllTypes_ = optionalGroupAllTypes_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance()) return this; if (other.hasOptionalGroupAllTypes()) { mergeOptionalGroupAllTypes(other.getOptionalGroupAllTypes()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.UnittestLite.TestAllTypesLite optionalGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public boolean hasOptionalGroupAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalGroupAllTypes() { return optionalGroupAllTypes_; } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public Builder setOptionalGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } optionalGroupAllTypes_ = value; bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public Builder setOptionalGroupAllTypes( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { optionalGroupAllTypes_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public Builder mergeOptionalGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000001) == 0x00000001) && optionalGroupAllTypes_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { optionalGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(optionalGroupAllTypes_).mergeFrom(value).buildPartial(); } else { optionalGroupAllTypes_ = value; } bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11; */ public Builder clearOptionalGroupAllTypes() { optionalGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite.OptionalGroup) } static { defaultInstance = new OptionalGroup(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite.OptionalGroup) } public interface RepeatedGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedGroup) com.google.protobuf.MessageLiteOrBuilder { /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ boolean hasRepeatedGroupAllTypes(); /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedGroupAllTypes(); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedGroup} */ public static final class RepeatedGroup extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestParsingMergeLite.RepeatedGroup) RepeatedGroupOrBuilder { // Use RepeatedGroup.newBuilder() to construct. private RepeatedGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RepeatedGroup(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RepeatedGroup defaultInstance; public static RepeatedGroup getDefaultInstance() { return defaultInstance; } public RepeatedGroup getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private RepeatedGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 170: { com.google.protobuf.UnittestLite.TestAllTypesLite.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = repeatedGroupAllTypes_.toBuilder(); } repeatedGroupAllTypes_ = input.readMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(repeatedGroupAllTypes_); repeatedGroupAllTypes_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RepeatedGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatedGroup(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int REPEATED_GROUP_ALL_TYPES_FIELD_NUMBER = 21; private com.google.protobuf.UnittestLite.TestAllTypesLite repeatedGroupAllTypes_; /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public boolean hasRepeatedGroupAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedGroupAllTypes() { return repeatedGroupAllTypes_; } private void initFields() { repeatedGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); } 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.writeMessage(21, repeatedGroupAllTypes_); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, repeatedGroupAllTypes_); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite.RepeatedGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite.RepeatedGroup) com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroupOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); repeatedGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup build() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup result = new com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.repeatedGroupAllTypes_ = repeatedGroupAllTypes_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.getDefaultInstance()) return this; if (other.hasRepeatedGroupAllTypes()) { mergeRepeatedGroupAllTypes(other.getRepeatedGroupAllTypes()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.UnittestLite.TestAllTypesLite repeatedGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public boolean hasRepeatedGroupAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedGroupAllTypes() { return repeatedGroupAllTypes_; } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public Builder setRepeatedGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } repeatedGroupAllTypes_ = value; bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public Builder setRepeatedGroupAllTypes( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { repeatedGroupAllTypes_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public Builder mergeRepeatedGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000001) == 0x00000001) && repeatedGroupAllTypes_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { repeatedGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(repeatedGroupAllTypes_).mergeFrom(value).buildPartial(); } else { repeatedGroupAllTypes_ = value; } bitField0_ |= 0x00000001; return this; } /** * optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21; */ public Builder clearRepeatedGroupAllTypes() { repeatedGroupAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite.RepeatedGroup) } static { defaultInstance = new RepeatedGroup(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite.RepeatedGroup) } private int bitField0_; public static final int REQUIRED_ALL_TYPES_FIELD_NUMBER = 1; private com.google.protobuf.UnittestLite.TestAllTypesLite requiredAllTypes_; /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public boolean hasRequiredAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRequiredAllTypes() { return requiredAllTypes_; } public static final int OPTIONAL_ALL_TYPES_FIELD_NUMBER = 2; private com.google.protobuf.UnittestLite.TestAllTypesLite optionalAllTypes_; /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public boolean hasOptionalAllTypes() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes() { return optionalAllTypes_; } public static final int REPEATED_ALL_TYPES_FIELD_NUMBER = 3; private java.util.List repeatedAllTypes_; /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public java.util.List getRepeatedAllTypesList() { return repeatedAllTypes_; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public java.util.List getRepeatedAllTypesOrBuilderList() { return repeatedAllTypes_; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public int getRepeatedAllTypesCount() { return repeatedAllTypes_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index) { return repeatedAllTypes_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder getRepeatedAllTypesOrBuilder( int index) { return repeatedAllTypes_.get(index); } public static final int OPTIONALGROUP_FIELD_NUMBER = 10; private com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup optionalGroup_; /** * optional group OptionalGroup = 10 { ... } */ public boolean hasOptionalGroup() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional group OptionalGroup = 10 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup() { return optionalGroup_; } public static final int REPEATEDGROUP_FIELD_NUMBER = 20; private java.util.List repeatedGroup_; /** * repeated group RepeatedGroup = 20 { ... } */ public java.util.List getRepeatedGroupList() { return repeatedGroup_; } /** * repeated group RepeatedGroup = 20 { ... } */ public java.util.List getRepeatedGroupOrBuilderList() { return repeatedGroup_; } /** * repeated group RepeatedGroup = 20 { ... } */ public int getRepeatedGroupCount() { return repeatedGroup_.size(); } /** * repeated group RepeatedGroup = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index) { return repeatedGroup_.get(index); } /** * repeated group RepeatedGroup = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder( int index) { return repeatedGroup_.get(index); } private void initFields() { requiredAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); repeatedAllTypes_ = java.util.Collections.emptyList(); optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance(); repeatedGroup_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasRequiredAllTypes()) { memoizedIsInitialized = 0; return false; } if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessageLite .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, requiredAllTypes_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, optionalAllTypes_); } for (int i = 0; i < repeatedAllTypes_.size(); i++) { output.writeMessage(3, repeatedAllTypes_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeGroup(10, optionalGroup_); } for (int i = 0; i < repeatedGroup_.size(); i++) { output.writeGroup(20, repeatedGroup_.get(i)); } extensionWriter.writeUntil(536870912, output); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, requiredAllTypes_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, optionalAllTypes_); } for (int i = 0; i < repeatedAllTypes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, repeatedAllTypes_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(10, optionalGroup_); } for (int i = 0; i < repeatedGroup_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(20, repeatedGroup_.get(i)); } size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestParsingMergeLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestParsingMergeLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestParsingMergeLite} * *
     * See the comments of the same type in unittest.proto.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder< com.google.protobuf.UnittestLite.TestParsingMergeLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestParsingMergeLite) com.google.protobuf.UnittestLite.TestParsingMergeLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestParsingMergeLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); requiredAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); repeatedAllTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); repeatedGroup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestParsingMergeLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestParsingMergeLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestParsingMergeLite build() { com.google.protobuf.UnittestLite.TestParsingMergeLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestParsingMergeLite buildPartial() { com.google.protobuf.UnittestLite.TestParsingMergeLite result = new com.google.protobuf.UnittestLite.TestParsingMergeLite(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.requiredAllTypes_ = requiredAllTypes_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.optionalAllTypes_ = optionalAllTypes_; if (((bitField0_ & 0x00000004) == 0x00000004)) { repeatedAllTypes_ = java.util.Collections.unmodifiableList(repeatedAllTypes_); bitField0_ = (bitField0_ & ~0x00000004); } result.repeatedAllTypes_ = repeatedAllTypes_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.optionalGroup_ = optionalGroup_; if (((bitField0_ & 0x00000010) == 0x00000010)) { repeatedGroup_ = java.util.Collections.unmodifiableList(repeatedGroup_); bitField0_ = (bitField0_ & ~0x00000010); } result.repeatedGroup_ = repeatedGroup_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestParsingMergeLite other) { if (other == com.google.protobuf.UnittestLite.TestParsingMergeLite.getDefaultInstance()) return this; if (other.hasRequiredAllTypes()) { mergeRequiredAllTypes(other.getRequiredAllTypes()); } if (other.hasOptionalAllTypes()) { mergeOptionalAllTypes(other.getOptionalAllTypes()); } if (!other.repeatedAllTypes_.isEmpty()) { if (repeatedAllTypes_.isEmpty()) { repeatedAllTypes_ = other.repeatedAllTypes_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.addAll(other.repeatedAllTypes_); } } if (other.hasOptionalGroup()) { mergeOptionalGroup(other.getOptionalGroup()); } if (!other.repeatedGroup_.isEmpty()) { if (repeatedGroup_.isEmpty()) { repeatedGroup_ = other.repeatedGroup_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureRepeatedGroupIsMutable(); repeatedGroup_.addAll(other.repeatedGroup_); } } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!hasRequiredAllTypes()) { return false; } if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnittestLite.TestParsingMergeLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestParsingMergeLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.UnittestLite.TestAllTypesLite requiredAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public boolean hasRequiredAllTypes() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRequiredAllTypes() { return requiredAllTypes_; } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public Builder setRequiredAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } requiredAllTypes_ = value; bitField0_ |= 0x00000001; return this; } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public Builder setRequiredAllTypes( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { requiredAllTypes_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public Builder mergeRequiredAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000001) == 0x00000001) && requiredAllTypes_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { requiredAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(requiredAllTypes_).mergeFrom(value).buildPartial(); } else { requiredAllTypes_ = value; } bitField0_ |= 0x00000001; return this; } /** * required .protobuf_unittest.TestAllTypesLite required_all_types = 1; */ public Builder clearRequiredAllTypes() { requiredAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } private com.google.protobuf.UnittestLite.TestAllTypesLite optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public boolean hasOptionalAllTypes() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes() { return optionalAllTypes_; } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public Builder setOptionalAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } optionalAllTypes_ = value; bitField0_ |= 0x00000002; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public Builder setOptionalAllTypes( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { optionalAllTypes_ = builderForValue.build(); bitField0_ |= 0x00000002; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public Builder mergeOptionalAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (((bitField0_ & 0x00000002) == 0x00000002) && optionalAllTypes_ != com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance()) { optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.newBuilder(optionalAllTypes_).mergeFrom(value).buildPartial(); } else { optionalAllTypes_ = value; } bitField0_ |= 0x00000002; return this; } /** * optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2; */ public Builder clearOptionalAllTypes() { optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); return this; } private java.util.List repeatedAllTypes_ = java.util.Collections.emptyList(); private void ensureRepeatedAllTypesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { repeatedAllTypes_ = new java.util.ArrayList(repeatedAllTypes_); bitField0_ |= 0x00000004; } } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public java.util.List getRepeatedAllTypesList() { return java.util.Collections.unmodifiableList(repeatedAllTypes_); } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public int getRepeatedAllTypesCount() { return repeatedAllTypes_.size(); } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index) { return repeatedAllTypes_.get(index); } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder setRepeatedAllTypes( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.set(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder setRepeatedAllTypes( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.set(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder addRepeatedAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.add(value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder addRepeatedAllTypes( int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.add(index, value); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder addRepeatedAllTypes( com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.add(builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder addRepeatedAllTypes( int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) { ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.add(index, builderForValue.build()); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder addAllRepeatedAllTypes( java.lang.Iterable values) { ensureRepeatedAllTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedAllTypes_); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder clearRepeatedAllTypes() { repeatedAllTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3; */ public Builder removeRepeatedAllTypes(int index) { ensureRepeatedAllTypesIsMutable(); repeatedAllTypes_.remove(index); return this; } private com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance(); /** * optional group OptionalGroup = 10 { ... } */ public boolean hasOptionalGroup() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional group OptionalGroup = 10 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup() { return optionalGroup_; } /** * optional group OptionalGroup = 10 { ... } */ public Builder setOptionalGroup(com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup value) { if (value == null) { throw new NullPointerException(); } optionalGroup_ = value; bitField0_ |= 0x00000008; return this; } /** * optional group OptionalGroup = 10 { ... } */ public Builder setOptionalGroup( com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.Builder builderForValue) { optionalGroup_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * optional group OptionalGroup = 10 { ... } */ public Builder mergeOptionalGroup(com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup value) { if (((bitField0_ & 0x00000008) == 0x00000008) && optionalGroup_ != com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance()) { optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.newBuilder(optionalGroup_).mergeFrom(value).buildPartial(); } else { optionalGroup_ = value; } bitField0_ |= 0x00000008; return this; } /** * optional group OptionalGroup = 10 { ... } */ public Builder clearOptionalGroup() { optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private java.util.List repeatedGroup_ = java.util.Collections.emptyList(); private void ensureRepeatedGroupIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { repeatedGroup_ = new java.util.ArrayList(repeatedGroup_); bitField0_ |= 0x00000010; } } /** * repeated group RepeatedGroup = 20 { ... } */ public java.util.List getRepeatedGroupList() { return java.util.Collections.unmodifiableList(repeatedGroup_); } /** * repeated group RepeatedGroup = 20 { ... } */ public int getRepeatedGroupCount() { return repeatedGroup_.size(); } /** * repeated group RepeatedGroup = 20 { ... } */ public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index) { return repeatedGroup_.get(index); } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder setRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.set(index, value); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder setRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.set(index, builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder addRepeatedGroup(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.add(value); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder addRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup value) { if (value == null) { throw new NullPointerException(); } ensureRepeatedGroupIsMutable(); repeatedGroup_.add(index, value); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder addRepeatedGroup( com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.add(builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder addRepeatedGroup( int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) { ensureRepeatedGroupIsMutable(); repeatedGroup_.add(index, builderForValue.build()); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder addAllRepeatedGroup( java.lang.Iterable values) { ensureRepeatedGroupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, repeatedGroup_); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder clearRepeatedGroup() { repeatedGroup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * repeated group RepeatedGroup = 20 { ... } */ public Builder removeRepeatedGroup(int index) { ensureRepeatedGroupIsMutable(); repeatedGroup_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestParsingMergeLite) } static { defaultInstance = new TestParsingMergeLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestParsingMergeLite) public static final int OPTIONAL_EXT_FIELD_NUMBER = 1000; /** * extend .protobuf_unittest.TestParsingMergeLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestParsingMergeLite, com.google.protobuf.UnittestLite.TestAllTypesLite> optionalExt = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestParsingMergeLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(), null, 1000, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestLite.TestAllTypesLite.class); public static final int REPEATED_EXT_FIELD_NUMBER = 1001; /** * extend .protobuf_unittest.TestParsingMergeLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestParsingMergeLite, java.util.List> repeatedExt = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestParsingMergeLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance(), null, 1001, com.google.protobuf.WireFormat.FieldType.MESSAGE, false, com.google.protobuf.UnittestLite.TestAllTypesLite.class); } public interface TestEmptyMessageLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestEmptyMessageLite) com.google.protobuf.MessageLiteOrBuilder { } /** * Protobuf type {@code protobuf_unittest.TestEmptyMessageLite} * *
   * TestEmptyMessageLite is used to test unknown fields support in lite mode.
   * 
*/ public static final class TestEmptyMessageLite extends com.google.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestEmptyMessageLite) TestEmptyMessageLiteOrBuilder { // Use TestEmptyMessageLite.newBuilder() to construct. private TestEmptyMessageLite(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestEmptyMessageLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestEmptyMessageLite defaultInstance; public static TestEmptyMessageLite getDefaultInstance() { return defaultInstance; } public TestEmptyMessageLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestEmptyMessageLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestEmptyMessageLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestEmptyMessageLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } 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(); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestEmptyMessageLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestEmptyMessageLite} * *
     * TestEmptyMessageLite is used to test unknown fields support in lite mode.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.UnittestLite.TestEmptyMessageLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestEmptyMessageLite) com.google.protobuf.UnittestLite.TestEmptyMessageLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestEmptyMessageLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestEmptyMessageLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestEmptyMessageLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestEmptyMessageLite build() { com.google.protobuf.UnittestLite.TestEmptyMessageLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestEmptyMessageLite buildPartial() { com.google.protobuf.UnittestLite.TestEmptyMessageLite result = new com.google.protobuf.UnittestLite.TestEmptyMessageLite(this); return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestEmptyMessageLite other) { if (other == com.google.protobuf.UnittestLite.TestEmptyMessageLite.getDefaultInstance()) return this; setUnknownFields( getUnknownFields().concat(other.unknownFields)); 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.google.protobuf.UnittestLite.TestEmptyMessageLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestEmptyMessageLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestEmptyMessageLite) } static { defaultInstance = new TestEmptyMessageLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestEmptyMessageLite) } public interface TestEmptyMessageWithExtensionsLiteOrBuilder extends // @@protoc_insertion_point(interface_extends:protobuf_unittest.TestEmptyMessageWithExtensionsLite) com.google.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder { } /** * Protobuf type {@code protobuf_unittest.TestEmptyMessageWithExtensionsLite} * *
   * Like above, but declare all field numbers as potential extensions.  No
   * actual extensions should ever be defined for this type.
   * 
*/ public static final class TestEmptyMessageWithExtensionsLite extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage< TestEmptyMessageWithExtensionsLite> implements // @@protoc_insertion_point(message_implements:protobuf_unittest.TestEmptyMessageWithExtensionsLite) TestEmptyMessageWithExtensionsLiteOrBuilder { // Use TestEmptyMessageWithExtensionsLite.newBuilder() to construct. private TestEmptyMessageWithExtensionsLite(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestEmptyMessageWithExtensionsLite(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TestEmptyMessageWithExtensionsLite defaultInstance; public static TestEmptyMessageWithExtensionsLite getDefaultInstance() { return defaultInstance; } public TestEmptyMessageWithExtensionsLite getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.ByteString unknownFields; private TestEmptyMessageWithExtensionsLite( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.ByteString.Output unknownFieldsOutput = com.google.protobuf.ByteString.newOutput(); com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = com.google.protobuf.CodedOutputStream.newInstance( unknownFieldsOutput); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestEmptyMessageWithExtensionsLite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestEmptyMessageWithExtensionsLite(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessageLite .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); extensionWriter.writeUntil(536870912, output); output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code protobuf_unittest.TestEmptyMessageWithExtensionsLite} * *
     * Like above, but declare all field numbers as potential extensions.  No
     * actual extensions should ever be defined for this type.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder< com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite, Builder> implements // @@protoc_insertion_point(builder_implements:protobuf_unittest.TestEmptyMessageWithExtensionsLite) com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLiteOrBuilder { // Construct using com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite getDefaultInstanceForType() { return com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite.getDefaultInstance(); } public com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite build() { com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite buildPartial() { com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite result = new com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite(this); return result; } public Builder mergeFrom(com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite other) { if (other == com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite.getDefaultInstance()) return this; this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:protobuf_unittest.TestEmptyMessageWithExtensionsLite) } static { defaultInstance = new TestEmptyMessageWithExtensionsLite(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:protobuf_unittest.TestEmptyMessageWithExtensionsLite) } public static final int OPTIONAL_INT32_EXTENSION_LITE_FIELD_NUMBER = 1; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } * *
   * Singular
   * 
*/ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> optionalInt32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 1, com.google.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int OPTIONAL_INT64_EXTENSION_LITE_FIELD_NUMBER = 2; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> optionalInt64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0L, null, null, 2, com.google.protobuf.WireFormat.FieldType.INT64, java.lang.Long.class); public static final int OPTIONAL_UINT32_EXTENSION_LITE_FIELD_NUMBER = 3; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> optionalUint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 3, com.google.protobuf.WireFormat.FieldType.UINT32, java.lang.Integer.class); public static final int OPTIONAL_UINT64_EXTENSION_LITE_FIELD_NUMBER = 4; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> optionalUint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0L, null, null, 4, com.google.protobuf.WireFormat.FieldType.UINT64, java.lang.Long.class); public static final int OPTIONAL_SINT32_EXTENSION_LITE_FIELD_NUMBER = 5; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> optionalSint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 5, com.google.protobuf.WireFormat.FieldType.SINT32, java.lang.Integer.class); public static final int OPTIONAL_SINT64_EXTENSION_LITE_FIELD_NUMBER = 6; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> optionalSint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0L, null, null, 6, com.google.protobuf.WireFormat.FieldType.SINT64, java.lang.Long.class); public static final int OPTIONAL_FIXED32_EXTENSION_LITE_FIELD_NUMBER = 7; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> optionalFixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 7, com.google.protobuf.WireFormat.FieldType.FIXED32, java.lang.Integer.class); public static final int OPTIONAL_FIXED64_EXTENSION_LITE_FIELD_NUMBER = 8; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> optionalFixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0L, null, null, 8, com.google.protobuf.WireFormat.FieldType.FIXED64, java.lang.Long.class); public static final int OPTIONAL_SFIXED32_EXTENSION_LITE_FIELD_NUMBER = 9; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> optionalSfixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 9, com.google.protobuf.WireFormat.FieldType.SFIXED32, java.lang.Integer.class); public static final int OPTIONAL_SFIXED64_EXTENSION_LITE_FIELD_NUMBER = 10; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> optionalSfixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0L, null, null, 10, com.google.protobuf.WireFormat.FieldType.SFIXED64, java.lang.Long.class); public static final int OPTIONAL_FLOAT_EXTENSION_LITE_FIELD_NUMBER = 11; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Float> optionalFloatExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0F, null, null, 11, com.google.protobuf.WireFormat.FieldType.FLOAT, java.lang.Float.class); public static final int OPTIONAL_DOUBLE_EXTENSION_LITE_FIELD_NUMBER = 12; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Double> optionalDoubleExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0D, null, null, 12, com.google.protobuf.WireFormat.FieldType.DOUBLE, java.lang.Double.class); public static final int OPTIONAL_BOOL_EXTENSION_LITE_FIELD_NUMBER = 13; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Boolean> optionalBoolExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), false, null, null, 13, com.google.protobuf.WireFormat.FieldType.BOOL, java.lang.Boolean.class); public static final int OPTIONAL_STRING_EXTENSION_LITE_FIELD_NUMBER = 14; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> optionalStringExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "", null, null, 14, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int OPTIONAL_BYTES_EXTENSION_LITE_FIELD_NUMBER = 15; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.ByteString> optionalBytesExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.ByteString.EMPTY, null, null, 15, com.google.protobuf.WireFormat.FieldType.BYTES, com.google.protobuf.ByteString.class); public static final int OPTIONALGROUP_EXTENSION_LITE_FIELD_NUMBER = 16; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.OptionalGroup_extension_lite> optionalGroupExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.getDefaultInstance(), com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.getDefaultInstance(), null, 16, com.google.protobuf.WireFormat.FieldType.GROUP, com.google.protobuf.UnittestLite.OptionalGroup_extension_lite.class); public static final int OPTIONAL_NESTED_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 18; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> optionalNestedMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), null, 18, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.class); public static final int OPTIONAL_FOREIGN_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 19; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.ForeignMessageLite> optionalForeignMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(), com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(), null, 19, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestLite.ForeignMessageLite.class); public static final int OPTIONAL_IMPORT_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 20; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestImportLite.ImportMessageLite> optionalImportMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(), com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(), null, 20, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestImportLite.ImportMessageLite.class); public static final int OPTIONAL_NESTED_ENUM_EXTENSION_LITE_FIELD_NUMBER = 21; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> optionalNestedEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.FOO, null, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.internalGetValueMap(), 21, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.class); public static final int OPTIONAL_FOREIGN_ENUM_EXTENSION_LITE_FIELD_NUMBER = 22; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.ForeignEnumLite> optionalForeignEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_FOO, null, com.google.protobuf.UnittestLite.ForeignEnumLite.internalGetValueMap(), 22, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestLite.ForeignEnumLite.class); public static final int OPTIONAL_IMPORT_ENUM_EXTENSION_LITE_FIELD_NUMBER = 23; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestImportLite.ImportEnumLite> optionalImportEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO, null, com.google.protobuf.UnittestImportLite.ImportEnumLite.internalGetValueMap(), 23, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestImportLite.ImportEnumLite.class); public static final int OPTIONAL_STRING_PIECE_EXTENSION_LITE_FIELD_NUMBER = 24; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> optionalStringPieceExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "", null, null, 24, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int OPTIONAL_CORD_EXTENSION_LITE_FIELD_NUMBER = 25; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> optionalCordExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "", null, null, 25, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int OPTIONAL_PUBLIC_IMPORT_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 26; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite> optionalPublicImportMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(), com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.getDefaultInstance(), null, 26, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.class); public static final int OPTIONAL_LAZY_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 27; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> optionalLazyMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), null, 27, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.class); public static final int REPEATED_INT32_EXTENSION_LITE_FIELD_NUMBER = 31; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } * *
   * Repeated
   * 
*/ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedInt32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 31, com.google.protobuf.WireFormat.FieldType.INT32, false, java.lang.Integer.class); public static final int REPEATED_INT64_EXTENSION_LITE_FIELD_NUMBER = 32; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedInt64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 32, com.google.protobuf.WireFormat.FieldType.INT64, false, java.lang.Long.class); public static final int REPEATED_UINT32_EXTENSION_LITE_FIELD_NUMBER = 33; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedUint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 33, com.google.protobuf.WireFormat.FieldType.UINT32, false, java.lang.Integer.class); public static final int REPEATED_UINT64_EXTENSION_LITE_FIELD_NUMBER = 34; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedUint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 34, com.google.protobuf.WireFormat.FieldType.UINT64, false, java.lang.Long.class); public static final int REPEATED_SINT32_EXTENSION_LITE_FIELD_NUMBER = 35; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedSint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 35, com.google.protobuf.WireFormat.FieldType.SINT32, false, java.lang.Integer.class); public static final int REPEATED_SINT64_EXTENSION_LITE_FIELD_NUMBER = 36; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedSint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 36, com.google.protobuf.WireFormat.FieldType.SINT64, false, java.lang.Long.class); public static final int REPEATED_FIXED32_EXTENSION_LITE_FIELD_NUMBER = 37; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedFixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 37, com.google.protobuf.WireFormat.FieldType.FIXED32, false, java.lang.Integer.class); public static final int REPEATED_FIXED64_EXTENSION_LITE_FIELD_NUMBER = 38; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedFixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 38, com.google.protobuf.WireFormat.FieldType.FIXED64, false, java.lang.Long.class); public static final int REPEATED_SFIXED32_EXTENSION_LITE_FIELD_NUMBER = 39; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedSfixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 39, com.google.protobuf.WireFormat.FieldType.SFIXED32, false, java.lang.Integer.class); public static final int REPEATED_SFIXED64_EXTENSION_LITE_FIELD_NUMBER = 40; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedSfixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 40, com.google.protobuf.WireFormat.FieldType.SFIXED64, false, java.lang.Long.class); public static final int REPEATED_FLOAT_EXTENSION_LITE_FIELD_NUMBER = 41; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedFloatExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 41, com.google.protobuf.WireFormat.FieldType.FLOAT, false, java.lang.Float.class); public static final int REPEATED_DOUBLE_EXTENSION_LITE_FIELD_NUMBER = 42; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedDoubleExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 42, com.google.protobuf.WireFormat.FieldType.DOUBLE, false, java.lang.Double.class); public static final int REPEATED_BOOL_EXTENSION_LITE_FIELD_NUMBER = 43; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedBoolExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 43, com.google.protobuf.WireFormat.FieldType.BOOL, false, java.lang.Boolean.class); public static final int REPEATED_STRING_EXTENSION_LITE_FIELD_NUMBER = 44; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedStringExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 44, com.google.protobuf.WireFormat.FieldType.STRING, false, java.lang.String.class); public static final int REPEATED_BYTES_EXTENSION_LITE_FIELD_NUMBER = 45; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedBytesExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 45, com.google.protobuf.WireFormat.FieldType.BYTES, false, com.google.protobuf.ByteString.class); public static final int REPEATEDGROUP_EXTENSION_LITE_FIELD_NUMBER = 46; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedGroupExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite.getDefaultInstance(), null, 46, com.google.protobuf.WireFormat.FieldType.GROUP, false, com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite.class); public static final int REPEATED_NESTED_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 48; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedNestedMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), null, 48, com.google.protobuf.WireFormat.FieldType.MESSAGE, false, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.class); public static final int REPEATED_FOREIGN_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 49; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedForeignMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.ForeignMessageLite.getDefaultInstance(), null, 49, com.google.protobuf.WireFormat.FieldType.MESSAGE, false, com.google.protobuf.UnittestLite.ForeignMessageLite.class); public static final int REPEATED_IMPORT_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 50; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedImportMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestImportLite.ImportMessageLite.getDefaultInstance(), null, 50, com.google.protobuf.WireFormat.FieldType.MESSAGE, false, com.google.protobuf.UnittestImportLite.ImportMessageLite.class); public static final int REPEATED_NESTED_ENUM_EXTENSION_LITE_FIELD_NUMBER = 51; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedNestedEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.internalGetValueMap(), 51, com.google.protobuf.WireFormat.FieldType.ENUM, false, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.class); public static final int REPEATED_FOREIGN_ENUM_EXTENSION_LITE_FIELD_NUMBER = 52; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedForeignEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, com.google.protobuf.UnittestLite.ForeignEnumLite.internalGetValueMap(), 52, com.google.protobuf.WireFormat.FieldType.ENUM, false, com.google.protobuf.UnittestLite.ForeignEnumLite.class); public static final int REPEATED_IMPORT_ENUM_EXTENSION_LITE_FIELD_NUMBER = 53; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedImportEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, com.google.protobuf.UnittestImportLite.ImportEnumLite.internalGetValueMap(), 53, com.google.protobuf.WireFormat.FieldType.ENUM, false, com.google.protobuf.UnittestImportLite.ImportEnumLite.class); public static final int REPEATED_STRING_PIECE_EXTENSION_LITE_FIELD_NUMBER = 54; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedStringPieceExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 54, com.google.protobuf.WireFormat.FieldType.STRING, false, java.lang.String.class); public static final int REPEATED_CORD_EXTENSION_LITE_FIELD_NUMBER = 55; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedCordExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), null, null, 55, com.google.protobuf.WireFormat.FieldType.STRING, false, java.lang.String.class); public static final int REPEATED_LAZY_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 57; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.util.List> repeatedLazyMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), null, 57, com.google.protobuf.WireFormat.FieldType.MESSAGE, false, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.class); public static final int DEFAULT_INT32_EXTENSION_LITE_FIELD_NUMBER = 61; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } * *
   * Singular with defaults
   * 
*/ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> defaultInt32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 41, null, null, 61, com.google.protobuf.WireFormat.FieldType.INT32, java.lang.Integer.class); public static final int DEFAULT_INT64_EXTENSION_LITE_FIELD_NUMBER = 62; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> defaultInt64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 42L, null, null, 62, com.google.protobuf.WireFormat.FieldType.INT64, java.lang.Long.class); public static final int DEFAULT_UINT32_EXTENSION_LITE_FIELD_NUMBER = 63; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> defaultUint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 43, null, null, 63, com.google.protobuf.WireFormat.FieldType.UINT32, java.lang.Integer.class); public static final int DEFAULT_UINT64_EXTENSION_LITE_FIELD_NUMBER = 64; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> defaultUint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 44L, null, null, 64, com.google.protobuf.WireFormat.FieldType.UINT64, java.lang.Long.class); public static final int DEFAULT_SINT32_EXTENSION_LITE_FIELD_NUMBER = 65; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> defaultSint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), -45, null, null, 65, com.google.protobuf.WireFormat.FieldType.SINT32, java.lang.Integer.class); public static final int DEFAULT_SINT64_EXTENSION_LITE_FIELD_NUMBER = 66; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> defaultSint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 46L, null, null, 66, com.google.protobuf.WireFormat.FieldType.SINT64, java.lang.Long.class); public static final int DEFAULT_FIXED32_EXTENSION_LITE_FIELD_NUMBER = 67; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> defaultFixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 47, null, null, 67, com.google.protobuf.WireFormat.FieldType.FIXED32, java.lang.Integer.class); public static final int DEFAULT_FIXED64_EXTENSION_LITE_FIELD_NUMBER = 68; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> defaultFixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 48L, null, null, 68, com.google.protobuf.WireFormat.FieldType.FIXED64, java.lang.Long.class); public static final int DEFAULT_SFIXED32_EXTENSION_LITE_FIELD_NUMBER = 69; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> defaultSfixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 49, null, null, 69, com.google.protobuf.WireFormat.FieldType.SFIXED32, java.lang.Integer.class); public static final int DEFAULT_SFIXED64_EXTENSION_LITE_FIELD_NUMBER = 70; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Long> defaultSfixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), -50L, null, null, 70, com.google.protobuf.WireFormat.FieldType.SFIXED64, java.lang.Long.class); public static final int DEFAULT_FLOAT_EXTENSION_LITE_FIELD_NUMBER = 71; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Float> defaultFloatExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 51.5F, null, null, 71, com.google.protobuf.WireFormat.FieldType.FLOAT, java.lang.Float.class); public static final int DEFAULT_DOUBLE_EXTENSION_LITE_FIELD_NUMBER = 72; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Double> defaultDoubleExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 52000D, null, null, 72, com.google.protobuf.WireFormat.FieldType.DOUBLE, java.lang.Double.class); public static final int DEFAULT_BOOL_EXTENSION_LITE_FIELD_NUMBER = 73; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Boolean> defaultBoolExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), true, null, null, 73, com.google.protobuf.WireFormat.FieldType.BOOL, java.lang.Boolean.class); public static final int DEFAULT_STRING_EXTENSION_LITE_FIELD_NUMBER = 74; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> defaultStringExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "hello", null, null, 74, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int DEFAULT_BYTES_EXTENSION_LITE_FIELD_NUMBER = 75; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.ByteString> defaultBytesExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.Internal.bytesDefaultValue("world"), null, null, 75, com.google.protobuf.WireFormat.FieldType.BYTES, com.google.protobuf.ByteString.class); public static final int DEFAULT_NESTED_ENUM_EXTENSION_LITE_FIELD_NUMBER = 81; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> defaultNestedEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.BAR, null, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.internalGetValueMap(), 81, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum.class); public static final int DEFAULT_FOREIGN_ENUM_EXTENSION_LITE_FIELD_NUMBER = 82; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.ForeignEnumLite> defaultForeignEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.ForeignEnumLite.FOREIGN_LITE_BAR, null, com.google.protobuf.UnittestLite.ForeignEnumLite.internalGetValueMap(), 82, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestLite.ForeignEnumLite.class); public static final int DEFAULT_IMPORT_ENUM_EXTENSION_LITE_FIELD_NUMBER = 83; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestImportLite.ImportEnumLite> defaultImportEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR, null, com.google.protobuf.UnittestImportLite.ImportEnumLite.internalGetValueMap(), 83, com.google.protobuf.WireFormat.FieldType.ENUM, com.google.protobuf.UnittestImportLite.ImportEnumLite.class); public static final int DEFAULT_STRING_PIECE_EXTENSION_LITE_FIELD_NUMBER = 84; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> defaultStringPieceExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "abc", null, null, 84, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int DEFAULT_CORD_EXTENSION_LITE_FIELD_NUMBER = 85; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> defaultCordExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "123", null, null, 85, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int ONEOF_UINT32_EXTENSION_LITE_FIELD_NUMBER = 111; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } * *
   * For oneof test
   * 
*/ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.Integer> oneofUint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), 0, null, null, 111, com.google.protobuf.WireFormat.FieldType.UINT32, java.lang.Integer.class); public static final int ONEOF_NESTED_MESSAGE_EXTENSION_LITE_FIELD_NUMBER = 112; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> oneofNestedMessageExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.getDefaultInstance(), null, 112, com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.class); public static final int ONEOF_STRING_EXTENSION_LITE_FIELD_NUMBER = 113; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, java.lang.String> oneofStringExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), "", null, null, 113, com.google.protobuf.WireFormat.FieldType.STRING, java.lang.String.class); public static final int ONEOF_BYTES_EXTENSION_LITE_FIELD_NUMBER = 114; /** * extend .protobuf_unittest.TestAllExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestAllExtensionsLite, com.google.protobuf.ByteString> oneofBytesExtensionLite = com.google.protobuf.GeneratedMessageLite .newSingularGeneratedExtension( com.google.protobuf.UnittestLite.TestAllExtensionsLite.getDefaultInstance(), com.google.protobuf.ByteString.EMPTY, null, null, 114, com.google.protobuf.WireFormat.FieldType.BYTES, com.google.protobuf.ByteString.class); public static final int PACKED_INT32_EXTENSION_LITE_FIELD_NUMBER = 90; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedInt32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 90, com.google.protobuf.WireFormat.FieldType.INT32, true, java.lang.Integer.class); public static final int PACKED_INT64_EXTENSION_LITE_FIELD_NUMBER = 91; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedInt64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 91, com.google.protobuf.WireFormat.FieldType.INT64, true, java.lang.Long.class); public static final int PACKED_UINT32_EXTENSION_LITE_FIELD_NUMBER = 92; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedUint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 92, com.google.protobuf.WireFormat.FieldType.UINT32, true, java.lang.Integer.class); public static final int PACKED_UINT64_EXTENSION_LITE_FIELD_NUMBER = 93; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedUint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 93, com.google.protobuf.WireFormat.FieldType.UINT64, true, java.lang.Long.class); public static final int PACKED_SINT32_EXTENSION_LITE_FIELD_NUMBER = 94; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedSint32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 94, com.google.protobuf.WireFormat.FieldType.SINT32, true, java.lang.Integer.class); public static final int PACKED_SINT64_EXTENSION_LITE_FIELD_NUMBER = 95; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedSint64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 95, com.google.protobuf.WireFormat.FieldType.SINT64, true, java.lang.Long.class); public static final int PACKED_FIXED32_EXTENSION_LITE_FIELD_NUMBER = 96; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedFixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 96, com.google.protobuf.WireFormat.FieldType.FIXED32, true, java.lang.Integer.class); public static final int PACKED_FIXED64_EXTENSION_LITE_FIELD_NUMBER = 97; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedFixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 97, com.google.protobuf.WireFormat.FieldType.FIXED64, true, java.lang.Long.class); public static final int PACKED_SFIXED32_EXTENSION_LITE_FIELD_NUMBER = 98; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedSfixed32ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 98, com.google.protobuf.WireFormat.FieldType.SFIXED32, true, java.lang.Integer.class); public static final int PACKED_SFIXED64_EXTENSION_LITE_FIELD_NUMBER = 99; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedSfixed64ExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 99, com.google.protobuf.WireFormat.FieldType.SFIXED64, true, java.lang.Long.class); public static final int PACKED_FLOAT_EXTENSION_LITE_FIELD_NUMBER = 100; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedFloatExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 100, com.google.protobuf.WireFormat.FieldType.FLOAT, true, java.lang.Float.class); public static final int PACKED_DOUBLE_EXTENSION_LITE_FIELD_NUMBER = 101; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedDoubleExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 101, com.google.protobuf.WireFormat.FieldType.DOUBLE, true, java.lang.Double.class); public static final int PACKED_BOOL_EXTENSION_LITE_FIELD_NUMBER = 102; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedBoolExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, null, 102, com.google.protobuf.WireFormat.FieldType.BOOL, true, java.lang.Boolean.class); public static final int PACKED_ENUM_EXTENSION_LITE_FIELD_NUMBER = 103; /** * extend .protobuf_unittest.TestPackedExtensionsLite { ... } */ public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension< com.google.protobuf.UnittestLite.TestPackedExtensionsLite, java.util.List> packedEnumExtensionLite = com.google.protobuf.GeneratedMessageLite .newRepeatedGeneratedExtension( com.google.protobuf.UnittestLite.TestPackedExtensionsLite.getDefaultInstance(), null, com.google.protobuf.UnittestLite.ForeignEnumLite.internalGetValueMap(), 103, com.google.protobuf.WireFormat.FieldType.ENUM, true, com.google.protobuf.UnittestLite.ForeignEnumLite.class); static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy