-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto3_test_pb.js
1 lines (1 loc) · 23.4 KB
/
proto3_test_pb.js
1
var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")(),testbinary_pb=require("./testbinary_pb.js");goog.exportSymbol("proto.jspb.test.Proto3Enum",null,global),goog.exportSymbol("proto.jspb.test.TestProto3",null,global),proto.jspb.test.TestProto3=function(e){jspb.Message.initialize(this,e,0,-1,proto.jspb.test.TestProto3.repeatedFields_,proto.jspb.test.TestProto3.oneofGroups_)},goog.inherits(proto.jspb.test.TestProto3,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.jspb.test.TestProto3.displayName="proto.jspb.test.TestProto3"),proto.jspb.test.TestProto3.repeatedFields_=[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,49,52],proto.jspb.test.TestProto3.oneofGroups_=[[111,112,113,114]],proto.jspb.test.TestProto3.OneofFieldCase={ONEOF_FIELD_NOT_SET:0,ONEOF_UINT32:111,ONEOF_FOREIGN_MESSAGE:112,ONEOF_STRING:113,ONEOF_BYTES:114},proto.jspb.test.TestProto3.prototype.getOneofFieldCase=function(){return jspb.Message.computeOneofCase(this,proto.jspb.test.TestProto3.oneofGroups_[0])},jspb.Message.GENERATE_TO_OBJECT&&(proto.jspb.test.TestProto3.prototype.toObject=function(e){return proto.jspb.test.TestProto3.toObject(e,this)},proto.jspb.test.TestProto3.toObject=function(e,t){var s,o={optionalInt32:jspb.Message.getFieldWithDefault(t,1,0),optionalInt64:jspb.Message.getFieldWithDefault(t,2,0),optionalUint32:jspb.Message.getFieldWithDefault(t,3,0),optionalUint64:jspb.Message.getFieldWithDefault(t,4,0),optionalSint32:jspb.Message.getFieldWithDefault(t,5,0),optionalSint64:jspb.Message.getFieldWithDefault(t,6,0),optionalFixed32:jspb.Message.getFieldWithDefault(t,7,0),optionalFixed64:jspb.Message.getFieldWithDefault(t,8,0),optionalSfixed32:jspb.Message.getFieldWithDefault(t,9,0),optionalSfixed64:jspb.Message.getFieldWithDefault(t,10,0),optionalFloat:+jspb.Message.getFieldWithDefault(t,11,0),optionalDouble:+jspb.Message.getFieldWithDefault(t,12,0),optionalBool:jspb.Message.getFieldWithDefault(t,13,!1),optionalString:jspb.Message.getFieldWithDefault(t,14,""),optionalBytes:t.getOptionalBytes_asB64(),optionalForeignMessage:(s=t.getOptionalForeignMessage())&&testbinary_pb.ForeignMessage.toObject(e,s),optionalForeignEnum:jspb.Message.getFieldWithDefault(t,22,0),repeatedInt32List:jspb.Message.getRepeatedField(t,31),repeatedInt64List:jspb.Message.getRepeatedField(t,32),repeatedUint32List:jspb.Message.getRepeatedField(t,33),repeatedUint64List:jspb.Message.getRepeatedField(t,34),repeatedSint32List:jspb.Message.getRepeatedField(t,35),repeatedSint64List:jspb.Message.getRepeatedField(t,36),repeatedFixed32List:jspb.Message.getRepeatedField(t,37),repeatedFixed64List:jspb.Message.getRepeatedField(t,38),repeatedSfixed32List:jspb.Message.getRepeatedField(t,39),repeatedSfixed64List:jspb.Message.getRepeatedField(t,40),repeatedFloatList:jspb.Message.getRepeatedFloatingPointField(t,41),repeatedDoubleList:jspb.Message.getRepeatedFloatingPointField(t,42),repeatedBoolList:jspb.Message.getRepeatedField(t,43),repeatedStringList:jspb.Message.getRepeatedField(t,44),repeatedBytesList:t.getRepeatedBytesList_asB64(),repeatedForeignMessageList:jspb.Message.toObjectList(t.getRepeatedForeignMessageList(),testbinary_pb.ForeignMessage.toObject,e),repeatedForeignEnumList:jspb.Message.getRepeatedField(t,52),oneofUint32:jspb.Message.getFieldWithDefault(t,111,0),oneofForeignMessage:(s=t.getOneofForeignMessage())&&testbinary_pb.ForeignMessage.toObject(e,s),oneofString:jspb.Message.getFieldWithDefault(t,113,""),oneofBytes:t.getOneofBytes_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.jspb.test.TestProto3.deserializeBinary=function(e){var t=new jspb.BinaryReader(e),s=new proto.jspb.test.TestProto3;return proto.jspb.test.TestProto3.deserializeBinaryFromReader(s,t)},proto.jspb.test.TestProto3.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var s=t.readInt32();e.setOptionalInt32(s);break;case 2:s=t.readInt64();e.setOptionalInt64(s);break;case 3:s=t.readUint32();e.setOptionalUint32(s);break;case 4:s=t.readUint64();e.setOptionalUint64(s);break;case 5:s=t.readSint32();e.setOptionalSint32(s);break;case 6:s=t.readSint64();e.setOptionalSint64(s);break;case 7:s=t.readFixed32();e.setOptionalFixed32(s);break;case 8:s=t.readFixed64();e.setOptionalFixed64(s);break;case 9:s=t.readSfixed32();e.setOptionalSfixed32(s);break;case 10:s=t.readSfixed64();e.setOptionalSfixed64(s);break;case 11:s=t.readFloat();e.setOptionalFloat(s);break;case 12:s=t.readDouble();e.setOptionalDouble(s);break;case 13:s=t.readBool();e.setOptionalBool(s);break;case 14:s=t.readString();e.setOptionalString(s);break;case 15:s=t.readBytes();e.setOptionalBytes(s);break;case 19:s=new testbinary_pb.ForeignMessage;t.readMessage(s,testbinary_pb.ForeignMessage.deserializeBinaryFromReader),e.setOptionalForeignMessage(s);break;case 22:s=t.readEnum();e.setOptionalForeignEnum(s);break;case 31:s=t.readPackedInt32();e.setRepeatedInt32List(s);break;case 32:s=t.readPackedInt64();e.setRepeatedInt64List(s);break;case 33:s=t.readPackedUint32();e.setRepeatedUint32List(s);break;case 34:s=t.readPackedUint64();e.setRepeatedUint64List(s);break;case 35:s=t.readPackedSint32();e.setRepeatedSint32List(s);break;case 36:s=t.readPackedSint64();e.setRepeatedSint64List(s);break;case 37:s=t.readPackedFixed32();e.setRepeatedFixed32List(s);break;case 38:s=t.readPackedFixed64();e.setRepeatedFixed64List(s);break;case 39:s=t.readPackedSfixed32();e.setRepeatedSfixed32List(s);break;case 40:s=t.readPackedSfixed64();e.setRepeatedSfixed64List(s);break;case 41:s=t.readPackedFloat();e.setRepeatedFloatList(s);break;case 42:s=t.readPackedDouble();e.setRepeatedDoubleList(s);break;case 43:s=t.readPackedBool();e.setRepeatedBoolList(s);break;case 44:s=t.readString();e.addRepeatedString(s);break;case 45:s=t.readBytes();e.addRepeatedBytes(s);break;case 49:s=new testbinary_pb.ForeignMessage;t.readMessage(s,testbinary_pb.ForeignMessage.deserializeBinaryFromReader),e.addRepeatedForeignMessage(s);break;case 52:s=t.readPackedEnum();e.setRepeatedForeignEnumList(s);break;case 111:s=t.readUint32();e.setOneofUint32(s);break;case 112:s=new testbinary_pb.ForeignMessage;t.readMessage(s,testbinary_pb.ForeignMessage.deserializeBinaryFromReader),e.setOneofForeignMessage(s);break;case 113:s=t.readString();e.setOneofString(s);break;case 114:s=t.readBytes();e.setOneofBytes(s);break;default:t.skipField()}}return e},proto.jspb.test.TestProto3.prototype.serializeBinary=function(){var e=new jspb.BinaryWriter;return proto.jspb.test.TestProto3.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.jspb.test.TestProto3.serializeBinaryToWriter=function(e,t){var s=void 0;0!==(s=e.getOptionalInt32())&&t.writeInt32(1,s),0!==(s=e.getOptionalInt64())&&t.writeInt64(2,s),0!==(s=e.getOptionalUint32())&&t.writeUint32(3,s),0!==(s=e.getOptionalUint64())&&t.writeUint64(4,s),0!==(s=e.getOptionalSint32())&&t.writeSint32(5,s),0!==(s=e.getOptionalSint64())&&t.writeSint64(6,s),0!==(s=e.getOptionalFixed32())&&t.writeFixed32(7,s),0!==(s=e.getOptionalFixed64())&&t.writeFixed64(8,s),0!==(s=e.getOptionalSfixed32())&&t.writeSfixed32(9,s),0!==(s=e.getOptionalSfixed64())&&t.writeSfixed64(10,s),0!==(s=e.getOptionalFloat())&&t.writeFloat(11,s),0!==(s=e.getOptionalDouble())&&t.writeDouble(12,s),(s=e.getOptionalBool())&&t.writeBool(13,s),(s=e.getOptionalString()).length>0&&t.writeString(14,s),(s=e.getOptionalBytes_asU8()).length>0&&t.writeBytes(15,s),null!=(s=e.getOptionalForeignMessage())&&t.writeMessage(19,s,testbinary_pb.ForeignMessage.serializeBinaryToWriter),0!==(s=e.getOptionalForeignEnum())&&t.writeEnum(22,s),(s=e.getRepeatedInt32List()).length>0&&t.writePackedInt32(31,s),(s=e.getRepeatedInt64List()).length>0&&t.writePackedInt64(32,s),(s=e.getRepeatedUint32List()).length>0&&t.writePackedUint32(33,s),(s=e.getRepeatedUint64List()).length>0&&t.writePackedUint64(34,s),(s=e.getRepeatedSint32List()).length>0&&t.writePackedSint32(35,s),(s=e.getRepeatedSint64List()).length>0&&t.writePackedSint64(36,s),(s=e.getRepeatedFixed32List()).length>0&&t.writePackedFixed32(37,s),(s=e.getRepeatedFixed64List()).length>0&&t.writePackedFixed64(38,s),(s=e.getRepeatedSfixed32List()).length>0&&t.writePackedSfixed32(39,s),(s=e.getRepeatedSfixed64List()).length>0&&t.writePackedSfixed64(40,s),(s=e.getRepeatedFloatList()).length>0&&t.writePackedFloat(41,s),(s=e.getRepeatedDoubleList()).length>0&&t.writePackedDouble(42,s),(s=e.getRepeatedBoolList()).length>0&&t.writePackedBool(43,s),(s=e.getRepeatedStringList()).length>0&&t.writeRepeatedString(44,s),(s=e.getRepeatedBytesList_asU8()).length>0&&t.writeRepeatedBytes(45,s),(s=e.getRepeatedForeignMessageList()).length>0&&t.writeRepeatedMessage(49,s,testbinary_pb.ForeignMessage.serializeBinaryToWriter),(s=e.getRepeatedForeignEnumList()).length>0&&t.writePackedEnum(52,s),null!=(s=jspb.Message.getField(e,111))&&t.writeUint32(111,s),null!=(s=e.getOneofForeignMessage())&&t.writeMessage(112,s,testbinary_pb.ForeignMessage.serializeBinaryToWriter),null!=(s=jspb.Message.getField(e,113))&&t.writeString(113,s),null!=(s=jspb.Message.getField(e,114))&&t.writeBytes(114,s)},proto.jspb.test.TestProto3.prototype.getOptionalInt32=function(){return jspb.Message.getFieldWithDefault(this,1,0)},proto.jspb.test.TestProto3.prototype.setOptionalInt32=function(e){jspb.Message.setProto3IntField(this,1,e)},proto.jspb.test.TestProto3.prototype.getOptionalInt64=function(){return jspb.Message.getFieldWithDefault(this,2,0)},proto.jspb.test.TestProto3.prototype.setOptionalInt64=function(e){jspb.Message.setProto3IntField(this,2,e)},proto.jspb.test.TestProto3.prototype.getOptionalUint32=function(){return jspb.Message.getFieldWithDefault(this,3,0)},proto.jspb.test.TestProto3.prototype.setOptionalUint32=function(e){jspb.Message.setProto3IntField(this,3,e)},proto.jspb.test.TestProto3.prototype.getOptionalUint64=function(){return jspb.Message.getFieldWithDefault(this,4,0)},proto.jspb.test.TestProto3.prototype.setOptionalUint64=function(e){jspb.Message.setProto3IntField(this,4,e)},proto.jspb.test.TestProto3.prototype.getOptionalSint32=function(){return jspb.Message.getFieldWithDefault(this,5,0)},proto.jspb.test.TestProto3.prototype.setOptionalSint32=function(e){jspb.Message.setProto3IntField(this,5,e)},proto.jspb.test.TestProto3.prototype.getOptionalSint64=function(){return jspb.Message.getFieldWithDefault(this,6,0)},proto.jspb.test.TestProto3.prototype.setOptionalSint64=function(e){jspb.Message.setProto3IntField(this,6,e)},proto.jspb.test.TestProto3.prototype.getOptionalFixed32=function(){return jspb.Message.getFieldWithDefault(this,7,0)},proto.jspb.test.TestProto3.prototype.setOptionalFixed32=function(e){jspb.Message.setProto3IntField(this,7,e)},proto.jspb.test.TestProto3.prototype.getOptionalFixed64=function(){return jspb.Message.getFieldWithDefault(this,8,0)},proto.jspb.test.TestProto3.prototype.setOptionalFixed64=function(e){jspb.Message.setProto3IntField(this,8,e)},proto.jspb.test.TestProto3.prototype.getOptionalSfixed32=function(){return jspb.Message.getFieldWithDefault(this,9,0)},proto.jspb.test.TestProto3.prototype.setOptionalSfixed32=function(e){jspb.Message.setProto3IntField(this,9,e)},proto.jspb.test.TestProto3.prototype.getOptionalSfixed64=function(){return jspb.Message.getFieldWithDefault(this,10,0)},proto.jspb.test.TestProto3.prototype.setOptionalSfixed64=function(e){jspb.Message.setProto3IntField(this,10,e)},proto.jspb.test.TestProto3.prototype.getOptionalFloat=function(){return+jspb.Message.getFieldWithDefault(this,11,0)},proto.jspb.test.TestProto3.prototype.setOptionalFloat=function(e){jspb.Message.setProto3FloatField(this,11,e)},proto.jspb.test.TestProto3.prototype.getOptionalDouble=function(){return+jspb.Message.getFieldWithDefault(this,12,0)},proto.jspb.test.TestProto3.prototype.setOptionalDouble=function(e){jspb.Message.setProto3FloatField(this,12,e)},proto.jspb.test.TestProto3.prototype.getOptionalBool=function(){return jspb.Message.getFieldWithDefault(this,13,!1)},proto.jspb.test.TestProto3.prototype.setOptionalBool=function(e){jspb.Message.setProto3BooleanField(this,13,e)},proto.jspb.test.TestProto3.prototype.getOptionalString=function(){return jspb.Message.getFieldWithDefault(this,14,"")},proto.jspb.test.TestProto3.prototype.setOptionalString=function(e){jspb.Message.setProto3StringField(this,14,e)},proto.jspb.test.TestProto3.prototype.getOptionalBytes=function(){return jspb.Message.getFieldWithDefault(this,15,"")},proto.jspb.test.TestProto3.prototype.getOptionalBytes_asB64=function(){return jspb.Message.bytesAsB64(this.getOptionalBytes())},proto.jspb.test.TestProto3.prototype.getOptionalBytes_asU8=function(){return jspb.Message.bytesAsU8(this.getOptionalBytes())},proto.jspb.test.TestProto3.prototype.setOptionalBytes=function(e){jspb.Message.setProto3BytesField(this,15,e)},proto.jspb.test.TestProto3.prototype.getOptionalForeignMessage=function(){return jspb.Message.getWrapperField(this,testbinary_pb.ForeignMessage,19)},proto.jspb.test.TestProto3.prototype.setOptionalForeignMessage=function(e){jspb.Message.setWrapperField(this,19,e)},proto.jspb.test.TestProto3.prototype.clearOptionalForeignMessage=function(){this.setOptionalForeignMessage(void 0)},proto.jspb.test.TestProto3.prototype.hasOptionalForeignMessage=function(){return null!=jspb.Message.getField(this,19)},proto.jspb.test.TestProto3.prototype.getOptionalForeignEnum=function(){return jspb.Message.getFieldWithDefault(this,22,0)},proto.jspb.test.TestProto3.prototype.setOptionalForeignEnum=function(e){jspb.Message.setProto3EnumField(this,22,e)},proto.jspb.test.TestProto3.prototype.getRepeatedInt32List=function(){return jspb.Message.getRepeatedField(this,31)},proto.jspb.test.TestProto3.prototype.setRepeatedInt32List=function(e){jspb.Message.setField(this,31,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedInt32=function(e,t){jspb.Message.addToRepeatedField(this,31,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedInt32List=function(){this.setRepeatedInt32List([])},proto.jspb.test.TestProto3.prototype.getRepeatedInt64List=function(){return jspb.Message.getRepeatedField(this,32)},proto.jspb.test.TestProto3.prototype.setRepeatedInt64List=function(e){jspb.Message.setField(this,32,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedInt64=function(e,t){jspb.Message.addToRepeatedField(this,32,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedInt64List=function(){this.setRepeatedInt64List([])},proto.jspb.test.TestProto3.prototype.getRepeatedUint32List=function(){return jspb.Message.getRepeatedField(this,33)},proto.jspb.test.TestProto3.prototype.setRepeatedUint32List=function(e){jspb.Message.setField(this,33,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedUint32=function(e,t){jspb.Message.addToRepeatedField(this,33,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedUint32List=function(){this.setRepeatedUint32List([])},proto.jspb.test.TestProto3.prototype.getRepeatedUint64List=function(){return jspb.Message.getRepeatedField(this,34)},proto.jspb.test.TestProto3.prototype.setRepeatedUint64List=function(e){jspb.Message.setField(this,34,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedUint64=function(e,t){jspb.Message.addToRepeatedField(this,34,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedUint64List=function(){this.setRepeatedUint64List([])},proto.jspb.test.TestProto3.prototype.getRepeatedSint32List=function(){return jspb.Message.getRepeatedField(this,35)},proto.jspb.test.TestProto3.prototype.setRepeatedSint32List=function(e){jspb.Message.setField(this,35,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedSint32=function(e,t){jspb.Message.addToRepeatedField(this,35,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedSint32List=function(){this.setRepeatedSint32List([])},proto.jspb.test.TestProto3.prototype.getRepeatedSint64List=function(){return jspb.Message.getRepeatedField(this,36)},proto.jspb.test.TestProto3.prototype.setRepeatedSint64List=function(e){jspb.Message.setField(this,36,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedSint64=function(e,t){jspb.Message.addToRepeatedField(this,36,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedSint64List=function(){this.setRepeatedSint64List([])},proto.jspb.test.TestProto3.prototype.getRepeatedFixed32List=function(){return jspb.Message.getRepeatedField(this,37)},proto.jspb.test.TestProto3.prototype.setRepeatedFixed32List=function(e){jspb.Message.setField(this,37,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedFixed32=function(e,t){jspb.Message.addToRepeatedField(this,37,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedFixed32List=function(){this.setRepeatedFixed32List([])},proto.jspb.test.TestProto3.prototype.getRepeatedFixed64List=function(){return jspb.Message.getRepeatedField(this,38)},proto.jspb.test.TestProto3.prototype.setRepeatedFixed64List=function(e){jspb.Message.setField(this,38,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedFixed64=function(e,t){jspb.Message.addToRepeatedField(this,38,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedFixed64List=function(){this.setRepeatedFixed64List([])},proto.jspb.test.TestProto3.prototype.getRepeatedSfixed32List=function(){return jspb.Message.getRepeatedField(this,39)},proto.jspb.test.TestProto3.prototype.setRepeatedSfixed32List=function(e){jspb.Message.setField(this,39,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedSfixed32=function(e,t){jspb.Message.addToRepeatedField(this,39,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedSfixed32List=function(){this.setRepeatedSfixed32List([])},proto.jspb.test.TestProto3.prototype.getRepeatedSfixed64List=function(){return jspb.Message.getRepeatedField(this,40)},proto.jspb.test.TestProto3.prototype.setRepeatedSfixed64List=function(e){jspb.Message.setField(this,40,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedSfixed64=function(e,t){jspb.Message.addToRepeatedField(this,40,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedSfixed64List=function(){this.setRepeatedSfixed64List([])},proto.jspb.test.TestProto3.prototype.getRepeatedFloatList=function(){return jspb.Message.getRepeatedFloatingPointField(this,41)},proto.jspb.test.TestProto3.prototype.setRepeatedFloatList=function(e){jspb.Message.setField(this,41,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedFloat=function(e,t){jspb.Message.addToRepeatedField(this,41,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedFloatList=function(){this.setRepeatedFloatList([])},proto.jspb.test.TestProto3.prototype.getRepeatedDoubleList=function(){return jspb.Message.getRepeatedFloatingPointField(this,42)},proto.jspb.test.TestProto3.prototype.setRepeatedDoubleList=function(e){jspb.Message.setField(this,42,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedDouble=function(e,t){jspb.Message.addToRepeatedField(this,42,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedDoubleList=function(){this.setRepeatedDoubleList([])},proto.jspb.test.TestProto3.prototype.getRepeatedBoolList=function(){return jspb.Message.getRepeatedField(this,43)},proto.jspb.test.TestProto3.prototype.setRepeatedBoolList=function(e){jspb.Message.setField(this,43,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedBool=function(e,t){jspb.Message.addToRepeatedField(this,43,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedBoolList=function(){this.setRepeatedBoolList([])},proto.jspb.test.TestProto3.prototype.getRepeatedStringList=function(){return jspb.Message.getRepeatedField(this,44)},proto.jspb.test.TestProto3.prototype.setRepeatedStringList=function(e){jspb.Message.setField(this,44,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedString=function(e,t){jspb.Message.addToRepeatedField(this,44,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedStringList=function(){this.setRepeatedStringList([])},proto.jspb.test.TestProto3.prototype.getRepeatedBytesList=function(){return jspb.Message.getRepeatedField(this,45)},proto.jspb.test.TestProto3.prototype.getRepeatedBytesList_asB64=function(){return jspb.Message.bytesListAsB64(this.getRepeatedBytesList())},proto.jspb.test.TestProto3.prototype.getRepeatedBytesList_asU8=function(){return jspb.Message.bytesListAsU8(this.getRepeatedBytesList())},proto.jspb.test.TestProto3.prototype.setRepeatedBytesList=function(e){jspb.Message.setField(this,45,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedBytes=function(e,t){jspb.Message.addToRepeatedField(this,45,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedBytesList=function(){this.setRepeatedBytesList([])},proto.jspb.test.TestProto3.prototype.getRepeatedForeignMessageList=function(){return jspb.Message.getRepeatedWrapperField(this,testbinary_pb.ForeignMessage,49)},proto.jspb.test.TestProto3.prototype.setRepeatedForeignMessageList=function(e){jspb.Message.setRepeatedWrapperField(this,49,e)},proto.jspb.test.TestProto3.prototype.addRepeatedForeignMessage=function(e,t){return jspb.Message.addToRepeatedWrapperField(this,49,e,proto.jspb.test.ForeignMessage,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedForeignMessageList=function(){this.setRepeatedForeignMessageList([])},proto.jspb.test.TestProto3.prototype.getRepeatedForeignEnumList=function(){return jspb.Message.getRepeatedField(this,52)},proto.jspb.test.TestProto3.prototype.setRepeatedForeignEnumList=function(e){jspb.Message.setField(this,52,e||[])},proto.jspb.test.TestProto3.prototype.addRepeatedForeignEnum=function(e,t){jspb.Message.addToRepeatedField(this,52,e,t)},proto.jspb.test.TestProto3.prototype.clearRepeatedForeignEnumList=function(){this.setRepeatedForeignEnumList([])},proto.jspb.test.TestProto3.prototype.getOneofUint32=function(){return jspb.Message.getFieldWithDefault(this,111,0)},proto.jspb.test.TestProto3.prototype.setOneofUint32=function(e){jspb.Message.setOneofField(this,111,proto.jspb.test.TestProto3.oneofGroups_[0],e)},proto.jspb.test.TestProto3.prototype.clearOneofUint32=function(){jspb.Message.setOneofField(this,111,proto.jspb.test.TestProto3.oneofGroups_[0],void 0)},proto.jspb.test.TestProto3.prototype.hasOneofUint32=function(){return null!=jspb.Message.getField(this,111)},proto.jspb.test.TestProto3.prototype.getOneofForeignMessage=function(){return jspb.Message.getWrapperField(this,testbinary_pb.ForeignMessage,112)},proto.jspb.test.TestProto3.prototype.setOneofForeignMessage=function(e){jspb.Message.setOneofWrapperField(this,112,proto.jspb.test.TestProto3.oneofGroups_[0],e)},proto.jspb.test.TestProto3.prototype.clearOneofForeignMessage=function(){this.setOneofForeignMessage(void 0)},proto.jspb.test.TestProto3.prototype.hasOneofForeignMessage=function(){return null!=jspb.Message.getField(this,112)},proto.jspb.test.TestProto3.prototype.getOneofString=function(){return jspb.Message.getFieldWithDefault(this,113,"")},proto.jspb.test.TestProto3.prototype.setOneofString=function(e){jspb.Message.setOneofField(this,113,proto.jspb.test.TestProto3.oneofGroups_[0],e)},proto.jspb.test.TestProto3.prototype.clearOneofString=function(){jspb.Message.setOneofField(this,113,proto.jspb.test.TestProto3.oneofGroups_[0],void 0)},proto.jspb.test.TestProto3.prototype.hasOneofString=function(){return null!=jspb.Message.getField(this,113)},proto.jspb.test.TestProto3.prototype.getOneofBytes=function(){return jspb.Message.getFieldWithDefault(this,114,"")},proto.jspb.test.TestProto3.prototype.getOneofBytes_asB64=function(){return jspb.Message.bytesAsB64(this.getOneofBytes())},proto.jspb.test.TestProto3.prototype.getOneofBytes_asU8=function(){return jspb.Message.bytesAsU8(this.getOneofBytes())},proto.jspb.test.TestProto3.prototype.setOneofBytes=function(e){jspb.Message.setOneofField(this,114,proto.jspb.test.TestProto3.oneofGroups_[0],e)},proto.jspb.test.TestProto3.prototype.clearOneofBytes=function(){jspb.Message.setOneofField(this,114,proto.jspb.test.TestProto3.oneofGroups_[0],void 0)},proto.jspb.test.TestProto3.prototype.hasOneofBytes=function(){return null!=jspb.Message.getField(this,114)},proto.jspb.test.Proto3Enum={PROTO3_FOO:0,PROTO3_BAR:1,PROTO3_BAZ:2,MSG_PROTO3_BAH:3},goog.object.extend(exports,proto.jspb.test);