// 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 {
/**
* <code>FOREIGN_LITE_FOO = 4;</code>
*/
FOREIGN_LITE_FOO(0, 4),
/**
* <code>FOREIGN_LITE_BAR = 5;</code>
*/
FOREIGN_LITE_BAR(1, 5),
/**
* <code>FOREIGN_LITE_BAZ = 6;</code>
*/
FOREIGN_LITE_BAZ(2, 6),
;
/**
* <code>FOREIGN_LITE_FOO = 4;</code>
*/
public static final int FOREIGN_LITE_FOO_VALUE = 4;
/**
* <code>FOREIGN_LITE_BAR = 5;</code>
*/
public static final int FOREIGN_LITE_BAR_VALUE = 5;
/**
* <code>FOREIGN_LITE_BAZ = 6;</code>
*/
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<ForeignEnumLite>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<ForeignEnumLite>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ForeignEnumLite>() {
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 {
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
boolean hasOptionalInt32();
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
int getOptionalInt32();
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
boolean hasOptionalInt64();
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
long getOptionalInt64();
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
boolean hasOptionalUint32();
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
int getOptionalUint32();
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
boolean hasOptionalUint64();
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
long getOptionalUint64();
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
boolean hasOptionalSint32();
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
int getOptionalSint32();
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
boolean hasOptionalSint64();
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
long getOptionalSint64();
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
boolean hasOptionalFixed32();
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
int getOptionalFixed32();
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
boolean hasOptionalFixed64();
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
long getOptionalFixed64();
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
boolean hasOptionalSfixed32();
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
int getOptionalSfixed32();
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
boolean hasOptionalSfixed64();
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
long getOptionalSfixed64();
/**
* <code>optional float optional_float = 11;</code>
*/
boolean hasOptionalFloat();
/**
* <code>optional float optional_float = 11;</code>
*/
float getOptionalFloat();
/**
* <code>optional double optional_double = 12;</code>
*/
boolean hasOptionalDouble();
/**
* <code>optional double optional_double = 12;</code>
*/
double getOptionalDouble();
/**
* <code>optional bool optional_bool = 13;</code>
*/
boolean hasOptionalBool();
/**
* <code>optional bool optional_bool = 13;</code>
*/
boolean getOptionalBool();
/**
* <code>optional string optional_string = 14;</code>
*/
boolean hasOptionalString();
/**
* <code>optional string optional_string = 14;</code>
*/
java.lang.String getOptionalString();
/**
* <code>optional string optional_string = 14;</code>
*/
com.google.protobuf.ByteString
getOptionalStringBytes();
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
boolean hasOptionalBytes();
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
com.google.protobuf.ByteString getOptionalBytes();
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
boolean hasOptionalGroup();
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getOptionalGroup();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
boolean hasOptionalNestedMessage();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalNestedMessage();
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
boolean hasOptionalForeignMessage();
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
com.google.protobuf.UnittestLite.ForeignMessageLite getOptionalForeignMessage();
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
boolean hasOptionalImportMessage();
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
com.google.protobuf.UnittestImportLite.ImportMessageLite getOptionalImportMessage();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
boolean hasOptionalNestedEnum();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getOptionalNestedEnum();
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
boolean hasOptionalForeignEnum();
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
com.google.protobuf.UnittestLite.ForeignEnumLite getOptionalForeignEnum();
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
boolean hasOptionalImportEnum();
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum();
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
boolean hasOptionalStringPiece();
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
java.lang.String getOptionalStringPiece();
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
com.google.protobuf.ByteString
getOptionalStringPieceBytes();
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
boolean hasOptionalCord();
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
java.lang.String getOptionalCord();
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
com.google.protobuf.ByteString
getOptionalCordBytes();
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
boolean hasOptionalPublicImportMessage();
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite getOptionalPublicImportMessage();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
boolean hasOptionalLazyMessage();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalLazyMessage();
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
java.util.List<java.lang.Integer> getRepeatedInt32List();
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
int getRepeatedInt32Count();
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
int getRepeatedInt32(int index);
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
java.util.List<java.lang.Long> getRepeatedInt64List();
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
int getRepeatedInt64Count();
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
long getRepeatedInt64(int index);
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
java.util.List<java.lang.Integer> getRepeatedUint32List();
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
int getRepeatedUint32Count();
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
int getRepeatedUint32(int index);
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
java.util.List<java.lang.Long> getRepeatedUint64List();
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
int getRepeatedUint64Count();
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
long getRepeatedUint64(int index);
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
java.util.List<java.lang.Integer> getRepeatedSint32List();
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
int getRepeatedSint32Count();
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
int getRepeatedSint32(int index);
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
java.util.List<java.lang.Long> getRepeatedSint64List();
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
int getRepeatedSint64Count();
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
long getRepeatedSint64(int index);
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
java.util.List<java.lang.Integer> getRepeatedFixed32List();
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
int getRepeatedFixed32Count();
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
int getRepeatedFixed32(int index);
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
java.util.List<java.lang.Long> getRepeatedFixed64List();
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
int getRepeatedFixed64Count();
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
long getRepeatedFixed64(int index);
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
java.util.List<java.lang.Integer> getRepeatedSfixed32List();
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
int getRepeatedSfixed32Count();
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
int getRepeatedSfixed32(int index);
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
java.util.List<java.lang.Long> getRepeatedSfixed64List();
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
int getRepeatedSfixed64Count();
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
long getRepeatedSfixed64(int index);
/**
* <code>repeated float repeated_float = 41;</code>
*/
java.util.List<java.lang.Float> getRepeatedFloatList();
/**
* <code>repeated float repeated_float = 41;</code>
*/
int getRepeatedFloatCount();
/**
* <code>repeated float repeated_float = 41;</code>
*/
float getRepeatedFloat(int index);
/**
* <code>repeated double repeated_double = 42;</code>
*/
java.util.List<java.lang.Double> getRepeatedDoubleList();
/**
* <code>repeated double repeated_double = 42;</code>
*/
int getRepeatedDoubleCount();
/**
* <code>repeated double repeated_double = 42;</code>
*/
double getRepeatedDouble(int index);
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
java.util.List<java.lang.Boolean> getRepeatedBoolList();
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
int getRepeatedBoolCount();
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
boolean getRepeatedBool(int index);
/**
* <code>repeated string repeated_string = 44;</code>
*/
com.google.protobuf.ProtocolStringList
getRepeatedStringList();
/**
* <code>repeated string repeated_string = 44;</code>
*/
int getRepeatedStringCount();
/**
* <code>repeated string repeated_string = 44;</code>
*/
java.lang.String getRepeatedString(int index);
/**
* <code>repeated string repeated_string = 44;</code>
*/
com.google.protobuf.ByteString
getRepeatedStringBytes(int index);
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
java.util.List<com.google.protobuf.ByteString> getRepeatedBytesList();
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
int getRepeatedBytesCount();
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
com.google.protobuf.ByteString getRepeatedBytes(int index);
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup>
getRepeatedGroupList();
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index);
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
int getRepeatedGroupCount();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>
getRepeatedNestedMessageList();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
int getRepeatedNestedMessageCount();
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.ForeignMessageLite>
getRepeatedForeignMessageList();
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index);
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
int getRepeatedForeignMessageCount();
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
java.util.List<com.google.protobuf.UnittestImportLite.ImportMessageLite>
getRepeatedImportMessageList();
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index);
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
int getRepeatedImportMessageCount();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> getRepeatedNestedEnumList();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
int getRepeatedNestedEnumCount();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getRepeatedNestedEnum(int index);
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getRepeatedForeignEnumList();
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
int getRepeatedForeignEnumCount();
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
com.google.protobuf.UnittestLite.ForeignEnumLite getRepeatedForeignEnum(int index);
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
java.util.List<com.google.protobuf.UnittestImportLite.ImportEnumLite> getRepeatedImportEnumList();
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
int getRepeatedImportEnumCount();
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
com.google.protobuf.UnittestImportLite.ImportEnumLite getRepeatedImportEnum(int index);
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
com.google.protobuf.ProtocolStringList
getRepeatedStringPieceList();
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
int getRepeatedStringPieceCount();
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
java.lang.String getRepeatedStringPiece(int index);
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
com.google.protobuf.ByteString
getRepeatedStringPieceBytes(int index);
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
com.google.protobuf.ProtocolStringList
getRepeatedCordList();
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
int getRepeatedCordCount();
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
java.lang.String getRepeatedCord(int index);
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
com.google.protobuf.ByteString
getRepeatedCordBytes(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>
getRepeatedLazyMessageList();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedLazyMessage(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
int getRepeatedLazyMessageCount();
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
boolean hasDefaultInt32();
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
int getDefaultInt32();
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
boolean hasDefaultInt64();
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
long getDefaultInt64();
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
boolean hasDefaultUint32();
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
int getDefaultUint32();
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
boolean hasDefaultUint64();
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
long getDefaultUint64();
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
boolean hasDefaultSint32();
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
int getDefaultSint32();
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
boolean hasDefaultSint64();
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
long getDefaultSint64();
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
boolean hasDefaultFixed32();
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
int getDefaultFixed32();
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
boolean hasDefaultFixed64();
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
long getDefaultFixed64();
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
boolean hasDefaultSfixed32();
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
int getDefaultSfixed32();
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
boolean hasDefaultSfixed64();
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
long getDefaultSfixed64();
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
boolean hasDefaultFloat();
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
float getDefaultFloat();
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
boolean hasDefaultDouble();
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
double getDefaultDouble();
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
boolean hasDefaultBool();
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
boolean getDefaultBool();
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
boolean hasDefaultString();
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
java.lang.String getDefaultString();
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
com.google.protobuf.ByteString
getDefaultStringBytes();
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
boolean hasDefaultBytes();
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
com.google.protobuf.ByteString getDefaultBytes();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
boolean hasDefaultNestedEnum();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getDefaultNestedEnum();
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
boolean hasDefaultForeignEnum();
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
com.google.protobuf.UnittestLite.ForeignEnumLite getDefaultForeignEnum();
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
boolean hasDefaultImportEnum();
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum();
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
boolean hasDefaultStringPiece();
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
java.lang.String getDefaultStringPiece();
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
com.google.protobuf.ByteString
getDefaultStringPieceBytes();
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
boolean hasDefaultCord();
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
java.lang.String getDefaultCord();
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
com.google.protobuf.ByteString
getDefaultCordBytes();
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
boolean hasOneofUint32();
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
int getOneofUint32();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
boolean hasOneofNestedMessage();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOneofNestedMessage();
/**
* <code>optional string oneof_string = 113;</code>
*/
boolean hasOneofString();
/**
* <code>optional string oneof_string = 113;</code>
*/
java.lang.String getOneofString();
/**
* <code>optional string oneof_string = 113;</code>
*/
com.google.protobuf.ByteString
getOneofStringBytes();
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
boolean hasOneofBytes();
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
com.google.protobuf.ByteString getOneofBytes();
}
/**
* Protobuf type {@code protobuf_unittest.TestAllTypesLite}
*
* <pre>
* Same as TestAllTypes but with the lite runtime.
* </pre>
*/
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Float>();
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<java.lang.Float>();
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<java.lang.Double>();
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<java.lang.Double>();
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<java.lang.Boolean>();
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<java.lang.Boolean>();
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<com.google.protobuf.ByteString>();
mutable_bitField1_ |= 0x00000100;
}
repeatedBytes_.add(input.readBytes());
break;
}
case 371: {
if (!((mutable_bitField1_ & 0x00000200) == 0x00000200)) {
repeatedGroup_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>();
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<com.google.protobuf.UnittestLite.ForeignMessageLite>();
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<com.google.protobuf.UnittestImportLite.ImportMessageLite>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum>();
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<com.google.protobuf.UnittestLite.ForeignEnumLite>();
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<com.google.protobuf.UnittestLite.ForeignEnumLite>();
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<com.google.protobuf.UnittestImportLite.ImportEnumLite>();
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<com.google.protobuf.UnittestImportLite.ImportEnumLite>();
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<com.google.protobuf.LazyFieldLite>();
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<TestAllTypesLite> PARSER =
new com.google.protobuf.AbstractParser<TestAllTypesLite>() {
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<TestAllTypesLite> getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code protobuf_unittest.TestAllTypesLite.NestedEnum}
*/
public enum NestedEnum
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>FOO = 1;</code>
*/
FOO(0, 1),
/**
* <code>BAR = 2;</code>
*/
BAR(1, 2),
/**
* <code>BAZ = 3;</code>
*/
BAZ(2, 3),
;
/**
* <code>FOO = 1;</code>
*/
public static final int FOO_VALUE = 1;
/**
* <code>BAR = 2;</code>
*/
public static final int BAR_VALUE = 2;
/**
* <code>BAZ = 3;</code>
*/
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<NestedEnum>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<NestedEnum>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NestedEnum>() {
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 {
/**
* <code>optional int32 bb = 1;</code>
*/
boolean hasBb();
/**
* <code>optional int32 bb = 1;</code>
*/
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<NestedMessage> PARSER =
new com.google.protobuf.AbstractParser<NestedMessage>() {
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<NestedMessage> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int BB_FIELD_NUMBER = 1;
private int bb_;
/**
* <code>optional int32 bb = 1;</code>
*/
public boolean hasBb() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 bb = 1;</code>
*/
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_ ;
/**
* <code>optional int32 bb = 1;</code>
*/
public boolean hasBb() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 bb = 1;</code>
*/
public int getBb() {
return bb_;
}
/**
* <code>optional int32 bb = 1;</code>
*/
public Builder setBb(int value) {
bitField0_ |= 0x00000001;
bb_ = value;
return this;
}
/**
* <code>optional int32 bb = 1;</code>
*/
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 {
/**
* <code>optional int32 a = 17;</code>
*/
boolean hasA();
/**
* <code>optional int32 a = 17;</code>
*/
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<OptionalGroup> PARSER =
new com.google.protobuf.AbstractParser<OptionalGroup>() {
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<OptionalGroup> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int A_FIELD_NUMBER = 17;
private int a_;
/**
* <code>optional int32 a = 17;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 17;</code>
*/
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_ ;
/**
* <code>optional int32 a = 17;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 17;</code>
*/
public int getA() {
return a_;
}
/**
* <code>optional int32 a = 17;</code>
*/
public Builder setA(int value) {
bitField0_ |= 0x00000001;
a_ = value;
return this;
}
/**
* <code>optional int32 a = 17;</code>
*/
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 {
/**
* <code>optional int32 a = 47;</code>
*/
boolean hasA();
/**
* <code>optional int32 a = 47;</code>
*/
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<RepeatedGroup> PARSER =
new com.google.protobuf.AbstractParser<RepeatedGroup>() {
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<RepeatedGroup> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int A_FIELD_NUMBER = 47;
private int a_;
/**
* <code>optional int32 a = 47;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 47;</code>
*/
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_ ;
/**
* <code>optional int32 a = 47;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 47;</code>
*/
public int getA() {
return a_;
}
/**
* <code>optional int32 a = 47;</code>
*/
public Builder setA(int value) {
bitField0_ |= 0x00000001;
a_ = value;
return this;
}
/**
* <code>optional int32 a = 47;</code>
*/
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_;
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public boolean hasOptionalInt32() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public int getOptionalInt32() {
return optionalInt32_;
}
public static final int OPTIONAL_INT64_FIELD_NUMBER = 2;
private long optionalInt64_;
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public boolean hasOptionalInt64() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public long getOptionalInt64() {
return optionalInt64_;
}
public static final int OPTIONAL_UINT32_FIELD_NUMBER = 3;
private int optionalUint32_;
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public boolean hasOptionalUint32() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public int getOptionalUint32() {
return optionalUint32_;
}
public static final int OPTIONAL_UINT64_FIELD_NUMBER = 4;
private long optionalUint64_;
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public boolean hasOptionalUint64() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public long getOptionalUint64() {
return optionalUint64_;
}
public static final int OPTIONAL_SINT32_FIELD_NUMBER = 5;
private int optionalSint32_;
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public boolean hasOptionalSint32() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public int getOptionalSint32() {
return optionalSint32_;
}
public static final int OPTIONAL_SINT64_FIELD_NUMBER = 6;
private long optionalSint64_;
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public boolean hasOptionalSint64() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public long getOptionalSint64() {
return optionalSint64_;
}
public static final int OPTIONAL_FIXED32_FIELD_NUMBER = 7;
private int optionalFixed32_;
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public boolean hasOptionalFixed32() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public int getOptionalFixed32() {
return optionalFixed32_;
}
public static final int OPTIONAL_FIXED64_FIELD_NUMBER = 8;
private long optionalFixed64_;
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public boolean hasOptionalFixed64() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public long getOptionalFixed64() {
return optionalFixed64_;
}
public static final int OPTIONAL_SFIXED32_FIELD_NUMBER = 9;
private int optionalSfixed32_;
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public boolean hasOptionalSfixed32() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public int getOptionalSfixed32() {
return optionalSfixed32_;
}
public static final int OPTIONAL_SFIXED64_FIELD_NUMBER = 10;
private long optionalSfixed64_;
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public boolean hasOptionalSfixed64() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public long getOptionalSfixed64() {
return optionalSfixed64_;
}
public static final int OPTIONAL_FLOAT_FIELD_NUMBER = 11;
private float optionalFloat_;
/**
* <code>optional float optional_float = 11;</code>
*/
public boolean hasOptionalFloat() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional float optional_float = 11;</code>
*/
public float getOptionalFloat() {
return optionalFloat_;
}
public static final int OPTIONAL_DOUBLE_FIELD_NUMBER = 12;
private double optionalDouble_;
/**
* <code>optional double optional_double = 12;</code>
*/
public boolean hasOptionalDouble() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional double optional_double = 12;</code>
*/
public double getOptionalDouble() {
return optionalDouble_;
}
public static final int OPTIONAL_BOOL_FIELD_NUMBER = 13;
private boolean optionalBool_;
/**
* <code>optional bool optional_bool = 13;</code>
*/
public boolean hasOptionalBool() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional bool optional_bool = 13;</code>
*/
public boolean getOptionalBool() {
return optionalBool_;
}
public static final int OPTIONAL_STRING_FIELD_NUMBER = 14;
private java.lang.Object optionalString_;
/**
* <code>optional string optional_string = 14;</code>
*/
public boolean hasOptionalString() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional string optional_string = 14;</code>
*/
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;
}
}
/**
* <code>optional string optional_string = 14;</code>
*/
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_;
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
public boolean hasOptionalBytes() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
public com.google.protobuf.ByteString getOptionalBytes() {
return optionalBytes_;
}
public static final int OPTIONALGROUP_FIELD_NUMBER = 16;
private com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup optionalGroup_;
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
public boolean hasOptionalGroup() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
public boolean hasOptionalNestedMessage() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
public boolean hasOptionalForeignMessage() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
public boolean hasOptionalImportMessage() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
public boolean hasOptionalNestedEnum() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
public boolean hasOptionalForeignEnum() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public boolean hasOptionalImportEnum() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum() {
return optionalImportEnum_;
}
public static final int OPTIONAL_STRING_PIECE_FIELD_NUMBER = 24;
private java.lang.Object optionalStringPiece_;
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
public boolean hasOptionalStringPiece() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
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_;
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
public boolean hasOptionalCord() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
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_;
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
public boolean hasOptionalPublicImportMessage() {
return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
public boolean hasOptionalLazyMessage() {
return ((bitField0_ & 0x02000000) == 0x02000000);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
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<java.lang.Integer> repeatedInt32_;
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public java.util.List<java.lang.Integer>
getRepeatedInt32List() {
return repeatedInt32_;
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public int getRepeatedInt32Count() {
return repeatedInt32_.size();
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public int getRepeatedInt32(int index) {
return repeatedInt32_.get(index);
}
public static final int REPEATED_INT64_FIELD_NUMBER = 32;
private java.util.List<java.lang.Long> repeatedInt64_;
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedInt64List() {
return repeatedInt64_;
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public int getRepeatedInt64Count() {
return repeatedInt64_.size();
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public long getRepeatedInt64(int index) {
return repeatedInt64_.get(index);
}
public static final int REPEATED_UINT32_FIELD_NUMBER = 33;
private java.util.List<java.lang.Integer> repeatedUint32_;
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedUint32List() {
return repeatedUint32_;
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public int getRepeatedUint32Count() {
return repeatedUint32_.size();
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public int getRepeatedUint32(int index) {
return repeatedUint32_.get(index);
}
public static final int REPEATED_UINT64_FIELD_NUMBER = 34;
private java.util.List<java.lang.Long> repeatedUint64_;
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedUint64List() {
return repeatedUint64_;
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public int getRepeatedUint64Count() {
return repeatedUint64_.size();
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public long getRepeatedUint64(int index) {
return repeatedUint64_.get(index);
}
public static final int REPEATED_SINT32_FIELD_NUMBER = 35;
private java.util.List<java.lang.Integer> repeatedSint32_;
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedSint32List() {
return repeatedSint32_;
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public int getRepeatedSint32Count() {
return repeatedSint32_.size();
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public int getRepeatedSint32(int index) {
return repeatedSint32_.get(index);
}
public static final int REPEATED_SINT64_FIELD_NUMBER = 36;
private java.util.List<java.lang.Long> repeatedSint64_;
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedSint64List() {
return repeatedSint64_;
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public int getRepeatedSint64Count() {
return repeatedSint64_.size();
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public long getRepeatedSint64(int index) {
return repeatedSint64_.get(index);
}
public static final int REPEATED_FIXED32_FIELD_NUMBER = 37;
private java.util.List<java.lang.Integer> repeatedFixed32_;
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedFixed32List() {
return repeatedFixed32_;
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public int getRepeatedFixed32Count() {
return repeatedFixed32_.size();
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public int getRepeatedFixed32(int index) {
return repeatedFixed32_.get(index);
}
public static final int REPEATED_FIXED64_FIELD_NUMBER = 38;
private java.util.List<java.lang.Long> repeatedFixed64_;
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedFixed64List() {
return repeatedFixed64_;
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public int getRepeatedFixed64Count() {
return repeatedFixed64_.size();
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public long getRepeatedFixed64(int index) {
return repeatedFixed64_.get(index);
}
public static final int REPEATED_SFIXED32_FIELD_NUMBER = 39;
private java.util.List<java.lang.Integer> repeatedSfixed32_;
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedSfixed32List() {
return repeatedSfixed32_;
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public int getRepeatedSfixed32Count() {
return repeatedSfixed32_.size();
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public int getRepeatedSfixed32(int index) {
return repeatedSfixed32_.get(index);
}
public static final int REPEATED_SFIXED64_FIELD_NUMBER = 40;
private java.util.List<java.lang.Long> repeatedSfixed64_;
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedSfixed64List() {
return repeatedSfixed64_;
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public int getRepeatedSfixed64Count() {
return repeatedSfixed64_.size();
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public long getRepeatedSfixed64(int index) {
return repeatedSfixed64_.get(index);
}
public static final int REPEATED_FLOAT_FIELD_NUMBER = 41;
private java.util.List<java.lang.Float> repeatedFloat_;
/**
* <code>repeated float repeated_float = 41;</code>
*/
public java.util.List<java.lang.Float>
getRepeatedFloatList() {
return repeatedFloat_;
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public int getRepeatedFloatCount() {
return repeatedFloat_.size();
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public float getRepeatedFloat(int index) {
return repeatedFloat_.get(index);
}
public static final int REPEATED_DOUBLE_FIELD_NUMBER = 42;
private java.util.List<java.lang.Double> repeatedDouble_;
/**
* <code>repeated double repeated_double = 42;</code>
*/
public java.util.List<java.lang.Double>
getRepeatedDoubleList() {
return repeatedDouble_;
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public int getRepeatedDoubleCount() {
return repeatedDouble_.size();
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public double getRepeatedDouble(int index) {
return repeatedDouble_.get(index);
}
public static final int REPEATED_BOOL_FIELD_NUMBER = 43;
private java.util.List<java.lang.Boolean> repeatedBool_;
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public java.util.List<java.lang.Boolean>
getRepeatedBoolList() {
return repeatedBool_;
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public int getRepeatedBoolCount() {
return repeatedBool_.size();
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public boolean getRepeatedBool(int index) {
return repeatedBool_.get(index);
}
public static final int REPEATED_STRING_FIELD_NUMBER = 44;
private com.google.protobuf.LazyStringList repeatedString_;
/**
* <code>repeated string repeated_string = 44;</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedStringList() {
return repeatedString_;
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public int getRepeatedStringCount() {
return repeatedString_.size();
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public java.lang.String getRepeatedString(int index) {
return repeatedString_.get(index);
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
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<com.google.protobuf.ByteString> repeatedBytes_;
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public java.util.List<com.google.protobuf.ByteString>
getRepeatedBytesList() {
return repeatedBytes_;
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public int getRepeatedBytesCount() {
return repeatedBytes_.size();
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public com.google.protobuf.ByteString getRepeatedBytes(int index) {
return repeatedBytes_.get(index);
}
public static final int REPEATEDGROUP_FIELD_NUMBER = 46;
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup> repeatedGroup_;
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup> getRepeatedGroupList() {
return repeatedGroup_;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroupOrBuilder>
getRepeatedGroupOrBuilderList() {
return repeatedGroup_;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public int getRepeatedGroupCount() {
return repeatedGroup_.size();
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index) {
return repeatedGroup_.get(index);
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> repeatedNestedMessage_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> getRepeatedNestedMessageList() {
return repeatedNestedMessage_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder>
getRepeatedNestedMessageOrBuilderList() {
return repeatedNestedMessage_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public int getRepeatedNestedMessageCount() {
return repeatedNestedMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index) {
return repeatedNestedMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
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<com.google.protobuf.UnittestLite.ForeignMessageLite> repeatedForeignMessage_;
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignMessageLite> getRepeatedForeignMessageList() {
return repeatedForeignMessage_;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.ForeignMessageLiteOrBuilder>
getRepeatedForeignMessageOrBuilderList() {
return repeatedForeignMessage_;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public int getRepeatedForeignMessageCount() {
return repeatedForeignMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index) {
return repeatedForeignMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
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<com.google.protobuf.UnittestImportLite.ImportMessageLite> repeatedImportMessage_;
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public java.util.List<com.google.protobuf.UnittestImportLite.ImportMessageLite> getRepeatedImportMessageList() {
return repeatedImportMessage_;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestImportLite.ImportMessageLiteOrBuilder>
getRepeatedImportMessageOrBuilderList() {
return repeatedImportMessage_;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public int getRepeatedImportMessageCount() {
return repeatedImportMessage_.size();
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index) {
return repeatedImportMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> repeatedNestedEnum_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> getRepeatedNestedEnumList() {
return repeatedNestedEnum_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public int getRepeatedNestedEnumCount() {
return repeatedNestedEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
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<com.google.protobuf.UnittestLite.ForeignEnumLite> repeatedForeignEnum_;
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getRepeatedForeignEnumList() {
return repeatedForeignEnum_;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public int getRepeatedForeignEnumCount() {
return repeatedForeignEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
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<com.google.protobuf.UnittestImportLite.ImportEnumLite> repeatedImportEnum_;
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public java.util.List<com.google.protobuf.UnittestImportLite.ImportEnumLite> getRepeatedImportEnumList() {
return repeatedImportEnum_;
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public int getRepeatedImportEnumCount() {
return repeatedImportEnum_.size();
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
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_;
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedStringPieceList() {
return repeatedStringPiece_;
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public int getRepeatedStringPieceCount() {
return repeatedStringPiece_.size();
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public java.lang.String getRepeatedStringPiece(int index) {
return repeatedStringPiece_.get(index);
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
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_;
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedCordList() {
return repeatedCord_;
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public int getRepeatedCordCount() {
return repeatedCord_.size();
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public java.lang.String getRepeatedCord(int index) {
return repeatedCord_.get(index);
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
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<com.google.protobuf.LazyFieldLite> repeatedLazyMessage_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>
getRepeatedLazyMessageList() {
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> list =
new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>(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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessageOrBuilder>
getRepeatedLazyMessageOrBuilderList() {
return getRepeatedLazyMessageList();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public int getRepeatedLazyMessageCount() {
return repeatedLazyMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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());
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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_;
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public boolean hasDefaultInt32() {
return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public int getDefaultInt32() {
return defaultInt32_;
}
public static final int DEFAULT_INT64_FIELD_NUMBER = 62;
private long defaultInt64_;
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public boolean hasDefaultInt64() {
return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public long getDefaultInt64() {
return defaultInt64_;
}
public static final int DEFAULT_UINT32_FIELD_NUMBER = 63;
private int defaultUint32_;
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public boolean hasDefaultUint32() {
return ((bitField0_ & 0x10000000) == 0x10000000);
}
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public int getDefaultUint32() {
return defaultUint32_;
}
public static final int DEFAULT_UINT64_FIELD_NUMBER = 64;
private long defaultUint64_;
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public boolean hasDefaultUint64() {
return ((bitField0_ & 0x20000000) == 0x20000000);
}
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public long getDefaultUint64() {
return defaultUint64_;
}
public static final int DEFAULT_SINT32_FIELD_NUMBER = 65;
private int defaultSint32_;
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public boolean hasDefaultSint32() {
return ((bitField0_ & 0x40000000) == 0x40000000);
}
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public int getDefaultSint32() {
return defaultSint32_;
}
public static final int DEFAULT_SINT64_FIELD_NUMBER = 66;
private long defaultSint64_;
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public boolean hasDefaultSint64() {
return ((bitField0_ & 0x80000000) == 0x80000000);
}
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public long getDefaultSint64() {
return defaultSint64_;
}
public static final int DEFAULT_FIXED32_FIELD_NUMBER = 67;
private int defaultFixed32_;
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public boolean hasDefaultFixed32() {
return ((bitField1_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public int getDefaultFixed32() {
return defaultFixed32_;
}
public static final int DEFAULT_FIXED64_FIELD_NUMBER = 68;
private long defaultFixed64_;
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public boolean hasDefaultFixed64() {
return ((bitField1_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public long getDefaultFixed64() {
return defaultFixed64_;
}
public static final int DEFAULT_SFIXED32_FIELD_NUMBER = 69;
private int defaultSfixed32_;
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public boolean hasDefaultSfixed32() {
return ((bitField1_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public int getDefaultSfixed32() {
return defaultSfixed32_;
}
public static final int DEFAULT_SFIXED64_FIELD_NUMBER = 70;
private long defaultSfixed64_;
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public boolean hasDefaultSfixed64() {
return ((bitField1_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public long getDefaultSfixed64() {
return defaultSfixed64_;
}
public static final int DEFAULT_FLOAT_FIELD_NUMBER = 71;
private float defaultFloat_;
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public boolean hasDefaultFloat() {
return ((bitField1_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public float getDefaultFloat() {
return defaultFloat_;
}
public static final int DEFAULT_DOUBLE_FIELD_NUMBER = 72;
private double defaultDouble_;
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public boolean hasDefaultDouble() {
return ((bitField1_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public double getDefaultDouble() {
return defaultDouble_;
}
public static final int DEFAULT_BOOL_FIELD_NUMBER = 73;
private boolean defaultBool_;
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public boolean hasDefaultBool() {
return ((bitField1_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public boolean getDefaultBool() {
return defaultBool_;
}
public static final int DEFAULT_STRING_FIELD_NUMBER = 74;
private java.lang.Object defaultString_;
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
public boolean hasDefaultString() {
return ((bitField1_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
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;
}
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
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_;
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
public boolean hasDefaultBytes() {
return ((bitField1_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
public boolean hasDefaultNestedEnum() {
return ((bitField1_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
public boolean hasDefaultForeignEnum() {
return ((bitField1_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
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_;
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public boolean hasDefaultImportEnum() {
return ((bitField1_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum() {
return defaultImportEnum_;
}
public static final int DEFAULT_STRING_PIECE_FIELD_NUMBER = 84;
private java.lang.Object defaultStringPiece_;
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
public boolean hasDefaultStringPiece() {
return ((bitField1_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
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_;
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
public boolean hasDefaultCord() {
return ((bitField1_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
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;
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public boolean hasOneofUint32() {
return oneofFieldCase_ == 111;
}
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public int getOneofUint32() {
if (oneofFieldCase_ == 111) {
return (java.lang.Integer) oneofField_;
}
return 0;
}
public static final int ONEOF_NESTED_MESSAGE_FIELD_NUMBER = 112;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
public boolean hasOneofNestedMessage() {
return oneofFieldCase_ == 112;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
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;
/**
* <code>optional string oneof_string = 113;</code>
*/
public boolean hasOneofString() {
return oneofFieldCase_ == 113;
}
/**
* <code>optional string oneof_string = 113;</code>
*/
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;
}
}
/**
* <code>optional string oneof_string = 113;</code>
*/
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;
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
public boolean hasOneofBytes() {
return oneofFieldCase_ == 114;
}
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
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}
*
* <pre>
* Same as TestAllTypes but with the lite runtime.
* </pre>
*/
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_ ;
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public boolean hasOptionalInt32() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public int getOptionalInt32() {
return optionalInt32_;
}
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public Builder setOptionalInt32(int value) {
bitField0_ |= 0x00000001;
optionalInt32_ = value;
return this;
}
/**
* <code>optional int32 optional_int32 = 1;</code>
*
* <pre>
* Singular
* </pre>
*/
public Builder clearOptionalInt32() {
bitField0_ = (bitField0_ & ~0x00000001);
optionalInt32_ = 0;
return this;
}
private long optionalInt64_ ;
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public boolean hasOptionalInt64() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public long getOptionalInt64() {
return optionalInt64_;
}
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public Builder setOptionalInt64(long value) {
bitField0_ |= 0x00000002;
optionalInt64_ = value;
return this;
}
/**
* <code>optional int64 optional_int64 = 2;</code>
*/
public Builder clearOptionalInt64() {
bitField0_ = (bitField0_ & ~0x00000002);
optionalInt64_ = 0L;
return this;
}
private int optionalUint32_ ;
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public boolean hasOptionalUint32() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public int getOptionalUint32() {
return optionalUint32_;
}
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public Builder setOptionalUint32(int value) {
bitField0_ |= 0x00000004;
optionalUint32_ = value;
return this;
}
/**
* <code>optional uint32 optional_uint32 = 3;</code>
*/
public Builder clearOptionalUint32() {
bitField0_ = (bitField0_ & ~0x00000004);
optionalUint32_ = 0;
return this;
}
private long optionalUint64_ ;
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public boolean hasOptionalUint64() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public long getOptionalUint64() {
return optionalUint64_;
}
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public Builder setOptionalUint64(long value) {
bitField0_ |= 0x00000008;
optionalUint64_ = value;
return this;
}
/**
* <code>optional uint64 optional_uint64 = 4;</code>
*/
public Builder clearOptionalUint64() {
bitField0_ = (bitField0_ & ~0x00000008);
optionalUint64_ = 0L;
return this;
}
private int optionalSint32_ ;
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public boolean hasOptionalSint32() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public int getOptionalSint32() {
return optionalSint32_;
}
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public Builder setOptionalSint32(int value) {
bitField0_ |= 0x00000010;
optionalSint32_ = value;
return this;
}
/**
* <code>optional sint32 optional_sint32 = 5;</code>
*/
public Builder clearOptionalSint32() {
bitField0_ = (bitField0_ & ~0x00000010);
optionalSint32_ = 0;
return this;
}
private long optionalSint64_ ;
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public boolean hasOptionalSint64() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public long getOptionalSint64() {
return optionalSint64_;
}
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public Builder setOptionalSint64(long value) {
bitField0_ |= 0x00000020;
optionalSint64_ = value;
return this;
}
/**
* <code>optional sint64 optional_sint64 = 6;</code>
*/
public Builder clearOptionalSint64() {
bitField0_ = (bitField0_ & ~0x00000020);
optionalSint64_ = 0L;
return this;
}
private int optionalFixed32_ ;
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public boolean hasOptionalFixed32() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public int getOptionalFixed32() {
return optionalFixed32_;
}
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public Builder setOptionalFixed32(int value) {
bitField0_ |= 0x00000040;
optionalFixed32_ = value;
return this;
}
/**
* <code>optional fixed32 optional_fixed32 = 7;</code>
*/
public Builder clearOptionalFixed32() {
bitField0_ = (bitField0_ & ~0x00000040);
optionalFixed32_ = 0;
return this;
}
private long optionalFixed64_ ;
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public boolean hasOptionalFixed64() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public long getOptionalFixed64() {
return optionalFixed64_;
}
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public Builder setOptionalFixed64(long value) {
bitField0_ |= 0x00000080;
optionalFixed64_ = value;
return this;
}
/**
* <code>optional fixed64 optional_fixed64 = 8;</code>
*/
public Builder clearOptionalFixed64() {
bitField0_ = (bitField0_ & ~0x00000080);
optionalFixed64_ = 0L;
return this;
}
private int optionalSfixed32_ ;
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public boolean hasOptionalSfixed32() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public int getOptionalSfixed32() {
return optionalSfixed32_;
}
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public Builder setOptionalSfixed32(int value) {
bitField0_ |= 0x00000100;
optionalSfixed32_ = value;
return this;
}
/**
* <code>optional sfixed32 optional_sfixed32 = 9;</code>
*/
public Builder clearOptionalSfixed32() {
bitField0_ = (bitField0_ & ~0x00000100);
optionalSfixed32_ = 0;
return this;
}
private long optionalSfixed64_ ;
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public boolean hasOptionalSfixed64() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public long getOptionalSfixed64() {
return optionalSfixed64_;
}
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public Builder setOptionalSfixed64(long value) {
bitField0_ |= 0x00000200;
optionalSfixed64_ = value;
return this;
}
/**
* <code>optional sfixed64 optional_sfixed64 = 10;</code>
*/
public Builder clearOptionalSfixed64() {
bitField0_ = (bitField0_ & ~0x00000200);
optionalSfixed64_ = 0L;
return this;
}
private float optionalFloat_ ;
/**
* <code>optional float optional_float = 11;</code>
*/
public boolean hasOptionalFloat() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional float optional_float = 11;</code>
*/
public float getOptionalFloat() {
return optionalFloat_;
}
/**
* <code>optional float optional_float = 11;</code>
*/
public Builder setOptionalFloat(float value) {
bitField0_ |= 0x00000400;
optionalFloat_ = value;
return this;
}
/**
* <code>optional float optional_float = 11;</code>
*/
public Builder clearOptionalFloat() {
bitField0_ = (bitField0_ & ~0x00000400);
optionalFloat_ = 0F;
return this;
}
private double optionalDouble_ ;
/**
* <code>optional double optional_double = 12;</code>
*/
public boolean hasOptionalDouble() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional double optional_double = 12;</code>
*/
public double getOptionalDouble() {
return optionalDouble_;
}
/**
* <code>optional double optional_double = 12;</code>
*/
public Builder setOptionalDouble(double value) {
bitField0_ |= 0x00000800;
optionalDouble_ = value;
return this;
}
/**
* <code>optional double optional_double = 12;</code>
*/
public Builder clearOptionalDouble() {
bitField0_ = (bitField0_ & ~0x00000800);
optionalDouble_ = 0D;
return this;
}
private boolean optionalBool_ ;
/**
* <code>optional bool optional_bool = 13;</code>
*/
public boolean hasOptionalBool() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional bool optional_bool = 13;</code>
*/
public boolean getOptionalBool() {
return optionalBool_;
}
/**
* <code>optional bool optional_bool = 13;</code>
*/
public Builder setOptionalBool(boolean value) {
bitField0_ |= 0x00001000;
optionalBool_ = value;
return this;
}
/**
* <code>optional bool optional_bool = 13;</code>
*/
public Builder clearOptionalBool() {
bitField0_ = (bitField0_ & ~0x00001000);
optionalBool_ = false;
return this;
}
private java.lang.Object optionalString_ = "";
/**
* <code>optional string optional_string = 14;</code>
*/
public boolean hasOptionalString() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional string optional_string = 14;</code>
*/
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;
}
}
/**
* <code>optional string optional_string = 14;</code>
*/
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;
}
}
/**
* <code>optional string optional_string = 14;</code>
*/
public Builder setOptionalString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
optionalString_ = value;
return this;
}
/**
* <code>optional string optional_string = 14;</code>
*/
public Builder clearOptionalString() {
bitField0_ = (bitField0_ & ~0x00002000);
optionalString_ = getDefaultInstance().getOptionalString();
return this;
}
/**
* <code>optional string optional_string = 14;</code>
*/
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;
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
public boolean hasOptionalBytes() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
public com.google.protobuf.ByteString getOptionalBytes() {
return optionalBytes_;
}
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
public Builder setOptionalBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
optionalBytes_ = value;
return this;
}
/**
* <code>optional bytes optional_bytes = 15;</code>
*/
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();
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
public boolean hasOptionalGroup() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup getOptionalGroup() {
return optionalGroup_;
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
public Builder setOptionalGroup(com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup value) {
if (value == null) {
throw new NullPointerException();
}
optionalGroup_ = value;
bitField0_ |= 0x00008000;
return this;
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
public Builder setOptionalGroup(
com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup.Builder builderForValue) {
optionalGroup_ = builderForValue.build();
bitField0_ |= 0x00008000;
return this;
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
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;
}
/**
* <code>optional group OptionalGroup = 16 { ... }</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
public boolean hasOptionalNestedMessage() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getOptionalNestedMessage() {
return optionalNestedMessage_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
public Builder setOptionalNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) {
if (value == null) {
throw new NullPointerException();
}
optionalNestedMessage_ = value;
bitField0_ |= 0x00010000;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
public Builder setOptionalNestedMessage(
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
optionalNestedMessage_ = builderForValue.build();
bitField0_ |= 0x00010000;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_nested_message = 18;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
public boolean hasOptionalForeignMessage() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
public com.google.protobuf.UnittestLite.ForeignMessageLite getOptionalForeignMessage() {
return optionalForeignMessage_;
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
public Builder setOptionalForeignMessage(com.google.protobuf.UnittestLite.ForeignMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
optionalForeignMessage_ = value;
bitField0_ |= 0x00020000;
return this;
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
public Builder setOptionalForeignMessage(
com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) {
optionalForeignMessage_ = builderForValue.build();
bitField0_ |= 0x00020000;
return this;
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.ForeignMessageLite optional_foreign_message = 19;</code>
*/
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();
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
public boolean hasOptionalImportMessage() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportMessageLite getOptionalImportMessage() {
return optionalImportMessage_;
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
public Builder setOptionalImportMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
optionalImportMessage_ = value;
bitField0_ |= 0x00040000;
return this;
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
public Builder setOptionalImportMessage(
com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) {
optionalImportMessage_ = builderForValue.build();
bitField0_ |= 0x00040000;
return this;
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest_import.ImportMessageLite optional_import_message = 20;</code>
*/
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;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
public boolean hasOptionalNestedEnum() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getOptionalNestedEnum() {
return optionalNestedEnum_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
public Builder setOptionalNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
optionalNestedEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum optional_nested_enum = 21;</code>
*/
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;
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
public boolean hasOptionalForeignEnum() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
public com.google.protobuf.UnittestLite.ForeignEnumLite getOptionalForeignEnum() {
return optionalForeignEnum_;
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
public Builder setOptionalForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
optionalForeignEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite optional_foreign_enum = 22;</code>
*/
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;
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public boolean hasOptionalImportEnum() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportEnumLite getOptionalImportEnum() {
return optionalImportEnum_;
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public Builder setOptionalImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
optionalImportEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite optional_import_enum = 23;</code>
*/
public Builder clearOptionalImportEnum() {
bitField0_ = (bitField0_ & ~0x00200000);
optionalImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_FOO;
return this;
}
private java.lang.Object optionalStringPiece_ = "";
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
public boolean hasOptionalStringPiece() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
public Builder setOptionalStringPiece(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00400000;
optionalStringPiece_ = value;
return this;
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
public Builder clearOptionalStringPiece() {
bitField0_ = (bitField0_ & ~0x00400000);
optionalStringPiece_ = getDefaultInstance().getOptionalStringPiece();
return this;
}
/**
* <code>optional string optional_string_piece = 24 [ctype = STRING_PIECE];</code>
*/
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_ = "";
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
public boolean hasOptionalCord() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
public Builder setOptionalCord(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00800000;
optionalCord_ = value;
return this;
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
public Builder clearOptionalCord() {
bitField0_ = (bitField0_ & ~0x00800000);
optionalCord_ = getDefaultInstance().getOptionalCord();
return this;
}
/**
* <code>optional string optional_cord = 25 [ctype = CORD];</code>
*/
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();
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
public boolean hasOptionalPublicImportMessage() {
return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
public com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite getOptionalPublicImportMessage() {
return optionalPublicImportMessage_;
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
public Builder setOptionalPublicImportMessage(com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
optionalPublicImportMessage_ = value;
bitField0_ |= 0x01000000;
return this;
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
public Builder setOptionalPublicImportMessage(
com.google.protobuf.UnittestImportPublicLite.PublicImportMessageLite.Builder builderForValue) {
optionalPublicImportMessage_ = builderForValue.build();
bitField0_ |= 0x01000000;
return this;
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
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;
}
/**
* <code>optional .protobuf_unittest_import.PublicImportMessageLite optional_public_import_message = 26;</code>
*
* <pre>
* Defined in unittest_import_public.proto
* </pre>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
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());
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
public Builder setOptionalLazyMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) {
if (value == null) {
throw new NullPointerException();
}
optionalLazyMessage_.setValue(value);
bitField0_ |= 0x02000000;;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
public Builder setOptionalLazyMessage(
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
optionalLazyMessage_.setValue(builderForValue.build());
bitField0_ |= 0x02000000;;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage optional_lazy_message = 27 [lazy = true];</code>
*/
public Builder clearOptionalLazyMessage() {
optionalLazyMessage_.clear();
bitField0_ = (bitField0_ & ~0x02000000);;
return this;
}
private java.util.List<java.lang.Integer> repeatedInt32_ = java.util.Collections.emptyList();
private void ensureRepeatedInt32IsMutable() {
if (!((bitField0_ & 0x04000000) == 0x04000000)) {
repeatedInt32_ = new java.util.ArrayList<java.lang.Integer>(repeatedInt32_);
bitField0_ |= 0x04000000;
}
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public java.util.List<java.lang.Integer>
getRepeatedInt32List() {
return java.util.Collections.unmodifiableList(repeatedInt32_);
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public int getRepeatedInt32Count() {
return repeatedInt32_.size();
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public int getRepeatedInt32(int index) {
return repeatedInt32_.get(index);
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public Builder setRepeatedInt32(
int index, int value) {
ensureRepeatedInt32IsMutable();
repeatedInt32_.set(index, value);
return this;
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public Builder addRepeatedInt32(int value) {
ensureRepeatedInt32IsMutable();
repeatedInt32_.add(value);
return this;
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public Builder addAllRepeatedInt32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRepeatedInt32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedInt32_);
return this;
}
/**
* <code>repeated int32 repeated_int32 = 31;</code>
*
* <pre>
* Repeated
* </pre>
*/
public Builder clearRepeatedInt32() {
repeatedInt32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x04000000);
return this;
}
private java.util.List<java.lang.Long> repeatedInt64_ = java.util.Collections.emptyList();
private void ensureRepeatedInt64IsMutable() {
if (!((bitField0_ & 0x08000000) == 0x08000000)) {
repeatedInt64_ = new java.util.ArrayList<java.lang.Long>(repeatedInt64_);
bitField0_ |= 0x08000000;
}
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedInt64List() {
return java.util.Collections.unmodifiableList(repeatedInt64_);
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public int getRepeatedInt64Count() {
return repeatedInt64_.size();
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public long getRepeatedInt64(int index) {
return repeatedInt64_.get(index);
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public Builder setRepeatedInt64(
int index, long value) {
ensureRepeatedInt64IsMutable();
repeatedInt64_.set(index, value);
return this;
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public Builder addRepeatedInt64(long value) {
ensureRepeatedInt64IsMutable();
repeatedInt64_.add(value);
return this;
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public Builder addAllRepeatedInt64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureRepeatedInt64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedInt64_);
return this;
}
/**
* <code>repeated int64 repeated_int64 = 32;</code>
*/
public Builder clearRepeatedInt64() {
repeatedInt64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x08000000);
return this;
}
private java.util.List<java.lang.Integer> repeatedUint32_ = java.util.Collections.emptyList();
private void ensureRepeatedUint32IsMutable() {
if (!((bitField0_ & 0x10000000) == 0x10000000)) {
repeatedUint32_ = new java.util.ArrayList<java.lang.Integer>(repeatedUint32_);
bitField0_ |= 0x10000000;
}
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedUint32List() {
return java.util.Collections.unmodifiableList(repeatedUint32_);
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public int getRepeatedUint32Count() {
return repeatedUint32_.size();
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public int getRepeatedUint32(int index) {
return repeatedUint32_.get(index);
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public Builder setRepeatedUint32(
int index, int value) {
ensureRepeatedUint32IsMutable();
repeatedUint32_.set(index, value);
return this;
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public Builder addRepeatedUint32(int value) {
ensureRepeatedUint32IsMutable();
repeatedUint32_.add(value);
return this;
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public Builder addAllRepeatedUint32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRepeatedUint32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedUint32_);
return this;
}
/**
* <code>repeated uint32 repeated_uint32 = 33;</code>
*/
public Builder clearRepeatedUint32() {
repeatedUint32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x10000000);
return this;
}
private java.util.List<java.lang.Long> repeatedUint64_ = java.util.Collections.emptyList();
private void ensureRepeatedUint64IsMutable() {
if (!((bitField0_ & 0x20000000) == 0x20000000)) {
repeatedUint64_ = new java.util.ArrayList<java.lang.Long>(repeatedUint64_);
bitField0_ |= 0x20000000;
}
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedUint64List() {
return java.util.Collections.unmodifiableList(repeatedUint64_);
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public int getRepeatedUint64Count() {
return repeatedUint64_.size();
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public long getRepeatedUint64(int index) {
return repeatedUint64_.get(index);
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public Builder setRepeatedUint64(
int index, long value) {
ensureRepeatedUint64IsMutable();
repeatedUint64_.set(index, value);
return this;
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public Builder addRepeatedUint64(long value) {
ensureRepeatedUint64IsMutable();
repeatedUint64_.add(value);
return this;
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public Builder addAllRepeatedUint64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureRepeatedUint64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedUint64_);
return this;
}
/**
* <code>repeated uint64 repeated_uint64 = 34;</code>
*/
public Builder clearRepeatedUint64() {
repeatedUint64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x20000000);
return this;
}
private java.util.List<java.lang.Integer> repeatedSint32_ = java.util.Collections.emptyList();
private void ensureRepeatedSint32IsMutable() {
if (!((bitField0_ & 0x40000000) == 0x40000000)) {
repeatedSint32_ = new java.util.ArrayList<java.lang.Integer>(repeatedSint32_);
bitField0_ |= 0x40000000;
}
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedSint32List() {
return java.util.Collections.unmodifiableList(repeatedSint32_);
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public int getRepeatedSint32Count() {
return repeatedSint32_.size();
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public int getRepeatedSint32(int index) {
return repeatedSint32_.get(index);
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public Builder setRepeatedSint32(
int index, int value) {
ensureRepeatedSint32IsMutable();
repeatedSint32_.set(index, value);
return this;
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public Builder addRepeatedSint32(int value) {
ensureRepeatedSint32IsMutable();
repeatedSint32_.add(value);
return this;
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public Builder addAllRepeatedSint32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRepeatedSint32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedSint32_);
return this;
}
/**
* <code>repeated sint32 repeated_sint32 = 35;</code>
*/
public Builder clearRepeatedSint32() {
repeatedSint32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x40000000);
return this;
}
private java.util.List<java.lang.Long> repeatedSint64_ = java.util.Collections.emptyList();
private void ensureRepeatedSint64IsMutable() {
if (!((bitField0_ & 0x80000000) == 0x80000000)) {
repeatedSint64_ = new java.util.ArrayList<java.lang.Long>(repeatedSint64_);
bitField0_ |= 0x80000000;
}
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedSint64List() {
return java.util.Collections.unmodifiableList(repeatedSint64_);
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public int getRepeatedSint64Count() {
return repeatedSint64_.size();
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public long getRepeatedSint64(int index) {
return repeatedSint64_.get(index);
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public Builder setRepeatedSint64(
int index, long value) {
ensureRepeatedSint64IsMutable();
repeatedSint64_.set(index, value);
return this;
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public Builder addRepeatedSint64(long value) {
ensureRepeatedSint64IsMutable();
repeatedSint64_.add(value);
return this;
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public Builder addAllRepeatedSint64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureRepeatedSint64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedSint64_);
return this;
}
/**
* <code>repeated sint64 repeated_sint64 = 36;</code>
*/
public Builder clearRepeatedSint64() {
repeatedSint64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x80000000);
return this;
}
private java.util.List<java.lang.Integer> repeatedFixed32_ = java.util.Collections.emptyList();
private void ensureRepeatedFixed32IsMutable() {
if (!((bitField1_ & 0x00000001) == 0x00000001)) {
repeatedFixed32_ = new java.util.ArrayList<java.lang.Integer>(repeatedFixed32_);
bitField1_ |= 0x00000001;
}
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedFixed32List() {
return java.util.Collections.unmodifiableList(repeatedFixed32_);
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public int getRepeatedFixed32Count() {
return repeatedFixed32_.size();
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public int getRepeatedFixed32(int index) {
return repeatedFixed32_.get(index);
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public Builder setRepeatedFixed32(
int index, int value) {
ensureRepeatedFixed32IsMutable();
repeatedFixed32_.set(index, value);
return this;
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public Builder addRepeatedFixed32(int value) {
ensureRepeatedFixed32IsMutable();
repeatedFixed32_.add(value);
return this;
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public Builder addAllRepeatedFixed32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRepeatedFixed32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedFixed32_);
return this;
}
/**
* <code>repeated fixed32 repeated_fixed32 = 37;</code>
*/
public Builder clearRepeatedFixed32() {
repeatedFixed32_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000001);
return this;
}
private java.util.List<java.lang.Long> repeatedFixed64_ = java.util.Collections.emptyList();
private void ensureRepeatedFixed64IsMutable() {
if (!((bitField1_ & 0x00000002) == 0x00000002)) {
repeatedFixed64_ = new java.util.ArrayList<java.lang.Long>(repeatedFixed64_);
bitField1_ |= 0x00000002;
}
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedFixed64List() {
return java.util.Collections.unmodifiableList(repeatedFixed64_);
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public int getRepeatedFixed64Count() {
return repeatedFixed64_.size();
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public long getRepeatedFixed64(int index) {
return repeatedFixed64_.get(index);
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public Builder setRepeatedFixed64(
int index, long value) {
ensureRepeatedFixed64IsMutable();
repeatedFixed64_.set(index, value);
return this;
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public Builder addRepeatedFixed64(long value) {
ensureRepeatedFixed64IsMutable();
repeatedFixed64_.add(value);
return this;
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public Builder addAllRepeatedFixed64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureRepeatedFixed64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedFixed64_);
return this;
}
/**
* <code>repeated fixed64 repeated_fixed64 = 38;</code>
*/
public Builder clearRepeatedFixed64() {
repeatedFixed64_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000002);
return this;
}
private java.util.List<java.lang.Integer> repeatedSfixed32_ = java.util.Collections.emptyList();
private void ensureRepeatedSfixed32IsMutable() {
if (!((bitField1_ & 0x00000004) == 0x00000004)) {
repeatedSfixed32_ = new java.util.ArrayList<java.lang.Integer>(repeatedSfixed32_);
bitField1_ |= 0x00000004;
}
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public java.util.List<java.lang.Integer>
getRepeatedSfixed32List() {
return java.util.Collections.unmodifiableList(repeatedSfixed32_);
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public int getRepeatedSfixed32Count() {
return repeatedSfixed32_.size();
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public int getRepeatedSfixed32(int index) {
return repeatedSfixed32_.get(index);
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public Builder setRepeatedSfixed32(
int index, int value) {
ensureRepeatedSfixed32IsMutable();
repeatedSfixed32_.set(index, value);
return this;
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public Builder addRepeatedSfixed32(int value) {
ensureRepeatedSfixed32IsMutable();
repeatedSfixed32_.add(value);
return this;
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public Builder addAllRepeatedSfixed32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRepeatedSfixed32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedSfixed32_);
return this;
}
/**
* <code>repeated sfixed32 repeated_sfixed32 = 39;</code>
*/
public Builder clearRepeatedSfixed32() {
repeatedSfixed32_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000004);
return this;
}
private java.util.List<java.lang.Long> repeatedSfixed64_ = java.util.Collections.emptyList();
private void ensureRepeatedSfixed64IsMutable() {
if (!((bitField1_ & 0x00000008) == 0x00000008)) {
repeatedSfixed64_ = new java.util.ArrayList<java.lang.Long>(repeatedSfixed64_);
bitField1_ |= 0x00000008;
}
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public java.util.List<java.lang.Long>
getRepeatedSfixed64List() {
return java.util.Collections.unmodifiableList(repeatedSfixed64_);
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public int getRepeatedSfixed64Count() {
return repeatedSfixed64_.size();
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public long getRepeatedSfixed64(int index) {
return repeatedSfixed64_.get(index);
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public Builder setRepeatedSfixed64(
int index, long value) {
ensureRepeatedSfixed64IsMutable();
repeatedSfixed64_.set(index, value);
return this;
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public Builder addRepeatedSfixed64(long value) {
ensureRepeatedSfixed64IsMutable();
repeatedSfixed64_.add(value);
return this;
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public Builder addAllRepeatedSfixed64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureRepeatedSfixed64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedSfixed64_);
return this;
}
/**
* <code>repeated sfixed64 repeated_sfixed64 = 40;</code>
*/
public Builder clearRepeatedSfixed64() {
repeatedSfixed64_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000008);
return this;
}
private java.util.List<java.lang.Float> repeatedFloat_ = java.util.Collections.emptyList();
private void ensureRepeatedFloatIsMutable() {
if (!((bitField1_ & 0x00000010) == 0x00000010)) {
repeatedFloat_ = new java.util.ArrayList<java.lang.Float>(repeatedFloat_);
bitField1_ |= 0x00000010;
}
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public java.util.List<java.lang.Float>
getRepeatedFloatList() {
return java.util.Collections.unmodifiableList(repeatedFloat_);
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public int getRepeatedFloatCount() {
return repeatedFloat_.size();
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public float getRepeatedFloat(int index) {
return repeatedFloat_.get(index);
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public Builder setRepeatedFloat(
int index, float value) {
ensureRepeatedFloatIsMutable();
repeatedFloat_.set(index, value);
return this;
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public Builder addRepeatedFloat(float value) {
ensureRepeatedFloatIsMutable();
repeatedFloat_.add(value);
return this;
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public Builder addAllRepeatedFloat(
java.lang.Iterable<? extends java.lang.Float> values) {
ensureRepeatedFloatIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedFloat_);
return this;
}
/**
* <code>repeated float repeated_float = 41;</code>
*/
public Builder clearRepeatedFloat() {
repeatedFloat_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000010);
return this;
}
private java.util.List<java.lang.Double> repeatedDouble_ = java.util.Collections.emptyList();
private void ensureRepeatedDoubleIsMutable() {
if (!((bitField1_ & 0x00000020) == 0x00000020)) {
repeatedDouble_ = new java.util.ArrayList<java.lang.Double>(repeatedDouble_);
bitField1_ |= 0x00000020;
}
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public java.util.List<java.lang.Double>
getRepeatedDoubleList() {
return java.util.Collections.unmodifiableList(repeatedDouble_);
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public int getRepeatedDoubleCount() {
return repeatedDouble_.size();
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public double getRepeatedDouble(int index) {
return repeatedDouble_.get(index);
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public Builder setRepeatedDouble(
int index, double value) {
ensureRepeatedDoubleIsMutable();
repeatedDouble_.set(index, value);
return this;
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public Builder addRepeatedDouble(double value) {
ensureRepeatedDoubleIsMutable();
repeatedDouble_.add(value);
return this;
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public Builder addAllRepeatedDouble(
java.lang.Iterable<? extends java.lang.Double> values) {
ensureRepeatedDoubleIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedDouble_);
return this;
}
/**
* <code>repeated double repeated_double = 42;</code>
*/
public Builder clearRepeatedDouble() {
repeatedDouble_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000020);
return this;
}
private java.util.List<java.lang.Boolean> repeatedBool_ = java.util.Collections.emptyList();
private void ensureRepeatedBoolIsMutable() {
if (!((bitField1_ & 0x00000040) == 0x00000040)) {
repeatedBool_ = new java.util.ArrayList<java.lang.Boolean>(repeatedBool_);
bitField1_ |= 0x00000040;
}
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public java.util.List<java.lang.Boolean>
getRepeatedBoolList() {
return java.util.Collections.unmodifiableList(repeatedBool_);
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public int getRepeatedBoolCount() {
return repeatedBool_.size();
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public boolean getRepeatedBool(int index) {
return repeatedBool_.get(index);
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public Builder setRepeatedBool(
int index, boolean value) {
ensureRepeatedBoolIsMutable();
repeatedBool_.set(index, value);
return this;
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public Builder addRepeatedBool(boolean value) {
ensureRepeatedBoolIsMutable();
repeatedBool_.add(value);
return this;
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
public Builder addAllRepeatedBool(
java.lang.Iterable<? extends java.lang.Boolean> values) {
ensureRepeatedBoolIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedBool_);
return this;
}
/**
* <code>repeated bool repeated_bool = 43;</code>
*/
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;
}
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedStringList() {
return repeatedString_.getUnmodifiableView();
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public int getRepeatedStringCount() {
return repeatedString_.size();
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public java.lang.String getRepeatedString(int index) {
return repeatedString_.get(index);
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public com.google.protobuf.ByteString
getRepeatedStringBytes(int index) {
return repeatedString_.getByteString(index);
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public Builder setRepeatedString(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedStringIsMutable();
repeatedString_.set(index, value);
return this;
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public Builder addRepeatedString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedStringIsMutable();
repeatedString_.add(value);
return this;
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public Builder addAllRepeatedString(
java.lang.Iterable<java.lang.String> values) {
ensureRepeatedStringIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedString_);
return this;
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public Builder clearRepeatedString() {
repeatedString_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField1_ = (bitField1_ & ~0x00000080);
return this;
}
/**
* <code>repeated string repeated_string = 44;</code>
*/
public Builder addRepeatedStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedStringIsMutable();
repeatedString_.add(value);
return this;
}
private java.util.List<com.google.protobuf.ByteString> repeatedBytes_ = java.util.Collections.emptyList();
private void ensureRepeatedBytesIsMutable() {
if (!((bitField1_ & 0x00000100) == 0x00000100)) {
repeatedBytes_ = new java.util.ArrayList<com.google.protobuf.ByteString>(repeatedBytes_);
bitField1_ |= 0x00000100;
}
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public java.util.List<com.google.protobuf.ByteString>
getRepeatedBytesList() {
return java.util.Collections.unmodifiableList(repeatedBytes_);
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public int getRepeatedBytesCount() {
return repeatedBytes_.size();
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public com.google.protobuf.ByteString getRepeatedBytes(int index) {
return repeatedBytes_.get(index);
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public Builder setRepeatedBytes(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedBytesIsMutable();
repeatedBytes_.set(index, value);
return this;
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public Builder addRepeatedBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedBytesIsMutable();
repeatedBytes_.add(value);
return this;
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public Builder addAllRepeatedBytes(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureRepeatedBytesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedBytes_);
return this;
}
/**
* <code>repeated bytes repeated_bytes = 45;</code>
*/
public Builder clearRepeatedBytes() {
repeatedBytes_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000100);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup> repeatedGroup_ =
java.util.Collections.emptyList();
private void ensureRepeatedGroupIsMutable() {
if (!((bitField1_ & 0x00000200) == 0x00000200)) {
repeatedGroup_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup>(repeatedGroup_);
bitField1_ |= 0x00000200;
}
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup> getRepeatedGroupList() {
return java.util.Collections.unmodifiableList(repeatedGroup_);
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public int getRepeatedGroupCount() {
return repeatedGroup_.size();
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup getRepeatedGroup(int index) {
return repeatedGroup_.get(index);
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
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;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder setRepeatedGroup(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder addRepeatedGroup(com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(value);
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
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;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder addRepeatedGroup(
com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder addRepeatedGroup(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder addAllRepeatedGroup(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.RepeatedGroup> values) {
ensureRepeatedGroupIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedGroup_);
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder clearRepeatedGroup() {
repeatedGroup_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000200);
return this;
}
/**
* <code>repeated group RepeatedGroup = 46 { ... }</code>
*/
public Builder removeRepeatedGroup(int index) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> repeatedNestedMessage_ =
java.util.Collections.emptyList();
private void ensureRepeatedNestedMessageIsMutable() {
if (!((bitField1_ & 0x00000400) == 0x00000400)) {
repeatedNestedMessage_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>(repeatedNestedMessage_);
bitField1_ |= 0x00000400;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> getRepeatedNestedMessageList() {
return java.util.Collections.unmodifiableList(repeatedNestedMessage_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public int getRepeatedNestedMessageCount() {
return repeatedNestedMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage getRepeatedNestedMessage(int index) {
return repeatedNestedMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder setRepeatedNestedMessage(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
ensureRepeatedNestedMessageIsMutable();
repeatedNestedMessage_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder addRepeatedNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedNestedMessageIsMutable();
repeatedNestedMessage_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder addRepeatedNestedMessage(
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
ensureRepeatedNestedMessageIsMutable();
repeatedNestedMessage_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder addRepeatedNestedMessage(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
ensureRepeatedNestedMessageIsMutable();
repeatedNestedMessage_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder addAllRepeatedNestedMessage(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> values) {
ensureRepeatedNestedMessageIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedNestedMessage_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder clearRepeatedNestedMessage() {
repeatedNestedMessage_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000400);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_nested_message = 48;</code>
*/
public Builder removeRepeatedNestedMessage(int index) {
ensureRepeatedNestedMessageIsMutable();
repeatedNestedMessage_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.ForeignMessageLite> repeatedForeignMessage_ =
java.util.Collections.emptyList();
private void ensureRepeatedForeignMessageIsMutable() {
if (!((bitField1_ & 0x00000800) == 0x00000800)) {
repeatedForeignMessage_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.ForeignMessageLite>(repeatedForeignMessage_);
bitField1_ |= 0x00000800;
}
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignMessageLite> getRepeatedForeignMessageList() {
return java.util.Collections.unmodifiableList(repeatedForeignMessage_);
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public int getRepeatedForeignMessageCount() {
return repeatedForeignMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public com.google.protobuf.UnittestLite.ForeignMessageLite getRepeatedForeignMessage(int index) {
return repeatedForeignMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder setRepeatedForeignMessage(
int index, com.google.protobuf.UnittestLite.ForeignMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder setRepeatedForeignMessage(
int index, com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) {
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder addRepeatedForeignMessage(com.google.protobuf.UnittestLite.ForeignMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder addRepeatedForeignMessage(
int index, com.google.protobuf.UnittestLite.ForeignMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder addRepeatedForeignMessage(
com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) {
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder addRepeatedForeignMessage(
int index, com.google.protobuf.UnittestLite.ForeignMessageLite.Builder builderForValue) {
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder addAllRepeatedForeignMessage(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.ForeignMessageLite> values) {
ensureRepeatedForeignMessageIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedForeignMessage_);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder clearRepeatedForeignMessage() {
repeatedForeignMessage_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000800);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignMessageLite repeated_foreign_message = 49;</code>
*/
public Builder removeRepeatedForeignMessage(int index) {
ensureRepeatedForeignMessageIsMutable();
repeatedForeignMessage_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestImportLite.ImportMessageLite> repeatedImportMessage_ =
java.util.Collections.emptyList();
private void ensureRepeatedImportMessageIsMutable() {
if (!((bitField1_ & 0x00001000) == 0x00001000)) {
repeatedImportMessage_ = new java.util.ArrayList<com.google.protobuf.UnittestImportLite.ImportMessageLite>(repeatedImportMessage_);
bitField1_ |= 0x00001000;
}
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public java.util.List<com.google.protobuf.UnittestImportLite.ImportMessageLite> getRepeatedImportMessageList() {
return java.util.Collections.unmodifiableList(repeatedImportMessage_);
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public int getRepeatedImportMessageCount() {
return repeatedImportMessage_.size();
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportMessageLite getRepeatedImportMessage(int index) {
return repeatedImportMessage_.get(index);
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder setRepeatedImportMessage(
int index, com.google.protobuf.UnittestImportLite.ImportMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder setRepeatedImportMessage(
int index, com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) {
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder addRepeatedImportMessage(com.google.protobuf.UnittestImportLite.ImportMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder addRepeatedImportMessage(
int index, com.google.protobuf.UnittestImportLite.ImportMessageLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder addRepeatedImportMessage(
com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) {
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder addRepeatedImportMessage(
int index, com.google.protobuf.UnittestImportLite.ImportMessageLite.Builder builderForValue) {
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder addAllRepeatedImportMessage(
java.lang.Iterable<? extends com.google.protobuf.UnittestImportLite.ImportMessageLite> values) {
ensureRepeatedImportMessageIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedImportMessage_);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder clearRepeatedImportMessage() {
repeatedImportMessage_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00001000);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportMessageLite repeated_import_message = 50;</code>
*/
public Builder removeRepeatedImportMessage(int index) {
ensureRepeatedImportMessageIsMutable();
repeatedImportMessage_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> repeatedNestedEnum_ =
java.util.Collections.emptyList();
private void ensureRepeatedNestedEnumIsMutable() {
if (!((bitField1_ & 0x00002000) == 0x00002000)) {
repeatedNestedEnum_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum>(repeatedNestedEnum_);
bitField1_ |= 0x00002000;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> getRepeatedNestedEnumList() {
return java.util.Collections.unmodifiableList(repeatedNestedEnum_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public int getRepeatedNestedEnumCount() {
return repeatedNestedEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getRepeatedNestedEnum(int index) {
return repeatedNestedEnum_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public Builder addRepeatedNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedNestedEnumIsMutable();
repeatedNestedEnum_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public Builder addAllRepeatedNestedEnum(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum> values) {
ensureRepeatedNestedEnumIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedNestedEnum_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedEnum repeated_nested_enum = 51;</code>
*/
public Builder clearRepeatedNestedEnum() {
repeatedNestedEnum_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00002000);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> repeatedForeignEnum_ =
java.util.Collections.emptyList();
private void ensureRepeatedForeignEnumIsMutable() {
if (!((bitField1_ & 0x00004000) == 0x00004000)) {
repeatedForeignEnum_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.ForeignEnumLite>(repeatedForeignEnum_);
bitField1_ |= 0x00004000;
}
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getRepeatedForeignEnumList() {
return java.util.Collections.unmodifiableList(repeatedForeignEnum_);
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public int getRepeatedForeignEnumCount() {
return repeatedForeignEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public com.google.protobuf.UnittestLite.ForeignEnumLite getRepeatedForeignEnum(int index) {
return repeatedForeignEnum_.get(index);
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public Builder setRepeatedForeignEnum(
int index, com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedForeignEnumIsMutable();
repeatedForeignEnum_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public Builder addRepeatedForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedForeignEnumIsMutable();
repeatedForeignEnum_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public Builder addAllRepeatedForeignEnum(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.ForeignEnumLite> values) {
ensureRepeatedForeignEnumIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedForeignEnum_);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite repeated_foreign_enum = 52;</code>
*/
public Builder clearRepeatedForeignEnum() {
repeatedForeignEnum_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00004000);
return this;
}
private java.util.List<com.google.protobuf.UnittestImportLite.ImportEnumLite> repeatedImportEnum_ =
java.util.Collections.emptyList();
private void ensureRepeatedImportEnumIsMutable() {
if (!((bitField1_ & 0x00008000) == 0x00008000)) {
repeatedImportEnum_ = new java.util.ArrayList<com.google.protobuf.UnittestImportLite.ImportEnumLite>(repeatedImportEnum_);
bitField1_ |= 0x00008000;
}
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public java.util.List<com.google.protobuf.UnittestImportLite.ImportEnumLite> getRepeatedImportEnumList() {
return java.util.Collections.unmodifiableList(repeatedImportEnum_);
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public int getRepeatedImportEnumCount() {
return repeatedImportEnum_.size();
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public com.google.protobuf.UnittestImportLite.ImportEnumLite getRepeatedImportEnum(int index) {
return repeatedImportEnum_.get(index);
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public Builder setRepeatedImportEnum(
int index, com.google.protobuf.UnittestImportLite.ImportEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedImportEnumIsMutable();
repeatedImportEnum_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public Builder addRepeatedImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedImportEnumIsMutable();
repeatedImportEnum_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
public Builder addAllRepeatedImportEnum(
java.lang.Iterable<? extends com.google.protobuf.UnittestImportLite.ImportEnumLite> values) {
ensureRepeatedImportEnumIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedImportEnum_);
return this;
}
/**
* <code>repeated .protobuf_unittest_import.ImportEnumLite repeated_import_enum = 53;</code>
*/
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;
}
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedStringPieceList() {
return repeatedStringPiece_.getUnmodifiableView();
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public int getRepeatedStringPieceCount() {
return repeatedStringPiece_.size();
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public java.lang.String getRepeatedStringPiece(int index) {
return repeatedStringPiece_.get(index);
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public com.google.protobuf.ByteString
getRepeatedStringPieceBytes(int index) {
return repeatedStringPiece_.getByteString(index);
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public Builder setRepeatedStringPiece(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedStringPieceIsMutable();
repeatedStringPiece_.set(index, value);
return this;
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public Builder addRepeatedStringPiece(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedStringPieceIsMutable();
repeatedStringPiece_.add(value);
return this;
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public Builder addAllRepeatedStringPiece(
java.lang.Iterable<java.lang.String> values) {
ensureRepeatedStringPieceIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedStringPiece_);
return this;
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
public Builder clearRepeatedStringPiece() {
repeatedStringPiece_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField1_ = (bitField1_ & ~0x00010000);
return this;
}
/**
* <code>repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public com.google.protobuf.ProtocolStringList
getRepeatedCordList() {
return repeatedCord_.getUnmodifiableView();
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public int getRepeatedCordCount() {
return repeatedCord_.size();
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public java.lang.String getRepeatedCord(int index) {
return repeatedCord_.get(index);
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public com.google.protobuf.ByteString
getRepeatedCordBytes(int index) {
return repeatedCord_.getByteString(index);
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public Builder setRepeatedCord(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedCordIsMutable();
repeatedCord_.set(index, value);
return this;
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public Builder addRepeatedCord(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedCordIsMutable();
repeatedCord_.add(value);
return this;
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public Builder addAllRepeatedCord(
java.lang.Iterable<java.lang.String> values) {
ensureRepeatedCordIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedCord_);
return this;
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public Builder clearRepeatedCord() {
repeatedCord_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField1_ = (bitField1_ & ~0x00020000);
return this;
}
/**
* <code>repeated string repeated_cord = 55 [ctype = CORD];</code>
*/
public Builder addRepeatedCordBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedCordIsMutable();
repeatedCord_.add(value);
return this;
}
private java.util.List<com.google.protobuf.LazyFieldLite> repeatedLazyMessage_ =
java.util.Collections.emptyList();
private void ensureRepeatedLazyMessageIsMutable() {
if (!((bitField1_ & 0x00040000) == 0x00040000)) {
repeatedLazyMessage_ =
new java.util.ArrayList<com.google.protobuf.LazyFieldLite>(
repeatedLazyMessage_);
bitField1_ |= 0x00040000;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> getRepeatedLazyMessageList() {
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> list =
new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>(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);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public int getRepeatedLazyMessageCount() {
return repeatedLazyMessage_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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());
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public Builder addRepeatedLazyMessage(
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
ensureRepeatedLazyMessageIsMutable();
repeatedLazyMessage_.add(com.google.protobuf.LazyFieldLite.fromValue(
builderForValue.build()));
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
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;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public Builder addAllRepeatedLazyMessage(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage> values) {
ensureRepeatedLazyMessageIsMutable();
for (com.google.protobuf.MessageLite v : values) {
repeatedLazyMessage_.add(com.google.protobuf.LazyFieldLite.fromValue(v));
}
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public Builder clearRepeatedLazyMessage() {
repeatedLazyMessage_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00040000);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite.NestedMessage repeated_lazy_message = 57 [lazy = true];</code>
*/
public Builder removeRepeatedLazyMessage(int index) {
ensureRepeatedLazyMessageIsMutable();
repeatedLazyMessage_.remove(index);
return this;
}
private int defaultInt32_ = 41;
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public boolean hasDefaultInt32() {
return ((bitField1_ & 0x00080000) == 0x00080000);
}
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public int getDefaultInt32() {
return defaultInt32_;
}
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public Builder setDefaultInt32(int value) {
bitField1_ |= 0x00080000;
defaultInt32_ = value;
return this;
}
/**
* <code>optional int32 default_int32 = 61 [default = 41];</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
public Builder clearDefaultInt32() {
bitField1_ = (bitField1_ & ~0x00080000);
defaultInt32_ = 41;
return this;
}
private long defaultInt64_ = 42L;
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public boolean hasDefaultInt64() {
return ((bitField1_ & 0x00100000) == 0x00100000);
}
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public long getDefaultInt64() {
return defaultInt64_;
}
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public Builder setDefaultInt64(long value) {
bitField1_ |= 0x00100000;
defaultInt64_ = value;
return this;
}
/**
* <code>optional int64 default_int64 = 62 [default = 42];</code>
*/
public Builder clearDefaultInt64() {
bitField1_ = (bitField1_ & ~0x00100000);
defaultInt64_ = 42L;
return this;
}
private int defaultUint32_ = 43;
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public boolean hasDefaultUint32() {
return ((bitField1_ & 0x00200000) == 0x00200000);
}
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public int getDefaultUint32() {
return defaultUint32_;
}
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public Builder setDefaultUint32(int value) {
bitField1_ |= 0x00200000;
defaultUint32_ = value;
return this;
}
/**
* <code>optional uint32 default_uint32 = 63 [default = 43];</code>
*/
public Builder clearDefaultUint32() {
bitField1_ = (bitField1_ & ~0x00200000);
defaultUint32_ = 43;
return this;
}
private long defaultUint64_ = 44L;
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public boolean hasDefaultUint64() {
return ((bitField1_ & 0x00400000) == 0x00400000);
}
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public long getDefaultUint64() {
return defaultUint64_;
}
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public Builder setDefaultUint64(long value) {
bitField1_ |= 0x00400000;
defaultUint64_ = value;
return this;
}
/**
* <code>optional uint64 default_uint64 = 64 [default = 44];</code>
*/
public Builder clearDefaultUint64() {
bitField1_ = (bitField1_ & ~0x00400000);
defaultUint64_ = 44L;
return this;
}
private int defaultSint32_ = -45;
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public boolean hasDefaultSint32() {
return ((bitField1_ & 0x00800000) == 0x00800000);
}
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public int getDefaultSint32() {
return defaultSint32_;
}
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public Builder setDefaultSint32(int value) {
bitField1_ |= 0x00800000;
defaultSint32_ = value;
return this;
}
/**
* <code>optional sint32 default_sint32 = 65 [default = -45];</code>
*/
public Builder clearDefaultSint32() {
bitField1_ = (bitField1_ & ~0x00800000);
defaultSint32_ = -45;
return this;
}
private long defaultSint64_ = 46L;
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public boolean hasDefaultSint64() {
return ((bitField1_ & 0x01000000) == 0x01000000);
}
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public long getDefaultSint64() {
return defaultSint64_;
}
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public Builder setDefaultSint64(long value) {
bitField1_ |= 0x01000000;
defaultSint64_ = value;
return this;
}
/**
* <code>optional sint64 default_sint64 = 66 [default = 46];</code>
*/
public Builder clearDefaultSint64() {
bitField1_ = (bitField1_ & ~0x01000000);
defaultSint64_ = 46L;
return this;
}
private int defaultFixed32_ = 47;
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public boolean hasDefaultFixed32() {
return ((bitField1_ & 0x02000000) == 0x02000000);
}
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public int getDefaultFixed32() {
return defaultFixed32_;
}
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public Builder setDefaultFixed32(int value) {
bitField1_ |= 0x02000000;
defaultFixed32_ = value;
return this;
}
/**
* <code>optional fixed32 default_fixed32 = 67 [default = 47];</code>
*/
public Builder clearDefaultFixed32() {
bitField1_ = (bitField1_ & ~0x02000000);
defaultFixed32_ = 47;
return this;
}
private long defaultFixed64_ = 48L;
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public boolean hasDefaultFixed64() {
return ((bitField1_ & 0x04000000) == 0x04000000);
}
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public long getDefaultFixed64() {
return defaultFixed64_;
}
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public Builder setDefaultFixed64(long value) {
bitField1_ |= 0x04000000;
defaultFixed64_ = value;
return this;
}
/**
* <code>optional fixed64 default_fixed64 = 68 [default = 48];</code>
*/
public Builder clearDefaultFixed64() {
bitField1_ = (bitField1_ & ~0x04000000);
defaultFixed64_ = 48L;
return this;
}
private int defaultSfixed32_ = 49;
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public boolean hasDefaultSfixed32() {
return ((bitField1_ & 0x08000000) == 0x08000000);
}
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public int getDefaultSfixed32() {
return defaultSfixed32_;
}
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public Builder setDefaultSfixed32(int value) {
bitField1_ |= 0x08000000;
defaultSfixed32_ = value;
return this;
}
/**
* <code>optional sfixed32 default_sfixed32 = 69 [default = 49];</code>
*/
public Builder clearDefaultSfixed32() {
bitField1_ = (bitField1_ & ~0x08000000);
defaultSfixed32_ = 49;
return this;
}
private long defaultSfixed64_ = -50L;
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public boolean hasDefaultSfixed64() {
return ((bitField1_ & 0x10000000) == 0x10000000);
}
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public long getDefaultSfixed64() {
return defaultSfixed64_;
}
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public Builder setDefaultSfixed64(long value) {
bitField1_ |= 0x10000000;
defaultSfixed64_ = value;
return this;
}
/**
* <code>optional sfixed64 default_sfixed64 = 70 [default = -50];</code>
*/
public Builder clearDefaultSfixed64() {
bitField1_ = (bitField1_ & ~0x10000000);
defaultSfixed64_ = -50L;
return this;
}
private float defaultFloat_ = 51.5F;
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public boolean hasDefaultFloat() {
return ((bitField1_ & 0x20000000) == 0x20000000);
}
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public float getDefaultFloat() {
return defaultFloat_;
}
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public Builder setDefaultFloat(float value) {
bitField1_ |= 0x20000000;
defaultFloat_ = value;
return this;
}
/**
* <code>optional float default_float = 71 [default = 51.5];</code>
*/
public Builder clearDefaultFloat() {
bitField1_ = (bitField1_ & ~0x20000000);
defaultFloat_ = 51.5F;
return this;
}
private double defaultDouble_ = 52000D;
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public boolean hasDefaultDouble() {
return ((bitField1_ & 0x40000000) == 0x40000000);
}
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public double getDefaultDouble() {
return defaultDouble_;
}
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public Builder setDefaultDouble(double value) {
bitField1_ |= 0x40000000;
defaultDouble_ = value;
return this;
}
/**
* <code>optional double default_double = 72 [default = 52000];</code>
*/
public Builder clearDefaultDouble() {
bitField1_ = (bitField1_ & ~0x40000000);
defaultDouble_ = 52000D;
return this;
}
private boolean defaultBool_ = true;
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public boolean hasDefaultBool() {
return ((bitField1_ & 0x80000000) == 0x80000000);
}
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public boolean getDefaultBool() {
return defaultBool_;
}
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public Builder setDefaultBool(boolean value) {
bitField1_ |= 0x80000000;
defaultBool_ = value;
return this;
}
/**
* <code>optional bool default_bool = 73 [default = true];</code>
*/
public Builder clearDefaultBool() {
bitField1_ = (bitField1_ & ~0x80000000);
defaultBool_ = true;
return this;
}
private java.lang.Object defaultString_ = "hello";
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
public boolean hasDefaultString() {
return ((bitField2_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
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;
}
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
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;
}
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
public Builder setDefaultString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000001;
defaultString_ = value;
return this;
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
public Builder clearDefaultString() {
bitField2_ = (bitField2_ & ~0x00000001);
defaultString_ = getDefaultInstance().getDefaultString();
return this;
}
/**
* <code>optional string default_string = 74 [default = "hello"];</code>
*/
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");
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
public boolean hasDefaultBytes() {
return ((bitField2_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
public com.google.protobuf.ByteString getDefaultBytes() {
return defaultBytes_;
}
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
public Builder setDefaultBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000002;
defaultBytes_ = value;
return this;
}
/**
* <code>optional bytes default_bytes = 75 [default = "world"];</code>
*/
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;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
public boolean hasDefaultNestedEnum() {
return ((bitField2_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum getDefaultNestedEnum() {
return defaultNestedEnum_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
public Builder setDefaultNestedEnum(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000004;
defaultNestedEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedEnum default_nested_enum = 81 [default = BAR];</code>
*/
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;
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
public boolean hasDefaultForeignEnum() {
return ((bitField2_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
public com.google.protobuf.UnittestLite.ForeignEnumLite getDefaultForeignEnum() {
return defaultForeignEnum_;
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
public Builder setDefaultForeignEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000008;
defaultForeignEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest.ForeignEnumLite default_foreign_enum = 82 [default = FOREIGN_LITE_BAR];</code>
*/
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;
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public boolean hasDefaultImportEnum() {
return ((bitField2_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public com.google.protobuf.UnittestImportLite.ImportEnumLite getDefaultImportEnum() {
return defaultImportEnum_;
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public Builder setDefaultImportEnum(com.google.protobuf.UnittestImportLite.ImportEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000010;
defaultImportEnum_ = value;
return this;
}
/**
* <code>optional .protobuf_unittest_import.ImportEnumLite default_import_enum = 83 [default = IMPORT_LITE_BAR];</code>
*/
public Builder clearDefaultImportEnum() {
bitField2_ = (bitField2_ & ~0x00000010);
defaultImportEnum_ = com.google.protobuf.UnittestImportLite.ImportEnumLite.IMPORT_LITE_BAR;
return this;
}
private java.lang.Object defaultStringPiece_ = "abc";
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
public boolean hasDefaultStringPiece() {
return ((bitField2_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
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;
}
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
public Builder setDefaultStringPiece(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000020;
defaultStringPiece_ = value;
return this;
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
public Builder clearDefaultStringPiece() {
bitField2_ = (bitField2_ & ~0x00000020);
defaultStringPiece_ = getDefaultInstance().getDefaultStringPiece();
return this;
}
/**
* <code>optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];</code>
*/
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";
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
public boolean hasDefaultCord() {
return ((bitField2_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
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;
}
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
public Builder setDefaultCord(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000040;
defaultCord_ = value;
return this;
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
public Builder clearDefaultCord() {
bitField2_ = (bitField2_ & ~0x00000040);
defaultCord_ = getDefaultInstance().getDefaultCord();
return this;
}
/**
* <code>optional string default_cord = 85 [default = "123", ctype = CORD];</code>
*/
public Builder setDefaultCordBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000040;
defaultCord_ = value;
return this;
}
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public boolean hasOneofUint32() {
return oneofFieldCase_ == 111;
}
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public int getOneofUint32() {
if (oneofFieldCase_ == 111) {
return (java.lang.Integer) oneofField_;
}
return 0;
}
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public Builder setOneofUint32(int value) {
oneofFieldCase_ = 111;
oneofField_ = value;
return this;
}
/**
* <code>optional uint32 oneof_uint32 = 111;</code>
*/
public Builder clearOneofUint32() {
if (oneofFieldCase_ == 111) {
oneofFieldCase_ = 0;
oneofField_ = null;
}
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
public boolean hasOneofNestedMessage() {
return oneofFieldCase_ == 112;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
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();
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
public Builder setOneofNestedMessage(com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage value) {
if (value == null) {
throw new NullPointerException();
}
oneofField_ = value;
oneofFieldCase_ = 112;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
public Builder setOneofNestedMessage(
com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage.Builder builderForValue) {
oneofField_ = builderForValue.build();
oneofFieldCase_ = 112;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite.NestedMessage oneof_nested_message = 112;</code>
*/
public Builder clearOneofNestedMessage() {
if (oneofFieldCase_ == 112) {
oneofFieldCase_ = 0;
oneofField_ = null;
}
return this;
}
/**
* <code>optional string oneof_string = 113;</code>
*/
public boolean hasOneofString() {
return oneofFieldCase_ == 113;
}
/**
* <code>optional string oneof_string = 113;</code>
*/
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;
}
}
/**
* <code>optional string oneof_string = 113;</code>
*/
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;
}
}
/**
* <code>optional string oneof_string = 113;</code>
*/
public Builder setOneofString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
oneofFieldCase_ = 113;
oneofField_ = value;
return this;
}
/**
* <code>optional string oneof_string = 113;</code>
*/
public Builder clearOneofString() {
if (oneofFieldCase_ == 113) {
oneofFieldCase_ = 0;
oneofField_ = null;
}
return this;
}
/**
* <code>optional string oneof_string = 113;</code>
*/
public Builder setOneofStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
oneofFieldCase_ = 113;
oneofField_ = value;
return this;
}
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
public boolean hasOneofBytes() {
return oneofFieldCase_ == 114;
}
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
public com.google.protobuf.ByteString getOneofBytes() {
if (oneofFieldCase_ == 114) {
return (com.google.protobuf.ByteString) oneofField_;
}
return com.google.protobuf.ByteString.EMPTY;
}
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
public Builder setOneofBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
oneofFieldCase_ = 114;
oneofField_ = value;
return this;
}
/**
* <code>optional bytes oneof_bytes = 114;</code>
*/
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 {
/**
* <code>optional int32 c = 1;</code>
*/
boolean hasC();
/**
* <code>optional int32 c = 1;</code>
*/
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<ForeignMessageLite> PARSER =
new com.google.protobuf.AbstractParser<ForeignMessageLite>() {
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<ForeignMessageLite> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int C_FIELD_NUMBER = 1;
private int c_;
/**
* <code>optional int32 c = 1;</code>
*/
public boolean hasC() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 c = 1;</code>
*/
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_ ;
/**
* <code>optional int32 c = 1;</code>
*/
public boolean hasC() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 c = 1;</code>
*/
public int getC() {
return c_;
}
/**
* <code>optional int32 c = 1;</code>
*/
public Builder setC(int value) {
bitField0_ |= 0x00000001;
c_ = value;
return this;
}
/**
* <code>optional int32 c = 1;</code>
*/
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 {
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
java.util.List<java.lang.Integer> getPackedInt32List();
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
int getPackedInt32Count();
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
int getPackedInt32(int index);
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
java.util.List<java.lang.Long> getPackedInt64List();
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
int getPackedInt64Count();
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
long getPackedInt64(int index);
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
java.util.List<java.lang.Integer> getPackedUint32List();
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
int getPackedUint32Count();
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
int getPackedUint32(int index);
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
java.util.List<java.lang.Long> getPackedUint64List();
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
int getPackedUint64Count();
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
long getPackedUint64(int index);
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
java.util.List<java.lang.Integer> getPackedSint32List();
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
int getPackedSint32Count();
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
int getPackedSint32(int index);
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
java.util.List<java.lang.Long> getPackedSint64List();
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
int getPackedSint64Count();
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
long getPackedSint64(int index);
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
java.util.List<java.lang.Integer> getPackedFixed32List();
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
int getPackedFixed32Count();
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
int getPackedFixed32(int index);
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
java.util.List<java.lang.Long> getPackedFixed64List();
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
int getPackedFixed64Count();
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
long getPackedFixed64(int index);
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
java.util.List<java.lang.Integer> getPackedSfixed32List();
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
int getPackedSfixed32Count();
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
int getPackedSfixed32(int index);
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
java.util.List<java.lang.Long> getPackedSfixed64List();
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
int getPackedSfixed64Count();
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
long getPackedSfixed64(int index);
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
java.util.List<java.lang.Float> getPackedFloatList();
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
int getPackedFloatCount();
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
float getPackedFloat(int index);
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
java.util.List<java.lang.Double> getPackedDoubleList();
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
int getPackedDoubleCount();
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
double getPackedDouble(int index);
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
java.util.List<java.lang.Boolean> getPackedBoolList();
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
int getPackedBoolCount();
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
boolean getPackedBool(int index);
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getPackedEnumList();
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
int getPackedEnumCount();
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Integer>();
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<java.lang.Integer>();
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<java.lang.Long>();
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<java.lang.Long>();
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<java.lang.Float>();
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<java.lang.Float>();
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<java.lang.Double>();
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<java.lang.Double>();
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<java.lang.Boolean>();
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<java.lang.Boolean>();
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<com.google.protobuf.UnittestLite.ForeignEnumLite>();
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<com.google.protobuf.UnittestLite.ForeignEnumLite>();
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<TestPackedTypesLite> PARSER =
new com.google.protobuf.AbstractParser<TestPackedTypesLite>() {
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<TestPackedTypesLite> getParserForType() {
return PARSER;
}
public static final int PACKED_INT32_FIELD_NUMBER = 90;
private java.util.List<java.lang.Integer> packedInt32_;
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedInt32List() {
return packedInt32_;
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public int getPackedInt32Count() {
return packedInt32_.size();
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
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<java.lang.Long> packedInt64_;
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedInt64List() {
return packedInt64_;
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public int getPackedInt64Count() {
return packedInt64_.size();
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
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<java.lang.Integer> packedUint32_;
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedUint32List() {
return packedUint32_;
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public int getPackedUint32Count() {
return packedUint32_.size();
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
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<java.lang.Long> packedUint64_;
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedUint64List() {
return packedUint64_;
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public int getPackedUint64Count() {
return packedUint64_.size();
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
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<java.lang.Integer> packedSint32_;
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedSint32List() {
return packedSint32_;
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public int getPackedSint32Count() {
return packedSint32_.size();
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
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<java.lang.Long> packedSint64_;
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedSint64List() {
return packedSint64_;
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public int getPackedSint64Count() {
return packedSint64_.size();
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
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<java.lang.Integer> packedFixed32_;
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedFixed32List() {
return packedFixed32_;
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public int getPackedFixed32Count() {
return packedFixed32_.size();
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
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<java.lang.Long> packedFixed64_;
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedFixed64List() {
return packedFixed64_;
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public int getPackedFixed64Count() {
return packedFixed64_.size();
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
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<java.lang.Integer> packedSfixed32_;
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedSfixed32List() {
return packedSfixed32_;
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public int getPackedSfixed32Count() {
return packedSfixed32_.size();
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
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<java.lang.Long> packedSfixed64_;
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedSfixed64List() {
return packedSfixed64_;
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public int getPackedSfixed64Count() {
return packedSfixed64_.size();
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
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<java.lang.Float> packedFloat_;
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public java.util.List<java.lang.Float>
getPackedFloatList() {
return packedFloat_;
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public int getPackedFloatCount() {
return packedFloat_.size();
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
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<java.lang.Double> packedDouble_;
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public java.util.List<java.lang.Double>
getPackedDoubleList() {
return packedDouble_;
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public int getPackedDoubleCount() {
return packedDouble_.size();
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
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<java.lang.Boolean> packedBool_;
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public java.util.List<java.lang.Boolean>
getPackedBoolList() {
return packedBool_;
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public int getPackedBoolCount() {
return packedBool_.size();
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
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<com.google.protobuf.UnittestLite.ForeignEnumLite> packedEnum_;
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getPackedEnumList() {
return packedEnum_;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public int getPackedEnumCount() {
return packedEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
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<java.lang.Integer> packedInt32_ = java.util.Collections.emptyList();
private void ensurePackedInt32IsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
packedInt32_ = new java.util.ArrayList<java.lang.Integer>(packedInt32_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedInt32List() {
return java.util.Collections.unmodifiableList(packedInt32_);
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public int getPackedInt32Count() {
return packedInt32_.size();
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public int getPackedInt32(int index) {
return packedInt32_.get(index);
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public Builder setPackedInt32(
int index, int value) {
ensurePackedInt32IsMutable();
packedInt32_.set(index, value);
return this;
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public Builder addPackedInt32(int value) {
ensurePackedInt32IsMutable();
packedInt32_.add(value);
return this;
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public Builder addAllPackedInt32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensurePackedInt32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedInt32_);
return this;
}
/**
* <code>repeated int32 packed_int32 = 90 [packed = true];</code>
*/
public Builder clearPackedInt32() {
packedInt32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
private java.util.List<java.lang.Long> packedInt64_ = java.util.Collections.emptyList();
private void ensurePackedInt64IsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
packedInt64_ = new java.util.ArrayList<java.lang.Long>(packedInt64_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedInt64List() {
return java.util.Collections.unmodifiableList(packedInt64_);
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public int getPackedInt64Count() {
return packedInt64_.size();
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public long getPackedInt64(int index) {
return packedInt64_.get(index);
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public Builder setPackedInt64(
int index, long value) {
ensurePackedInt64IsMutable();
packedInt64_.set(index, value);
return this;
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public Builder addPackedInt64(long value) {
ensurePackedInt64IsMutable();
packedInt64_.add(value);
return this;
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public Builder addAllPackedInt64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePackedInt64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedInt64_);
return this;
}
/**
* <code>repeated int64 packed_int64 = 91 [packed = true];</code>
*/
public Builder clearPackedInt64() {
packedInt64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
private java.util.List<java.lang.Integer> packedUint32_ = java.util.Collections.emptyList();
private void ensurePackedUint32IsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
packedUint32_ = new java.util.ArrayList<java.lang.Integer>(packedUint32_);
bitField0_ |= 0x00000004;
}
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedUint32List() {
return java.util.Collections.unmodifiableList(packedUint32_);
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public int getPackedUint32Count() {
return packedUint32_.size();
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public int getPackedUint32(int index) {
return packedUint32_.get(index);
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public Builder setPackedUint32(
int index, int value) {
ensurePackedUint32IsMutable();
packedUint32_.set(index, value);
return this;
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public Builder addPackedUint32(int value) {
ensurePackedUint32IsMutable();
packedUint32_.add(value);
return this;
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public Builder addAllPackedUint32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensurePackedUint32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedUint32_);
return this;
}
/**
* <code>repeated uint32 packed_uint32 = 92 [packed = true];</code>
*/
public Builder clearPackedUint32() {
packedUint32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
private java.util.List<java.lang.Long> packedUint64_ = java.util.Collections.emptyList();
private void ensurePackedUint64IsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
packedUint64_ = new java.util.ArrayList<java.lang.Long>(packedUint64_);
bitField0_ |= 0x00000008;
}
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedUint64List() {
return java.util.Collections.unmodifiableList(packedUint64_);
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public int getPackedUint64Count() {
return packedUint64_.size();
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public long getPackedUint64(int index) {
return packedUint64_.get(index);
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public Builder setPackedUint64(
int index, long value) {
ensurePackedUint64IsMutable();
packedUint64_.set(index, value);
return this;
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public Builder addPackedUint64(long value) {
ensurePackedUint64IsMutable();
packedUint64_.add(value);
return this;
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public Builder addAllPackedUint64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePackedUint64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedUint64_);
return this;
}
/**
* <code>repeated uint64 packed_uint64 = 93 [packed = true];</code>
*/
public Builder clearPackedUint64() {
packedUint64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
private java.util.List<java.lang.Integer> packedSint32_ = java.util.Collections.emptyList();
private void ensurePackedSint32IsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
packedSint32_ = new java.util.ArrayList<java.lang.Integer>(packedSint32_);
bitField0_ |= 0x00000010;
}
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedSint32List() {
return java.util.Collections.unmodifiableList(packedSint32_);
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public int getPackedSint32Count() {
return packedSint32_.size();
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public int getPackedSint32(int index) {
return packedSint32_.get(index);
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public Builder setPackedSint32(
int index, int value) {
ensurePackedSint32IsMutable();
packedSint32_.set(index, value);
return this;
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public Builder addPackedSint32(int value) {
ensurePackedSint32IsMutable();
packedSint32_.add(value);
return this;
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public Builder addAllPackedSint32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensurePackedSint32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedSint32_);
return this;
}
/**
* <code>repeated sint32 packed_sint32 = 94 [packed = true];</code>
*/
public Builder clearPackedSint32() {
packedSint32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
private java.util.List<java.lang.Long> packedSint64_ = java.util.Collections.emptyList();
private void ensurePackedSint64IsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
packedSint64_ = new java.util.ArrayList<java.lang.Long>(packedSint64_);
bitField0_ |= 0x00000020;
}
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedSint64List() {
return java.util.Collections.unmodifiableList(packedSint64_);
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public int getPackedSint64Count() {
return packedSint64_.size();
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public long getPackedSint64(int index) {
return packedSint64_.get(index);
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public Builder setPackedSint64(
int index, long value) {
ensurePackedSint64IsMutable();
packedSint64_.set(index, value);
return this;
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public Builder addPackedSint64(long value) {
ensurePackedSint64IsMutable();
packedSint64_.add(value);
return this;
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public Builder addAllPackedSint64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePackedSint64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedSint64_);
return this;
}
/**
* <code>repeated sint64 packed_sint64 = 95 [packed = true];</code>
*/
public Builder clearPackedSint64() {
packedSint64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
private java.util.List<java.lang.Integer> packedFixed32_ = java.util.Collections.emptyList();
private void ensurePackedFixed32IsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
packedFixed32_ = new java.util.ArrayList<java.lang.Integer>(packedFixed32_);
bitField0_ |= 0x00000040;
}
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedFixed32List() {
return java.util.Collections.unmodifiableList(packedFixed32_);
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public int getPackedFixed32Count() {
return packedFixed32_.size();
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public int getPackedFixed32(int index) {
return packedFixed32_.get(index);
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public Builder setPackedFixed32(
int index, int value) {
ensurePackedFixed32IsMutable();
packedFixed32_.set(index, value);
return this;
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public Builder addPackedFixed32(int value) {
ensurePackedFixed32IsMutable();
packedFixed32_.add(value);
return this;
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public Builder addAllPackedFixed32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensurePackedFixed32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedFixed32_);
return this;
}
/**
* <code>repeated fixed32 packed_fixed32 = 96 [packed = true];</code>
*/
public Builder clearPackedFixed32() {
packedFixed32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
private java.util.List<java.lang.Long> packedFixed64_ = java.util.Collections.emptyList();
private void ensurePackedFixed64IsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
packedFixed64_ = new java.util.ArrayList<java.lang.Long>(packedFixed64_);
bitField0_ |= 0x00000080;
}
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedFixed64List() {
return java.util.Collections.unmodifiableList(packedFixed64_);
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public int getPackedFixed64Count() {
return packedFixed64_.size();
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public long getPackedFixed64(int index) {
return packedFixed64_.get(index);
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public Builder setPackedFixed64(
int index, long value) {
ensurePackedFixed64IsMutable();
packedFixed64_.set(index, value);
return this;
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public Builder addPackedFixed64(long value) {
ensurePackedFixed64IsMutable();
packedFixed64_.add(value);
return this;
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public Builder addAllPackedFixed64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePackedFixed64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedFixed64_);
return this;
}
/**
* <code>repeated fixed64 packed_fixed64 = 97 [packed = true];</code>
*/
public Builder clearPackedFixed64() {
packedFixed64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
private java.util.List<java.lang.Integer> packedSfixed32_ = java.util.Collections.emptyList();
private void ensurePackedSfixed32IsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
packedSfixed32_ = new java.util.ArrayList<java.lang.Integer>(packedSfixed32_);
bitField0_ |= 0x00000100;
}
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getPackedSfixed32List() {
return java.util.Collections.unmodifiableList(packedSfixed32_);
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public int getPackedSfixed32Count() {
return packedSfixed32_.size();
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public int getPackedSfixed32(int index) {
return packedSfixed32_.get(index);
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public Builder setPackedSfixed32(
int index, int value) {
ensurePackedSfixed32IsMutable();
packedSfixed32_.set(index, value);
return this;
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public Builder addPackedSfixed32(int value) {
ensurePackedSfixed32IsMutable();
packedSfixed32_.add(value);
return this;
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public Builder addAllPackedSfixed32(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensurePackedSfixed32IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedSfixed32_);
return this;
}
/**
* <code>repeated sfixed32 packed_sfixed32 = 98 [packed = true];</code>
*/
public Builder clearPackedSfixed32() {
packedSfixed32_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
private java.util.List<java.lang.Long> packedSfixed64_ = java.util.Collections.emptyList();
private void ensurePackedSfixed64IsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
packedSfixed64_ = new java.util.ArrayList<java.lang.Long>(packedSfixed64_);
bitField0_ |= 0x00000200;
}
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getPackedSfixed64List() {
return java.util.Collections.unmodifiableList(packedSfixed64_);
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public int getPackedSfixed64Count() {
return packedSfixed64_.size();
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public long getPackedSfixed64(int index) {
return packedSfixed64_.get(index);
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public Builder setPackedSfixed64(
int index, long value) {
ensurePackedSfixed64IsMutable();
packedSfixed64_.set(index, value);
return this;
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public Builder addPackedSfixed64(long value) {
ensurePackedSfixed64IsMutable();
packedSfixed64_.add(value);
return this;
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public Builder addAllPackedSfixed64(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePackedSfixed64IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedSfixed64_);
return this;
}
/**
* <code>repeated sfixed64 packed_sfixed64 = 99 [packed = true];</code>
*/
public Builder clearPackedSfixed64() {
packedSfixed64_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
private java.util.List<java.lang.Float> packedFloat_ = java.util.Collections.emptyList();
private void ensurePackedFloatIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
packedFloat_ = new java.util.ArrayList<java.lang.Float>(packedFloat_);
bitField0_ |= 0x00000400;
}
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public java.util.List<java.lang.Float>
getPackedFloatList() {
return java.util.Collections.unmodifiableList(packedFloat_);
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public int getPackedFloatCount() {
return packedFloat_.size();
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public float getPackedFloat(int index) {
return packedFloat_.get(index);
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public Builder setPackedFloat(
int index, float value) {
ensurePackedFloatIsMutable();
packedFloat_.set(index, value);
return this;
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public Builder addPackedFloat(float value) {
ensurePackedFloatIsMutable();
packedFloat_.add(value);
return this;
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public Builder addAllPackedFloat(
java.lang.Iterable<? extends java.lang.Float> values) {
ensurePackedFloatIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedFloat_);
return this;
}
/**
* <code>repeated float packed_float = 100 [packed = true];</code>
*/
public Builder clearPackedFloat() {
packedFloat_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
private java.util.List<java.lang.Double> packedDouble_ = java.util.Collections.emptyList();
private void ensurePackedDoubleIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
packedDouble_ = new java.util.ArrayList<java.lang.Double>(packedDouble_);
bitField0_ |= 0x00000800;
}
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public java.util.List<java.lang.Double>
getPackedDoubleList() {
return java.util.Collections.unmodifiableList(packedDouble_);
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public int getPackedDoubleCount() {
return packedDouble_.size();
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public double getPackedDouble(int index) {
return packedDouble_.get(index);
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public Builder setPackedDouble(
int index, double value) {
ensurePackedDoubleIsMutable();
packedDouble_.set(index, value);
return this;
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public Builder addPackedDouble(double value) {
ensurePackedDoubleIsMutable();
packedDouble_.add(value);
return this;
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public Builder addAllPackedDouble(
java.lang.Iterable<? extends java.lang.Double> values) {
ensurePackedDoubleIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedDouble_);
return this;
}
/**
* <code>repeated double packed_double = 101 [packed = true];</code>
*/
public Builder clearPackedDouble() {
packedDouble_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
private java.util.List<java.lang.Boolean> packedBool_ = java.util.Collections.emptyList();
private void ensurePackedBoolIsMutable() {
if (!((bitField0_ & 0x00001000) == 0x00001000)) {
packedBool_ = new java.util.ArrayList<java.lang.Boolean>(packedBool_);
bitField0_ |= 0x00001000;
}
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public java.util.List<java.lang.Boolean>
getPackedBoolList() {
return java.util.Collections.unmodifiableList(packedBool_);
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public int getPackedBoolCount() {
return packedBool_.size();
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public boolean getPackedBool(int index) {
return packedBool_.get(index);
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public Builder setPackedBool(
int index, boolean value) {
ensurePackedBoolIsMutable();
packedBool_.set(index, value);
return this;
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public Builder addPackedBool(boolean value) {
ensurePackedBoolIsMutable();
packedBool_.add(value);
return this;
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public Builder addAllPackedBool(
java.lang.Iterable<? extends java.lang.Boolean> values) {
ensurePackedBoolIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedBool_);
return this;
}
/**
* <code>repeated bool packed_bool = 102 [packed = true];</code>
*/
public Builder clearPackedBool() {
packedBool_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> packedEnum_ =
java.util.Collections.emptyList();
private void ensurePackedEnumIsMutable() {
if (!((bitField0_ & 0x00002000) == 0x00002000)) {
packedEnum_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.ForeignEnumLite>(packedEnum_);
bitField0_ |= 0x00002000;
}
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite> getPackedEnumList() {
return java.util.Collections.unmodifiableList(packedEnum_);
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public int getPackedEnumCount() {
return packedEnum_.size();
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public com.google.protobuf.UnittestLite.ForeignEnumLite getPackedEnum(int index) {
return packedEnum_.get(index);
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public Builder setPackedEnum(
int index, com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensurePackedEnumIsMutable();
packedEnum_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public Builder addPackedEnum(com.google.protobuf.UnittestLite.ForeignEnumLite value) {
if (value == null) {
throw new NullPointerException();
}
ensurePackedEnumIsMutable();
packedEnum_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
public Builder addAllPackedEnum(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.ForeignEnumLite> values) {
ensurePackedEnumIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packedEnum_);
return this;
}
/**
* <code>repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];</code>
*/
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<TestAllExtensionsLite> {
}
/**
* 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<com.google.protobuf.UnittestLite.TestAllExtensionsLite, ?> 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<TestAllExtensionsLite> PARSER =
new com.google.protobuf.AbstractParser<TestAllExtensionsLite>() {
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<TestAllExtensionsLite> 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<com.google.protobuf.UnittestLite.TestAllExtensionsLite>.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 {
/**
* <code>optional int32 a = 17;</code>
*/
boolean hasA();
/**
* <code>optional int32 a = 17;</code>
*/
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<OptionalGroup_extension_lite> PARSER =
new com.google.protobuf.AbstractParser<OptionalGroup_extension_lite>() {
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<OptionalGroup_extension_lite> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int A_FIELD_NUMBER = 17;
private int a_;
/**
* <code>optional int32 a = 17;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 17;</code>
*/
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_ ;
/**
* <code>optional int32 a = 17;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 17;</code>
*/
public int getA() {
return a_;
}
/**
* <code>optional int32 a = 17;</code>
*/
public Builder setA(int value) {
bitField0_ |= 0x00000001;
a_ = value;
return this;
}
/**
* <code>optional int32 a = 17;</code>
*/
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 {
/**
* <code>optional int32 a = 47;</code>
*/
boolean hasA();
/**
* <code>optional int32 a = 47;</code>
*/
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<RepeatedGroup_extension_lite> PARSER =
new com.google.protobuf.AbstractParser<RepeatedGroup_extension_lite>() {
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<RepeatedGroup_extension_lite> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int A_FIELD_NUMBER = 47;
private int a_;
/**
* <code>optional int32 a = 47;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 47;</code>
*/
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_ ;
/**
* <code>optional int32 a = 47;</code>
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 a = 47;</code>
*/
public int getA() {
return a_;
}
/**
* <code>optional int32 a = 47;</code>
*/
public Builder setA(int value) {
bitField0_ |= 0x00000001;
a_ = value;
return this;
}
/**
* <code>optional int32 a = 47;</code>
*/
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<TestPackedExtensionsLite> {
}
/**
* 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<com.google.protobuf.UnittestLite.TestPackedExtensionsLite, ?> 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<TestPackedExtensionsLite> PARSER =
new com.google.protobuf.AbstractParser<TestPackedExtensionsLite>() {
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<TestPackedExtensionsLite> 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<com.google.protobuf.UnittestLite.TestPackedExtensionsLite>.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<TestNestedExtensionLite> PARSER =
new com.google.protobuf.AbstractParser<TestNestedExtensionLite>() {
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<TestNestedExtensionLite> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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 {
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated boolean hasDeprecatedField();
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated int getDeprecatedField();
}
/**
* Protobuf type {@code protobuf_unittest.TestDeprecatedLite}
*
* <pre>
* Test that deprecated fields work. We only verify that they compile (at one
* point this failed).
* </pre>
*/
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<TestDeprecatedLite> PARSER =
new com.google.protobuf.AbstractParser<TestDeprecatedLite>() {
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<TestDeprecatedLite> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int DEPRECATED_FIELD_FIELD_NUMBER = 1;
private int deprecatedField_;
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated public boolean hasDeprecatedField() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@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}
*
* <pre>
* Test that deprecated fields work. We only verify that they compile (at one
* point this failed).
* </pre>
*/
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_ ;
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated public boolean hasDeprecatedField() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated public int getDeprecatedField() {
return deprecatedField_;
}
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated public Builder setDeprecatedField(int value) {
bitField0_ |= 0x00000001;
deprecatedField_ = value;
return this;
}
/**
* <code>optional int32 deprecated_field = 1 [deprecated = true];</code>
*/
@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<TestParsingMergeLite> {
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
boolean hasRequiredAllTypes();
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getRequiredAllTypes();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
boolean hasOptionalAllTypes();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getRepeatedAllTypesList();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
int getRepeatedAllTypesCount();
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
boolean hasOptionalGroup();
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup();
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup>
getRepeatedGroupList();
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index);
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
int getRepeatedGroupCount();
}
/**
* Protobuf type {@code protobuf_unittest.TestParsingMergeLite}
*
* <pre>
* See the comments of the same type in unittest.proto.
* </pre>
*/
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<com.google.protobuf.UnittestLite.TestParsingMergeLite, ?> 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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup>();
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<TestParsingMergeLite> PARSER =
new com.google.protobuf.AbstractParser<TestParsingMergeLite>() {
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<TestParsingMergeLite> getParserForType() {
return PARSER;
}
public interface RepeatedFieldsGeneratorOrBuilder extends
// @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getField1List();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
int getField1Count();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getField2List();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
int getField2Count();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getField3List();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
int getField3Count();
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1>
getGroup1List();
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index);
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
int getGroup1Count();
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2>
getGroup2List();
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index);
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
int getGroup2Count();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getExt1List();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
int getExt1Count();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>
getExt2List();
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index);
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1>();
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<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<com.google.protobuf.UnittestLite.TestAllTypesLite>();
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<RepeatedFieldsGenerator> PARSER =
new com.google.protobuf.AbstractParser<RepeatedFieldsGenerator>() {
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<RepeatedFieldsGenerator> getParserForType() {
return PARSER;
}
public interface Group1OrBuilder extends
// @@protoc_insertion_point(interface_extends:protobuf_unittest.TestParsingMergeLite.RepeatedFieldsGenerator.Group1)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
boolean hasField1();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
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<Group1> PARSER =
new com.google.protobuf.AbstractParser<Group1>() {
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<Group1> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int FIELD1_FIELD_NUMBER = 11;
private com.google.protobuf.UnittestLite.TestAllTypesLite field1_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
public boolean hasField1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
public boolean hasField1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() {
return field1_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
public Builder setField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
field1_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
public Builder setField1(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
field1_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 11;</code>
*/
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 {
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
boolean hasField1();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
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<Group2> PARSER =
new com.google.protobuf.AbstractParser<Group2>() {
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<Group2> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int FIELD1_FIELD_NUMBER = 21;
private com.google.protobuf.UnittestLite.TestAllTypesLite field1_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
public boolean hasField1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
public boolean hasField1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField1() {
return field1_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
public Builder setField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
field1_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
public Builder setField1(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
field1_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite field1 = 21;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> field1_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField1List() {
return field1_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getField1OrBuilderList() {
return field1_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public int getField1Count() {
return field1_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index) {
return field1_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> field2_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField2List() {
return field2_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getField2OrBuilderList() {
return field2_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public int getField2Count() {
return field2_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index) {
return field2_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> field3_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField3List() {
return field3_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getField3OrBuilderList() {
return field3_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public int getField3Count() {
return field3_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index) {
return field3_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
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<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1> group1_;
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1> getGroup1List() {
return group1_;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1OrBuilder>
getGroup1OrBuilderList() {
return group1_;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public int getGroup1Count() {
return group1_.size();
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index) {
return group1_.get(index);
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
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<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2> group2_;
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2> getGroup2List() {
return group2_;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2OrBuilder>
getGroup2OrBuilderList() {
return group2_;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public int getGroup2Count() {
return group2_.size();
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index) {
return group2_.get(index);
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> ext1_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getExt1List() {
return ext1_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getExt1OrBuilderList() {
return ext1_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public int getExt1Count() {
return ext1_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index) {
return ext1_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> ext2_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getExt2List() {
return ext2_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getExt2OrBuilderList() {
return ext2_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public int getExt2Count() {
return ext2_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index) {
return ext2_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
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<com.google.protobuf.UnittestLite.TestAllTypesLite> field1_ =
java.util.Collections.emptyList();
private void ensureField1IsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
field1_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(field1_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField1List() {
return java.util.Collections.unmodifiableList(field1_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public int getField1Count() {
return field1_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField1(int index) {
return field1_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder setField1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField1IsMutable();
field1_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder setField1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField1IsMutable();
field1_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder addField1(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField1IsMutable();
field1_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder addField1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField1IsMutable();
field1_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder addField1(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField1IsMutable();
field1_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder addField1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField1IsMutable();
field1_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder addAllField1(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureField1IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, field1_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder clearField1() {
field1_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field1 = 1;</code>
*/
public Builder removeField1(int index) {
ensureField1IsMutable();
field1_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> field2_ =
java.util.Collections.emptyList();
private void ensureField2IsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
field2_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(field2_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField2List() {
return java.util.Collections.unmodifiableList(field2_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public int getField2Count() {
return field2_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField2(int index) {
return field2_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder setField2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField2IsMutable();
field2_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder setField2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField2IsMutable();
field2_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder addField2(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField2IsMutable();
field2_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder addField2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField2IsMutable();
field2_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder addField2(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField2IsMutable();
field2_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder addField2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField2IsMutable();
field2_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder addAllField2(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureField2IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, field2_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder clearField2() {
field2_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field2 = 2;</code>
*/
public Builder removeField2(int index) {
ensureField2IsMutable();
field2_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> field3_ =
java.util.Collections.emptyList();
private void ensureField3IsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
field3_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(field3_);
bitField0_ |= 0x00000004;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getField3List() {
return java.util.Collections.unmodifiableList(field3_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public int getField3Count() {
return field3_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getField3(int index) {
return field3_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder setField3(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField3IsMutable();
field3_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder setField3(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField3IsMutable();
field3_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder addField3(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField3IsMutable();
field3_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder addField3(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureField3IsMutable();
field3_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder addField3(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField3IsMutable();
field3_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder addField3(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureField3IsMutable();
field3_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder addAllField3(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureField3IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, field3_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder clearField3() {
field3_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite field3 = 3;</code>
*/
public Builder removeField3(int index) {
ensureField3IsMutable();
field3_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1> group1_ =
java.util.Collections.emptyList();
private void ensureGroup1IsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
group1_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1>(group1_);
bitField0_ |= 0x00000008;
}
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1> getGroup1List() {
return java.util.Collections.unmodifiableList(group1_);
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public int getGroup1Count() {
return group1_.size();
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 getGroup1(int index) {
return group1_.get(index);
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
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;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder setGroup1(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) {
ensureGroup1IsMutable();
group1_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder addGroup1(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1 value) {
if (value == null) {
throw new NullPointerException();
}
ensureGroup1IsMutable();
group1_.add(value);
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
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;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder addGroup1(
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) {
ensureGroup1IsMutable();
group1_.add(builderForValue.build());
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder addGroup1(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1.Builder builderForValue) {
ensureGroup1IsMutable();
group1_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder addAllGroup1(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group1> values) {
ensureGroup1IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, group1_);
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder clearGroup1() {
group1_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* <code>repeated group Group1 = 10 { ... }</code>
*/
public Builder removeGroup1(int index) {
ensureGroup1IsMutable();
group1_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2> group2_ =
java.util.Collections.emptyList();
private void ensureGroup2IsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
group2_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2>(group2_);
bitField0_ |= 0x00000010;
}
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2> getGroup2List() {
return java.util.Collections.unmodifiableList(group2_);
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public int getGroup2Count() {
return group2_.size();
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 getGroup2(int index) {
return group2_.get(index);
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
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;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder setGroup2(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) {
ensureGroup2IsMutable();
group2_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder addGroup2(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2 value) {
if (value == null) {
throw new NullPointerException();
}
ensureGroup2IsMutable();
group2_.add(value);
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
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;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder addGroup2(
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) {
ensureGroup2IsMutable();
group2_.add(builderForValue.build());
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder addGroup2(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2.Builder builderForValue) {
ensureGroup2IsMutable();
group2_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder addAllGroup2(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedFieldsGenerator.Group2> values) {
ensureGroup2IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, group2_);
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder clearGroup2() {
group2_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* <code>repeated group Group2 = 20 { ... }</code>
*/
public Builder removeGroup2(int index) {
ensureGroup2IsMutable();
group2_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> ext1_ =
java.util.Collections.emptyList();
private void ensureExt1IsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
ext1_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(ext1_);
bitField0_ |= 0x00000020;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getExt1List() {
return java.util.Collections.unmodifiableList(ext1_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public int getExt1Count() {
return ext1_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getExt1(int index) {
return ext1_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder setExt1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt1IsMutable();
ext1_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder setExt1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt1IsMutable();
ext1_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder addExt1(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt1IsMutable();
ext1_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder addExt1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt1IsMutable();
ext1_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder addExt1(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt1IsMutable();
ext1_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder addExt1(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt1IsMutable();
ext1_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder addAllExt1(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureExt1IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ext1_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder clearExt1() {
ext1_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext1 = 1000;</code>
*/
public Builder removeExt1(int index) {
ensureExt1IsMutable();
ext1_.remove(index);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> ext2_ =
java.util.Collections.emptyList();
private void ensureExt2IsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
ext2_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(ext2_);
bitField0_ |= 0x00000040;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getExt2List() {
return java.util.Collections.unmodifiableList(ext2_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public int getExt2Count() {
return ext2_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getExt2(int index) {
return ext2_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder setExt2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt2IsMutable();
ext2_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder setExt2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt2IsMutable();
ext2_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder addExt2(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt2IsMutable();
ext2_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder addExt2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureExt2IsMutable();
ext2_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder addExt2(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt2IsMutable();
ext2_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder addExt2(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureExt2IsMutable();
ext2_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder addAllExt2(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureExt2IsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ext2_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
public Builder clearExt2() {
ext2_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite ext2 = 1001;</code>
*/
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 {
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
boolean hasOptionalGroupAllTypes();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
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<OptionalGroup> PARSER =
new com.google.protobuf.AbstractParser<OptionalGroup>() {
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<OptionalGroup> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int OPTIONAL_GROUP_ALL_TYPES_FIELD_NUMBER = 11;
private com.google.protobuf.UnittestLite.TestAllTypesLite optionalGroupAllTypes_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
public boolean hasOptionalGroupAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
public boolean hasOptionalGroupAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalGroupAllTypes() {
return optionalGroupAllTypes_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
public Builder setOptionalGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
optionalGroupAllTypes_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
public Builder setOptionalGroupAllTypes(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
optionalGroupAllTypes_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_group_all_types = 11;</code>
*/
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 {
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
boolean hasRepeatedGroupAllTypes();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
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<RepeatedGroup> PARSER =
new com.google.protobuf.AbstractParser<RepeatedGroup>() {
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<RepeatedGroup> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int REPEATED_GROUP_ALL_TYPES_FIELD_NUMBER = 21;
private com.google.protobuf.UnittestLite.TestAllTypesLite repeatedGroupAllTypes_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
public boolean hasRepeatedGroupAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
public boolean hasRepeatedGroupAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedGroupAllTypes() {
return repeatedGroupAllTypes_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
public Builder setRepeatedGroupAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
repeatedGroupAllTypes_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
public Builder setRepeatedGroupAllTypes(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
repeatedGroupAllTypes_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite repeated_group_all_types = 21;</code>
*/
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_;
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
public boolean hasRequiredAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
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_;
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public boolean hasOptionalAllTypes() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes() {
return optionalAllTypes_;
}
public static final int REPEATED_ALL_TYPES_FIELD_NUMBER = 3;
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> repeatedAllTypes_;
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getRepeatedAllTypesList() {
return repeatedAllTypes_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestAllTypesLiteOrBuilder>
getRepeatedAllTypesOrBuilderList() {
return repeatedAllTypes_;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public int getRepeatedAllTypesCount() {
return repeatedAllTypes_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index) {
return repeatedAllTypes_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
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_;
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public boolean hasOptionalGroup() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup() {
return optionalGroup_;
}
public static final int REPEATEDGROUP_FIELD_NUMBER = 20;
private java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup> repeatedGroup_;
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup> getRepeatedGroupList() {
return repeatedGroup_;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public java.util.List<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroupOrBuilder>
getRepeatedGroupOrBuilderList() {
return repeatedGroup_;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public int getRepeatedGroupCount() {
return repeatedGroup_.size();
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index) {
return repeatedGroup_.get(index);
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
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<com.google.protobuf.UnittestLite.TestParsingMergeLite>.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}
*
* <pre>
* See the comments of the same type in unittest.proto.
* </pre>
*/
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();
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
public boolean hasRequiredAllTypes() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getRequiredAllTypes() {
return requiredAllTypes_;
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
public Builder setRequiredAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
requiredAllTypes_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
public Builder setRequiredAllTypes(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
requiredAllTypes_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
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;
}
/**
* <code>required .protobuf_unittest.TestAllTypesLite required_all_types = 1;</code>
*/
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();
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public boolean hasOptionalAllTypes() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getOptionalAllTypes() {
return optionalAllTypes_;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public Builder setOptionalAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
optionalAllTypes_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public Builder setOptionalAllTypes(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
optionalAllTypes_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
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;
}
/**
* <code>optional .protobuf_unittest.TestAllTypesLite optional_all_types = 2;</code>
*/
public Builder clearOptionalAllTypes() {
optionalAllTypes_ = com.google.protobuf.UnittestLite.TestAllTypesLite.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> repeatedAllTypes_ =
java.util.Collections.emptyList();
private void ensureRepeatedAllTypesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
repeatedAllTypes_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestAllTypesLite>(repeatedAllTypes_);
bitField0_ |= 0x00000004;
}
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite> getRepeatedAllTypesList() {
return java.util.Collections.unmodifiableList(repeatedAllTypes_);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public int getRepeatedAllTypesCount() {
return repeatedAllTypes_.size();
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public com.google.protobuf.UnittestLite.TestAllTypesLite getRepeatedAllTypes(int index) {
return repeatedAllTypes_.get(index);
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder setRepeatedAllTypes(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.set(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder setRepeatedAllTypes(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder addRepeatedAllTypes(com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.add(value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder addRepeatedAllTypes(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.add(index, value);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder addRepeatedAllTypes(
com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder addRepeatedAllTypes(
int index, com.google.protobuf.UnittestLite.TestAllTypesLite.Builder builderForValue) {
ensureRepeatedAllTypesIsMutable();
repeatedAllTypes_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder addAllRepeatedAllTypes(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestAllTypesLite> values) {
ensureRepeatedAllTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedAllTypes_);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
public Builder clearRepeatedAllTypes() {
repeatedAllTypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* <code>repeated .protobuf_unittest.TestAllTypesLite repeated_all_types = 3;</code>
*/
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();
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public boolean hasOptionalGroup() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup getOptionalGroup() {
return optionalGroup_;
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public Builder setOptionalGroup(com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup value) {
if (value == null) {
throw new NullPointerException();
}
optionalGroup_ = value;
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public Builder setOptionalGroup(
com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.Builder builderForValue) {
optionalGroup_ = builderForValue.build();
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
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;
}
/**
* <code>optional group OptionalGroup = 10 { ... }</code>
*/
public Builder clearOptionalGroup() {
optionalGroup_ = com.google.protobuf.UnittestLite.TestParsingMergeLite.OptionalGroup.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
private java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup> repeatedGroup_ =
java.util.Collections.emptyList();
private void ensureRepeatedGroupIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
repeatedGroup_ = new java.util.ArrayList<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup>(repeatedGroup_);
bitField0_ |= 0x00000010;
}
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public java.util.List<com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup> getRepeatedGroupList() {
return java.util.Collections.unmodifiableList(repeatedGroup_);
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public int getRepeatedGroupCount() {
return repeatedGroup_.size();
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup getRepeatedGroup(int index) {
return repeatedGroup_.get(index);
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
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;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder setRepeatedGroup(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder addRepeatedGroup(com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup value) {
if (value == null) {
throw new NullPointerException();
}
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(value);
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
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;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder addRepeatedGroup(
com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder addRepeatedGroup(
int index, com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup.Builder builderForValue) {
ensureRepeatedGroupIsMutable();
repeatedGroup_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder addAllRepeatedGroup(
java.lang.Iterable<? extends com.google.protobuf.UnittestLite.TestParsingMergeLite.RepeatedGroup> values) {
ensureRepeatedGroupIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, repeatedGroup_);
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
public Builder clearRepeatedGroup() {
repeatedGroup_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* <code>repeated group RepeatedGroup = 20 { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestParsingMergeLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestParsingMergeLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestParsingMergeLite,
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite>> 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}
*
* <pre>
* TestEmptyMessageLite is used to test unknown fields support in lite mode.
* </pre>
*/
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<TestEmptyMessageLite> PARSER =
new com.google.protobuf.AbstractParser<TestEmptyMessageLite>() {
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<TestEmptyMessageLite> 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}
*
* <pre>
* TestEmptyMessageLite is used to test unknown fields support in lite mode.
* </pre>
*/
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<TestEmptyMessageWithExtensionsLite> {
}
/**
* Protobuf type {@code protobuf_unittest.TestEmptyMessageWithExtensionsLite}
*
* <pre>
* Like above, but declare all field numbers as potential extensions. No
* actual extensions should ever be defined for this type.
* </pre>
*/
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<com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite, ?> 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<TestEmptyMessageWithExtensionsLite> PARSER =
new com.google.protobuf.AbstractParser<TestEmptyMessageWithExtensionsLite>() {
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<TestEmptyMessageWithExtensionsLite> 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<com.google.protobuf.UnittestLite.TestEmptyMessageWithExtensionsLite>.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}
*
* <pre>
* Like above, but declare all field numbers as potential extensions. No
* actual extensions should ever be defined for this type.
* </pre>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*
* <pre>
* Singular
* </pre>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*
* <pre>
* Repeated
* </pre>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Float>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Double>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.Boolean>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.String>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.ByteString>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.RepeatedGroup_extension_lite>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.ForeignMessageLite>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestImportLite.ImportMessageLite>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedEnum>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestImportLite.ImportEnumLite>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.String>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<java.lang.String>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestAllExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.TestAllTypesLite.NestedMessage>> 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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*
* <pre>
* Singular with defaults
* </pre>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*
* <pre>
* For oneof test
* </pre>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestAllExtensionsLite { ... }</code>
*/
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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Integer>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Long>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Float>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Double>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<java.lang.Boolean>> 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;
/**
* <code>extend .protobuf_unittest.TestPackedExtensionsLite { ... }</code>
*/
public static final
com.google.protobuf.GeneratedMessageLite.GeneratedExtension<
com.google.protobuf.UnittestLite.TestPackedExtensionsLite,
java.util.List<com.google.protobuf.UnittestLite.ForeignEnumLite>> 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)
}