Esempio n. 1
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Raw.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Raw);
     }
     if (Platform.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Platform);
     }
     if (Os.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Os);
     }
     if (OsVersion.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(OsVersion);
     }
     if (Engine.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(Engine);
     }
     if (EngineVersion.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(EngineVersion);
     }
     if (Browser.Length != 0)
     {
         output.WriteRawTag(58);
         output.WriteString(Browser);
     }
     if (BrowserVersion.Length != 0)
     {
         output.WriteRawTag(66);
         output.WriteString(BrowserVersion);
     }
     if (Localization.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(Localization);
     }
     if (Mobile != false)
     {
         output.WriteRawTag(80);
         output.WriteBool(Mobile);
     }
     if (WalletCompatible != false)
     {
         output.WriteRawTag(88);
         output.WriteBool(WalletCompatible);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 2
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (U1 != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(U1);
     }
     if (U2 != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(U2);
     }
     if (U3 != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(U3);
     }
     if (U4 != 0)
     {
         output.WriteRawTag(32);
         output.WriteInt32(U4);
     }
     if (U5 != 0)
     {
         output.WriteRawTag(40);
         output.WriteInt32(U5);
     }
     if (U6 != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(U6);
     }
     if (U7 != 0)
     {
         output.WriteRawTag(56);
         output.WriteInt32(U7);
     }
     if (U8 != 0)
     {
         output.WriteRawTag(64);
         output.WriteInt32(U8);
     }
     if (U9 != 0)
     {
         output.WriteRawTag(72);
         output.WriteInt32(U9);
     }
     if (U10 != 0)
     {
         output.WriteRawTag(80);
         output.WriteInt32(U10);
     }
     if (U11 != 0)
     {
         output.WriteRawTag(88);
         output.WriteInt32(U11);
     }
     if (U12 != 0)
     {
         output.WriteRawTag(96);
         output.WriteInt32(U12);
     }
     if (U13 != 0)
     {
         output.WriteRawTag(104);
         output.WriteInt32(U13);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 3
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ResourceName.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(ResourceName);
     }
     if (lastChangeDateTime_ != null)
     {
         _single_lastChangeDateTime_codec.WriteTagAndValue(output, LastChangeDateTime);
     }
     if (ResourceType != 0)
     {
         output.WriteRawTag(32);
         output.WriteEnum((int)ResourceType);
     }
     if (campaign_ != null)
     {
         _single_campaign_codec.WriteTagAndValue(output, Campaign);
     }
     if (adGroup_ != null)
     {
         _single_adGroup_codec.WriteTagAndValue(output, AdGroup);
     }
     if (ResourceStatus != 0)
     {
         output.WriteRawTag(64);
         output.WriteEnum((int)ResourceStatus);
     }
     if (adGroupAd_ != null)
     {
         _single_adGroupAd_codec.WriteTagAndValue(output, AdGroupAd);
     }
     if (adGroupCriterion_ != null)
     {
         _single_adGroupCriterion_codec.WriteTagAndValue(output, AdGroupCriterion);
     }
     if (campaignCriterion_ != null)
     {
         _single_campaignCriterion_codec.WriteTagAndValue(output, CampaignCriterion);
     }
     if (feed_ != null)
     {
         _single_feed_codec.WriteTagAndValue(output, Feed);
     }
     if (feedItem_ != null)
     {
         _single_feedItem_codec.WriteTagAndValue(output, FeedItem);
     }
     if (adGroupFeed_ != null)
     {
         _single_adGroupFeed_codec.WriteTagAndValue(output, AdGroupFeed);
     }
     if (campaignFeed_ != null)
     {
         _single_campaignFeed_codec.WriteTagAndValue(output, CampaignFeed);
     }
     if (adGroupBidModifier_ != null)
     {
         _single_adGroupBidModifier_codec.WriteTagAndValue(output, AdGroupBidModifier);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 4
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (ResourceName.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(ResourceName);
         }
         if (criterionCase_ == CriterionOneofCase.HotelDateSelectionType)
         {
             output.WriteRawTag(42);
             output.WriteMessage(HotelDateSelectionType);
         }
         if (criterionCase_ == CriterionOneofCase.HotelAdvanceBookingWindow)
         {
             output.WriteRawTag(50);
             output.WriteMessage(HotelAdvanceBookingWindow);
         }
         if (criterionCase_ == CriterionOneofCase.HotelLengthOfStay)
         {
             output.WriteRawTag(58);
             output.WriteMessage(HotelLengthOfStay);
         }
         if (criterionCase_ == CriterionOneofCase.HotelCheckInDay)
         {
             output.WriteRawTag(66);
             output.WriteMessage(HotelCheckInDay);
         }
         if (BidModifierSource != global::Google.Ads.GoogleAds.V5.Enums.BidModifierSourceEnum.Types.BidModifierSource.Unspecified)
         {
             output.WriteRawTag(80);
             output.WriteEnum((int)BidModifierSource);
         }
         if (criterionCase_ == CriterionOneofCase.Device)
         {
             output.WriteRawTag(90);
             output.WriteMessage(Device);
         }
         if (criterionCase_ == CriterionOneofCase.PreferredContent)
         {
             output.WriteRawTag(98);
             output.WriteMessage(PreferredContent);
         }
         if (HasAdGroup)
         {
             output.WriteRawTag(106);
             output.WriteString(AdGroup);
         }
         if (HasCriterionId)
         {
             output.WriteRawTag(112);
             output.WriteInt64(CriterionId);
         }
         if (HasBidModifier)
         {
             output.WriteRawTag(121);
             output.WriteDouble(BidModifier);
         }
         if (HasBaseAdGroup)
         {
             output.WriteRawTag(130, 1);
             output.WriteString(BaseAdGroup);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 5
0
 public void WriteTo(pb::CodedOutputStream output) {
   if (_unknownFields != null) {
     _unknownFields.WriteTo(output);
   }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Skin != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(Skin);
     }
     if (Hair != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(Hair);
     }
     if (Shirt != 0)
     {
         output.WriteRawTag(32);
         output.WriteInt32(Shirt);
     }
     if (Pants != 0)
     {
         output.WriteRawTag(40);
         output.WriteInt32(Pants);
     }
     if (Hat != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(Hat);
     }
     if (Shoes != 0)
     {
         output.WriteRawTag(56);
         output.WriteInt32(Shoes);
     }
     if (Avatar != 0)
     {
         output.WriteRawTag(64);
         output.WriteInt32(Avatar);
     }
     if (Eyes != 0)
     {
         output.WriteRawTag(72);
         output.WriteInt32(Eyes);
     }
     if (Backpack != 0)
     {
         output.WriteRawTag(80);
         output.WriteInt32(Backpack);
     }
     if (AvatarHair.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(AvatarHair);
     }
     if (AvatarShirt.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(AvatarShirt);
     }
     if (AvatarPants.Length != 0)
     {
         output.WriteRawTag(106);
         output.WriteString(AvatarPants);
     }
     if (AvatarHat.Length != 0)
     {
         output.WriteRawTag(114);
         output.WriteString(AvatarHat);
     }
     if (AvatarShoes.Length != 0)
     {
         output.WriteRawTag(122);
         output.WriteString(AvatarShoes);
     }
     if (AvatarEyes.Length != 0)
     {
         output.WriteRawTag(130, 1);
         output.WriteString(AvatarEyes);
     }
     if (AvatarBackpack.Length != 0)
     {
         output.WriteRawTag(138, 1);
         output.WriteString(AvatarBackpack);
     }
     if (AvatarGloves.Length != 0)
     {
         output.WriteRawTag(146, 1);
         output.WriteString(AvatarGloves);
     }
     if (AvatarSocks.Length != 0)
     {
         output.WriteRawTag(154, 1);
         output.WriteString(AvatarSocks);
     }
     if (AvatarBelt.Length != 0)
     {
         output.WriteRawTag(162, 1);
         output.WriteString(AvatarBelt);
     }
     if (AvatarGlasses.Length != 0)
     {
         output.WriteRawTag(170, 1);
         output.WriteString(AvatarGlasses);
     }
     if (AvatarNecklace.Length != 0)
     {
         output.WriteRawTag(178, 1);
         output.WriteString(AvatarNecklace);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 7
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (BrokerId.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(BrokerId);
         }
         if (InvestorId.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(InvestorId);
         }
         if (UserId.Length != 0)
         {
             output.WriteRawTag(26);
             output.WriteString(UserId);
         }
         if (InstrumentId.Length != 0)
         {
             output.WriteRawTag(34);
             output.WriteString(InstrumentId);
         }
         if (ExchangeId.Length != 0)
         {
             output.WriteRawTag(42);
             output.WriteString(ExchangeId);
         }
         if (OrderPriceType != 0)
         {
             output.WriteRawTag(48);
             output.WriteInt32(OrderPriceType);
         }
         if (Direction != 0)
         {
             output.WriteRawTag(56);
             output.WriteInt32(Direction);
         }
         if (CombOffsetFlag != 0)
         {
             output.WriteRawTag(64);
             output.WriteInt32(CombOffsetFlag);
         }
         if (CombHedgeFlag != 0)
         {
             output.WriteRawTag(72);
             output.WriteInt32(CombHedgeFlag);
         }
         if (LimitPrice != 0D)
         {
             output.WriteRawTag(81);
             output.WriteDouble(LimitPrice);
         }
         if (VolumeTotalOriginal != 0)
         {
             output.WriteRawTag(88);
             output.WriteInt32(VolumeTotalOriginal);
         }
         if (TimeCondition != 0)
         {
             output.WriteRawTag(96);
             output.WriteInt32(TimeCondition);
         }
         if (VolumeCondition != 0)
         {
             output.WriteRawTag(104);
             output.WriteInt32(VolumeCondition);
         }
         if (MinVolume != 0)
         {
             output.WriteRawTag(112);
             output.WriteInt32(MinVolume);
         }
         if (ContigentCondition != 0)
         {
             output.WriteRawTag(120);
             output.WriteInt32(ContigentCondition);
         }
         if (StopPrice != 0D)
         {
             output.WriteRawTag(129, 1);
             output.WriteDouble(StopPrice);
         }
         if (ForceCloseReason != 0)
         {
             output.WriteRawTag(136, 1);
             output.WriteInt32(ForceCloseReason);
         }
         if (IsAutoSuspend != 0)
         {
             output.WriteRawTag(144, 1);
             output.WriteInt32(IsAutoSuspend);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 8
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (typeCase_ == TypeOneofCase.Success)
     {
         output.WriteRawTag(10);
         output.WriteMessage(Success);
     }
     if (typeCase_ == TypeOneofCase.Error)
     {
         output.WriteRawTag(18);
         output.WriteMessage(Error);
     }
     if (typeCase_ == TypeOneofCase.Client)
     {
         output.WriteRawTag(26);
         output.WriteMessage(Client);
     }
     if (typeCase_ == TypeOneofCase.Device)
     {
         output.WriteRawTag(34);
         output.WriteMessage(Device);
     }
     if (typeCase_ == TypeOneofCase.Server)
     {
         output.WriteRawTag(42);
         output.WriteMessage(Server);
     }
     if (typeCase_ == TypeOneofCase.Session)
     {
         output.WriteRawTag(50);
         output.WriteMessage(Session);
     }
     if (typeCase_ == TypeOneofCase.SessionList)
     {
         output.WriteRawTag(58);
         output.WriteMessage(SessionList);
     }
     if (typeCase_ == TypeOneofCase.ProcessingModule)
     {
         output.WriteRawTag(66);
         output.WriteMessage(ProcessingModule);
     }
     if (typeCase_ == TypeOneofCase.ProcessingModuleList)
     {
         output.WriteRawTag(74);
         output.WriteMessage(ProcessingModuleList);
     }
     if (typeCase_ == TypeOneofCase.StringList)
     {
         output.WriteRawTag(82);
         output.WriteMessage(StringList);
     }
     if (typeCase_ == TypeOneofCase.TopicMux)
     {
         output.WriteRawTag(90);
         output.WriteMessage(TopicMux);
     }
     if (typeCase_ == TypeOneofCase.TopicMuxList)
     {
         output.WriteRawTag(98);
         output.WriteMessage(TopicMuxList);
     }
     if (typeCase_ == TypeOneofCase.TopicDemux)
     {
         output.WriteRawTag(106);
         output.WriteMessage(TopicDemux);
     }
     if (typeCase_ == TypeOneofCase.TopicDemuxList)
     {
         output.WriteRawTag(114);
         output.WriteMessage(TopicDemuxList);
     }
     if (typeCase_ == TypeOneofCase.ClientList)
     {
         output.WriteRawTag(122);
         output.WriteMessage(ClientList);
     }
     if (typeCase_ == TypeOneofCase.DeviceList)
     {
         output.WriteRawTag(130, 1);
         output.WriteMessage(DeviceList);
     }
     if (typeCase_ == TypeOneofCase.Service)
     {
         output.WriteRawTag(138, 1);
         output.WriteMessage(Service);
     }
     if (typeCase_ == TypeOneofCase.ServiceList)
     {
         output.WriteRawTag(146, 1);
         output.WriteMessage(ServiceList);
     }
     if (typeCase_ == TypeOneofCase.LockstepProcessingReply)
     {
         output.WriteRawTag(154, 1);
         output.WriteMessage(LockstepProcessingReply);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 9
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(Id);
     }
     if (Firstname.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Firstname);
     }
     if (Lastname.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Lastname);
     }
     if (Email.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(Email);
     }
     if (City.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(City);
     }
     if (Iban.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(Iban);
     }
     if (Time.Length != 0)
     {
         output.WriteRawTag(58);
         output.WriteString(Time);
     }
     if (Title.Length != 0)
     {
         output.WriteRawTag(66);
         output.WriteString(Title);
     }
     if (Shirtsize.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(Shirtsize);
     }
     if (PostalCode != 0)
     {
         output.WriteRawTag(80);
         output.WriteInt32(PostalCode);
     }
     if (MacAdress.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(MacAdress);
     }
     if (Latitude != 0F)
     {
         output.WriteRawTag(101);
         output.WriteFloat(Latitude);
     }
     if (JobTitle.Length != 0)
     {
         output.WriteRawTag(106);
         output.WriteString(JobTitle);
     }
     if (Currency.Length != 0)
     {
         output.WriteRawTag(114);
         output.WriteString(Currency);
     }
     if (Country.Length != 0)
     {
         output.WriteRawTag(122);
         output.WriteString(Country);
     }
     if (CountryCode.Length != 0)
     {
         output.WriteRawTag(130, 1);
         output.WriteString(CountryCode);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 10
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(Id);
     }
     if (Param1 != 0L)
     {
         output.WriteRawTag(16);
         output.WriteInt64(Param1);
     }
     if (Param2 != 0L)
     {
         output.WriteRawTag(24);
         output.WriteInt64(Param2);
     }
     if (Param3 != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(Param3);
     }
     if (Param4 != 0L)
     {
         output.WriteRawTag(40);
         output.WriteInt64(Param4);
     }
     if (Param5 != 0L)
     {
         output.WriteRawTag(48);
         output.WriteInt64(Param5);
     }
     if (Param6 != 0L)
     {
         output.WriteRawTag(56);
         output.WriteInt64(Param6);
     }
     if (Param7 != 0L)
     {
         output.WriteRawTag(64);
         output.WriteInt64(Param7);
     }
     if (Param8 != 0L)
     {
         output.WriteRawTag(72);
         output.WriteInt64(Param8);
     }
     if (Param9 != 0L)
     {
         output.WriteRawTag(80);
         output.WriteInt64(Param9);
     }
     if (Param10 != 0L)
     {
         output.WriteRawTag(88);
         output.WriteInt64(Param10);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 11
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PosX != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(PosX);
     }
     if (PosY != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(PosY);
     }
     if (PosZ != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(PosZ);
     }
     if (VelX != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(VelX);
     }
     if (VelY != 0F)
     {
         output.WriteRawTag(45);
         output.WriteFloat(VelY);
     }
     if (VelZ != 0F)
     {
         output.WriteRawTag(53);
         output.WriteFloat(VelZ);
     }
     if (AngleX != 0F)
     {
         output.WriteRawTag(61);
         output.WriteFloat(AngleX);
     }
     if (AngleY != 0F)
     {
         output.WriteRawTag(69);
         output.WriteFloat(AngleY);
     }
     if (AngleZ != 0F)
     {
         output.WriteRawTag(77);
         output.WriteFloat(AngleZ);
     }
     if (AngVelX != 0F)
     {
         output.WriteRawTag(85);
         output.WriteFloat(AngVelX);
     }
     if (AngVelY != 0F)
     {
         output.WriteRawTag(93);
         output.WriteFloat(AngVelY);
     }
     if (AngVelZ != 0F)
     {
         output.WriteRawTag(101);
         output.WriteFloat(AngVelZ);
     }
     if (FootContactF != 0F)
     {
         output.WriteRawTag(109);
         output.WriteFloat(FootContactF);
     }
     if (FootContactB != 0F)
     {
         output.WriteRawTag(117);
         output.WriteFloat(FootContactB);
     }
     if (FootContactL != 0F)
     {
         output.WriteRawTag(125);
         output.WriteFloat(FootContactL);
     }
     if (FootContactR != 0F)
     {
         output.WriteRawTag(133, 1);
         output.WriteFloat(FootContactR);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 12
0
   public void WriteTo(pb::CodedOutputStream output)
   {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
       output.WriteRawMessage(this);
 #else
       if (Id != 0L)
       {
           output.WriteRawTag(8);
           output.WriteInt64(Id);
       }
       if (Progress != 0)
       {
           output.WriteRawTag(16);
           output.WriteInt32(Progress);
       }
       if (Mode != 0)
       {
           output.WriteRawTag(24);
           output.WriteInt32(Mode);
       }
       if (Fontsize != 0)
       {
           output.WriteRawTag(32);
           output.WriteInt32(Fontsize);
       }
       if (Color != 0)
       {
           output.WriteRawTag(40);
           output.WriteUInt32(Color);
       }
       if (MidHash.Length != 0)
       {
           output.WriteRawTag(50);
           output.WriteString(MidHash);
       }
       if (Content.Length != 0)
       {
           output.WriteRawTag(58);
           output.WriteString(Content);
       }
       if (Ctime != 0L)
       {
           output.WriteRawTag(64);
           output.WriteInt64(Ctime);
       }
       if (Weight != 0)
       {
           output.WriteRawTag(72);
           output.WriteInt32(Weight);
       }
       if (Action.Length != 0)
       {
           output.WriteRawTag(82);
           output.WriteString(Action);
       }
       if (Pool != 0)
       {
           output.WriteRawTag(88);
           output.WriteInt32(Pool);
       }
       if (IdStr.Length != 0)
       {
           output.WriteRawTag(98);
           output.WriteString(IdStr);
       }
       if (_unknownFields != null)
       {
           _unknownFields.WriteTo(output);
       }
 #endif
   }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PokemonId != 0UL)
     {
         output.WriteRawTag(9);
         output.WriteFixed64(PokemonId);
     }
     if (Item != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Item);
     }
     if (PokedexEntryId != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(PokedexEntryId);
     }
     if (PlayerStats != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(PlayerStats);
     }
     if (PlayerCurrency != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(PlayerCurrency);
     }
     if (PlayerCamera != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(PlayerCamera);
     }
     if (InventoryUpgrades != false)
     {
         output.WriteRawTag(56);
         output.WriteBool(InventoryUpgrades);
     }
     if (AppliedItems != false)
     {
         output.WriteRawTag(64);
         output.WriteBool(AppliedItems);
     }
     if (EggIncubators != false)
     {
         output.WriteRawTag(72);
         output.WriteBool(EggIncubators);
     }
     if (PokemonFamilyId != 0)
     {
         output.WriteRawTag(80);
         output.WriteEnum((int)PokemonFamilyId);
     }
     if (QuestType != 0)
     {
         output.WriteRawTag(88);
         output.WriteEnum((int)QuestType);
     }
     if (AvatarTemplateId.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(AvatarTemplateId);
     }
     if (RaidTickets != false)
     {
         output.WriteRawTag(104);
         output.WriteBool(RaidTickets);
     }
     if (Quests != false)
     {
         output.WriteRawTag(112);
         output.WriteBool(Quests);
     }
     if (GiftBoxes != false)
     {
         output.WriteRawTag(120);
         output.WriteBool(GiftBoxes);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 14
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ResourceName.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(ResourceName);
     }
     if (id_ != null)
     {
         _single_id_codec.WriteTagAndValue(output, Id);
     }
     if (name_ != null)
     {
         _single_name_codec.WriteTagAndValue(output, Name);
     }
     if (Type != global::Google.Ads.GoogleAds.V3.Enums.BiddingStrategyTypeEnum.Types.BiddingStrategyType.Unspecified)
     {
         output.WriteRawTag(40);
         output.WriteEnum((int)Type);
     }
     if (schemeCase_ == SchemeOneofCase.EnhancedCpc)
     {
         output.WriteRawTag(58);
         output.WriteMessage(EnhancedCpc);
     }
     if (schemeCase_ == SchemeOneofCase.TargetCpa)
     {
         output.WriteRawTag(74);
         output.WriteMessage(TargetCpa);
     }
     if (schemeCase_ == SchemeOneofCase.TargetRoas)
     {
         output.WriteRawTag(90);
         output.WriteMessage(TargetRoas);
     }
     if (schemeCase_ == SchemeOneofCase.TargetSpend)
     {
         output.WriteRawTag(98);
         output.WriteMessage(TargetSpend);
     }
     if (campaignCount_ != null)
     {
         _single_campaignCount_codec.WriteTagAndValue(output, CampaignCount);
     }
     if (nonRemovedCampaignCount_ != null)
     {
         _single_nonRemovedCampaignCount_codec.WriteTagAndValue(output, NonRemovedCampaignCount);
     }
     if (Status != global::Google.Ads.GoogleAds.V3.Enums.BiddingStrategyStatusEnum.Types.BiddingStrategyStatus.Unspecified)
     {
         output.WriteRawTag(120);
         output.WriteEnum((int)Status);
     }
     if (schemeCase_ == SchemeOneofCase.TargetImpressionShare)
     {
         output.WriteRawTag(130, 3);
         output.WriteMessage(TargetImpressionShare);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 15
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (MoveId != 0)
     {
         output.WriteRawTag(8);
         output.WriteUInt32(MoveId);
     }
     if (Category != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Category);
     }
     if (U3 != 0)
     {
         output.WriteRawTag(24);
         output.WriteUInt32(U3);
     }
     if (User != 0)
     {
         output.WriteRawTag(32);
         output.WriteEnum((int)User);
     }
     if (Group != 0)
     {
         output.WriteRawTag(40);
         output.WriteEnum((int)Group);
     }
     if (Type != 0)
     {
         output.WriteRawTag(48);
         output.WriteUInt32(Type);
     }
     if (Target != 0)
     {
         output.WriteRawTag(56);
         output.WriteEnum((int)Target);
     }
     if (U8 != 0)
     {
         output.WriteRawTag(64);
         output.WriteUInt32(U8);
     }
     if (GaugeDrain != 0)
     {
         output.WriteRawTag(72);
         output.WriteUInt32(GaugeDrain);
     }
     if (Power != 0)
     {
         output.WriteRawTag(80);
         output.WriteUInt32(Power);
     }
     if (Accuracy != 0)
     {
         output.WriteRawTag(88);
         output.WriteUInt32(Accuracy);
     }
     if (Uses != 0)
     {
         output.WriteRawTag(96);
         output.WriteUInt32(Uses);
     }
     if (Tags != 0)
     {
         output.WriteRawTag(104);
         output.WriteEnum((int)Tags);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 16
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Kpn.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Kpn);
     }
     if (Kpf.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Kpf);
     }
     if (SubBiz.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(SubBiz);
     }
     if (Uid != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(Uid);
     }
     if (Did.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(Did);
     }
     if (ClientIp != 0L)
     {
         output.WriteRawTag(48);
         output.WriteInt64(ClientIp);
     }
     if (AppVer.Length != 0)
     {
         output.WriteRawTag(58);
         output.WriteString(AppVer);
     }
     if (Ver.Length != 0)
     {
         output.WriteRawTag(66);
         output.WriteString(Ver);
     }
     if (Lat.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(Lat);
     }
     if (Lon.Length != 0)
     {
         output.WriteRawTag(82);
         output.WriteString(Lon);
     }
     if (Mod.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(Mod);
     }
     if (Net.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(Net);
     }
     if (Sys.Length != 0)
     {
         output.WriteRawTag(106);
         output.WriteString(Sys);
     }
     if (C.Length != 0)
     {
         output.WriteRawTag(114);
         output.WriteString(C);
     }
     if (Language.Length != 0)
     {
         output.WriteRawTag(122);
         output.WriteString(Language);
     }
     if (CountryCode.Length != 0)
     {
         output.WriteRawTag(130, 1);
         output.WriteString(CountryCode);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 17
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (Name.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(Name);
         }
         if (DisplayName.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(DisplayName);
         }
         if (studySpec_ != null)
         {
             output.WriteRawTag(34);
             output.WriteMessage(StudySpec);
         }
         if (MaxTrialCount != 0)
         {
             output.WriteRawTag(40);
             output.WriteInt32(MaxTrialCount);
         }
         if (ParallelTrialCount != 0)
         {
             output.WriteRawTag(48);
             output.WriteInt32(ParallelTrialCount);
         }
         if (MaxFailedTrialCount != 0)
         {
             output.WriteRawTag(56);
             output.WriteInt32(MaxFailedTrialCount);
         }
         if (trialJobSpec_ != null)
         {
             output.WriteRawTag(66);
             output.WriteMessage(TrialJobSpec);
         }
         trials_.WriteTo(output, _repeated_trials_codec);
         if (State != global::Google.Cloud.AIPlatform.V1.JobState.Unspecified)
         {
             output.WriteRawTag(80);
             output.WriteEnum((int)State);
         }
         if (createTime_ != null)
         {
             output.WriteRawTag(90);
             output.WriteMessage(CreateTime);
         }
         if (startTime_ != null)
         {
             output.WriteRawTag(98);
             output.WriteMessage(StartTime);
         }
         if (endTime_ != null)
         {
             output.WriteRawTag(106);
             output.WriteMessage(EndTime);
         }
         if (updateTime_ != null)
         {
             output.WriteRawTag(114);
             output.WriteMessage(UpdateTime);
         }
         if (error_ != null)
         {
             output.WriteRawTag(122);
             output.WriteMessage(Error);
         }
         labels_.WriteTo(output, _map_labels_codec);
         if (encryptionSpec_ != null)
         {
             output.WriteRawTag(138, 1);
             output.WriteMessage(EncryptionSpec);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (Name.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(Name);
         }
         if (AnnotationSpecId.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(AnnotationSpecId);
         }
         if (createTime_ != null)
         {
             output.WriteRawTag(42);
             output.WriteMessage(CreateTime);
         }
         if (EvaluatedExampleCount != 0)
         {
             output.WriteRawTag(48);
             output.WriteInt32(EvaluatedExampleCount);
         }
         if (metricsCase_ == MetricsOneofCase.ClassificationEvaluationMetrics)
         {
             output.WriteRawTag(66);
             output.WriteMessage(ClassificationEvaluationMetrics);
         }
         if (metricsCase_ == MetricsOneofCase.TranslationEvaluationMetrics)
         {
             output.WriteRawTag(74);
             output.WriteMessage(TranslationEvaluationMetrics);
         }
         if (metricsCase_ == MetricsOneofCase.TextSentimentEvaluationMetrics)
         {
             output.WriteRawTag(90);
             output.WriteMessage(TextSentimentEvaluationMetrics);
         }
         if (metricsCase_ == MetricsOneofCase.ImageObjectDetectionEvaluationMetrics)
         {
             output.WriteRawTag(98);
             output.WriteMessage(ImageObjectDetectionEvaluationMetrics);
         }
         if (metricsCase_ == MetricsOneofCase.TextExtractionEvaluationMetrics)
         {
             output.WriteRawTag(106);
             output.WriteMessage(TextExtractionEvaluationMetrics);
         }
         if (DisplayName.Length != 0)
         {
             output.WriteRawTag(122);
             output.WriteString(DisplayName);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 19
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (RequestMethod.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(RequestMethod);
         }
         if (RequestUrl.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(RequestUrl);
         }
         if (RequestSize != 0L)
         {
             output.WriteRawTag(24);
             output.WriteInt64(RequestSize);
         }
         if (Status != 0)
         {
             output.WriteRawTag(32);
             output.WriteInt32(Status);
         }
         if (ResponseSize != 0L)
         {
             output.WriteRawTag(40);
             output.WriteInt64(ResponseSize);
         }
         if (UserAgent.Length != 0)
         {
             output.WriteRawTag(50);
             output.WriteString(UserAgent);
         }
         if (RemoteIp.Length != 0)
         {
             output.WriteRawTag(58);
             output.WriteString(RemoteIp);
         }
         if (Referer.Length != 0)
         {
             output.WriteRawTag(66);
             output.WriteString(Referer);
         }
         if (CacheHit != false)
         {
             output.WriteRawTag(72);
             output.WriteBool(CacheHit);
         }
         if (CacheValidatedWithOriginServer != false)
         {
             output.WriteRawTag(80);
             output.WriteBool(CacheValidatedWithOriginServer);
         }
         if (CacheLookup != false)
         {
             output.WriteRawTag(88);
             output.WriteBool(CacheLookup);
         }
         if (CacheFillBytes != 0L)
         {
             output.WriteRawTag(96);
             output.WriteInt64(CacheFillBytes);
         }
         if (ServerIp.Length != 0)
         {
             output.WriteRawTag(106);
             output.WriteString(ServerIp);
         }
         if (latency_ != null)
         {
             output.WriteRawTag(114);
             output.WriteMessage(Latency);
         }
         if (Protocol.Length != 0)
         {
             output.WriteRawTag(122);
             output.WriteString(Protocol);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 20
0
 public void WriteTo(pb::CodedOutputStream output) {
   info_.WriteTo(output, _repeated_info_codec);
   if (_unknownFields != null) {
     _unknownFields.WriteTo(output);
   }
 }
Esempio n. 21
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (Primary != false)
         {
             output.WriteRawTag(8);
             output.WriteBool(Primary);
         }
         if (Username.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(Username);
         }
         if (Uid != 0L)
         {
             output.WriteRawTag(24);
             output.WriteInt64(Uid);
         }
         if (Gid != 0L)
         {
             output.WriteRawTag(32);
             output.WriteInt64(Gid);
         }
         if (HomeDirectory.Length != 0)
         {
             output.WriteRawTag(42);
             output.WriteString(HomeDirectory);
         }
         if (Shell.Length != 0)
         {
             output.WriteRawTag(50);
             output.WriteString(Shell);
         }
         if (Gecos.Length != 0)
         {
             output.WriteRawTag(58);
             output.WriteString(Gecos);
         }
         if (SystemId.Length != 0)
         {
             output.WriteRawTag(66);
             output.WriteString(SystemId);
         }
         if (AccountId.Length != 0)
         {
             output.WriteRawTag(74);
             output.WriteString(AccountId);
         }
         if (OperatingSystemType != global::Google.Cloud.OsLogin.Common.OperatingSystemType.Unspecified)
         {
             output.WriteRawTag(80);
             output.WriteEnum((int)OperatingSystemType);
         }
         if (Name.Length != 0)
         {
             output.WriteRawTag(90);
             output.WriteString(Name);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 22
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Id);
     }
     if (Scope != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Scope);
     }
     if (State != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)State);
     }
     if (Action != 0)
     {
         output.WriteRawTag(32);
         output.WriteEnum((int)Action);
     }
     if (ProjectName.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(ProjectName);
     }
     if (ClassName.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(ClassName);
     }
     if (FunctionName.Length != 0)
     {
         output.WriteRawTag(58);
         output.WriteString(FunctionName);
     }
     if (Url.Length != 0)
     {
         output.WriteRawTag(66);
         output.WriteString(Url);
     }
     if (Method.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(Method);
     }
     if (ParaJson.Length != 0)
     {
         output.WriteRawTag(82);
         output.WriteString(ParaJson);
     }
     if (MessageText.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(MessageText);
     }
     if (TimeStart != 0L)
     {
         output.WriteRawTag(96);
         output.WriteInt64(TimeStart);
     }
     if (TimeEnd != 0L)
     {
         output.WriteRawTag(104);
         output.WriteInt64(TimeEnd);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 23
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ResourceName.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(ResourceName);
     }
     if (id_ != null)
     {
         _single_id_codec.WriteTagAndValue(output, Id);
     }
     if (name_ != null)
     {
         _single_name_codec.WriteTagAndValue(output, Name);
     }
     if (Type != 0)
     {
         output.WriteRawTag(40);
         output.WriteEnum((int)Type);
     }
     if (schemeCase_ == SchemeOneofCase.EnhancedCpc)
     {
         output.WriteRawTag(58);
         output.WriteMessage(EnhancedCpc);
     }
     if (schemeCase_ == SchemeOneofCase.PageOnePromoted)
     {
         output.WriteRawTag(66);
         output.WriteMessage(PageOnePromoted);
     }
     if (schemeCase_ == SchemeOneofCase.TargetCpa)
     {
         output.WriteRawTag(74);
         output.WriteMessage(TargetCpa);
     }
     if (schemeCase_ == SchemeOneofCase.TargetOutrankShare)
     {
         output.WriteRawTag(82);
         output.WriteMessage(TargetOutrankShare);
     }
     if (schemeCase_ == SchemeOneofCase.TargetRoas)
     {
         output.WriteRawTag(90);
         output.WriteMessage(TargetRoas);
     }
     if (schemeCase_ == SchemeOneofCase.TargetSpend)
     {
         output.WriteRawTag(98);
         output.WriteMessage(TargetSpend);
     }
     if (campaignCount_ != null)
     {
         _single_campaignCount_codec.WriteTagAndValue(output, CampaignCount);
     }
     if (nonRemovedCampaignCount_ != null)
     {
         _single_nonRemovedCampaignCount_codec.WriteTagAndValue(output, NonRemovedCampaignCount);
     }
     if (Status != 0)
     {
         output.WriteRawTag(120);
         output.WriteEnum((int)Status);
     }
     if (schemeCase_ == SchemeOneofCase.TargetImpressionShare)
     {
         output.WriteRawTag(130, 3);
         output.WriteMessage(TargetImpressionShare);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 24
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (Id.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(Id);
         }
         if (Name.Length != 0)
         {
             output.WriteRawTag(18);
             output.WriteString(Name);
         }
         if (Ip.Length != 0)
         {
             output.WriteRawTag(26);
             output.WriteString(Ip);
         }
         if (Port.Length != 0)
         {
             output.WriteRawTag(42);
             output.WriteString(Port);
         }
         if (Mac.Length != 0)
         {
             output.WriteRawTag(50);
             output.WriteString(Mac);
         }
         if (Hostname.Length != 0)
         {
             output.WriteRawTag(58);
             output.WriteString(Hostname);
         }
         if (Description.Length != 0)
         {
             output.WriteRawTag(66);
             output.WriteString(Description);
         }
         if (Key.Length != 0)
         {
             output.WriteRawTag(74);
             output.WriteString(Key);
         }
         if (IsMaster != false)
         {
             output.WriteRawTag(88);
             output.WriteBool(IsMaster);
         }
         if (UpdateTs.Length != 0)
         {
             output.WriteRawTag(98);
             output.WriteString(UpdateTs);
         }
         if (CreateTs.Length != 0)
         {
             output.WriteRawTag(106);
             output.WriteString(CreateTs);
         }
         if (UpdateTsUnix != 0L)
         {
             output.WriteRawTag(112);
             output.WriteInt64(UpdateTsUnix);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 25
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (ResourceName.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(ResourceName);
         }
         if (HasClientCustomer)
         {
             output.WriteRawTag(98);
             output.WriteString(ClientCustomer);
         }
         if (HasHidden)
         {
             output.WriteRawTag(104);
             output.WriteBool(Hidden);
         }
         if (HasLevel)
         {
             output.WriteRawTag(112);
             output.WriteInt64(Level);
         }
         if (HasTimeZone)
         {
             output.WriteRawTag(122);
             output.WriteString(TimeZone);
         }
         if (HasTestAccount)
         {
             output.WriteRawTag(128, 1);
             output.WriteBool(TestAccount);
         }
         if (HasManager)
         {
             output.WriteRawTag(136, 1);
             output.WriteBool(Manager);
         }
         if (HasDescriptiveName)
         {
             output.WriteRawTag(146, 1);
             output.WriteString(DescriptiveName);
         }
         if (HasCurrencyCode)
         {
             output.WriteRawTag(154, 1);
             output.WriteString(CurrencyCode);
         }
         if (HasId)
         {
             output.WriteRawTag(160, 1);
             output.WriteInt64(Id);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Esempio n. 26
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Id);
     }
     if (Login.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Login);
     }
     if (Password.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Password);
     }
     if (created_ != null)
     {
         output.WriteRawTag(34);
         output.WriteMessage(Created);
     }
     if (passwordUpdate_ != null)
     {
         output.WriteRawTag(42);
         output.WriteMessage(PasswordUpdate);
     }
     if (agreementAccepted_ != null)
     {
         output.WriteRawTag(50);
         output.WriteMessage(AgreementAccepted);
     }
     if (IsLocked != false)
     {
         output.WriteRawTag(56);
         output.WriteBool(IsLocked);
     }
     if (IsInactive != false)
     {
         output.WriteRawTag(64);
         output.WriteBool(IsInactive);
     }
     if (EmailAddress.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(EmailAddress);
     }
     if (PhoneNumber.Length != 0)
     {
         output.WriteRawTag(82);
         output.WriteString(PhoneNumber);
     }
     if (FullName.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(FullName);
     }
     if (PrefferredLanguage.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(PrefferredLanguage);
     }
     if (ForceChangePassword != false)
     {
         output.WriteRawTag(104);
         output.WriteBool(ForceChangePassword);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Id);
     }
     if (RepoSource.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(RepoSource);
     }
     if (RepoOwner.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(RepoOwner);
     }
     if (RepoName.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(RepoName);
     }
     if (RepoBranch.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(RepoBranch);
     }
     if (RepoRevision.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(RepoRevision);
     }
     if (BuildVersion.Length != 0)
     {
         output.WriteRawTag(58);
         output.WriteString(BuildVersion);
     }
     if (BuildStatus.Length != 0)
     {
         output.WriteRawTag(66);
         output.WriteString(BuildStatus);
     }
     labels_.WriteTo(output, _repeated_labels_codec);
     releaseTargets_.WriteTo(output, _repeated_releaseTargets_codec);
     if (Manifest.Length != 0)
     {
         output.WriteRawTag(90);
         output.WriteString(Manifest);
     }
     if (ManifestWithDefaults.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(ManifestWithDefaults);
     }
     commits_.WriteTo(output, _repeated_commits_codec);
     triggers_.WriteTo(output, _repeated_triggers_codec);
     events_.WriteTo(output, _repeated_events_codec);
     if (insertedAtTime_ != null)
     {
         output.WriteRawTag(130, 1);
         output.WriteMessage(InsertedAtTime);
     }
     if (updatedAtTime_ != null)
     {
         output.WriteRawTag(138, 1);
         output.WriteMessage(UpdatedAtTime);
     }
     if (duration_ != null)
     {
         output.WriteRawTag(146, 1);
         output.WriteMessage(Duration);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 28
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (RaidSeed != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(RaidSeed);
     }
     if (FortId.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(FortId);
     }
     if (StartTimeMs != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(StartTimeMs);
     }
     if (EndTimeMs != 0L)
     {
         output.WriteRawTag(40);
         output.WriteInt64(EndTimeMs);
     }
     if (ImageUrl.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(ImageUrl);
     }
     if (Latitude != 0D)
     {
         output.WriteRawTag(57);
         output.WriteDouble(Latitude);
     }
     if (Longitude != 0D)
     {
         output.WriteRawTag(65);
         output.WriteDouble(Longitude);
     }
     if (GymName.Length != 0)
     {
         output.WriteRawTag(74);
         output.WriteString(GymName);
     }
     if (SpawnTimeMs != 0L)
     {
         output.WriteRawTag(80);
         output.WriteInt64(SpawnTimeMs);
     }
     if (IsCancelled != false)
     {
         output.WriteRawTag(88);
         output.WriteBool(IsCancelled);
     }
     if (raidPokemon_ != null)
     {
         output.WriteRawTag(98);
         output.WriteMessage(RaidPokemon);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (TimestampMs != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(TimestampMs);
     }
     if (Sfida != false)
     {
         output.WriteRawTag(16);
         output.WriteBool(Sfida);
     }
     if (actionCase_ == ActionOneofCase.CatchPokemon)
     {
         output.WriteRawTag(26);
         output.WriteMessage(CatchPokemon);
     }
     if (actionCase_ == ActionOneofCase.FortSearch)
     {
         output.WriteRawTag(34);
         output.WriteMessage(FortSearch);
     }
     if (actionCase_ == ActionOneofCase.BuddyPokemon)
     {
         output.WriteRawTag(42);
         output.WriteMessage(BuddyPokemon);
     }
     if (actionCase_ == ActionOneofCase.RaidRewards)
     {
         output.WriteRawTag(50);
         output.WriteMessage(RaidRewards);
     }
     if (actionCase_ == ActionOneofCase.PasscodeRewards)
     {
         output.WriteRawTag(58);
         output.WriteMessage(PasscodeRewards);
     }
     if (actionCase_ == ActionOneofCase.CompleteQuest)
     {
         output.WriteRawTag(66);
         output.WriteMessage(CompleteQuest);
     }
     if (actionCase_ == ActionOneofCase.CompleteQuestStampCard)
     {
         output.WriteRawTag(74);
         output.WriteMessage(CompleteQuestStampCard);
     }
     if (actionCase_ == ActionOneofCase.CompleteQuestPokemonEncounter)
     {
         output.WriteRawTag(82);
         output.WriteMessage(CompleteQuestPokemonEncounter);
     }
     if (actionCase_ == ActionOneofCase.OpenGift)
     {
         output.WriteRawTag(98);
         output.WriteMessage(OpenGift);
     }
     if (actionCase_ == ActionOneofCase.SendGift)
     {
         output.WriteRawTag(106);
         output.WriteMessage(SendGift);
     }
     if (actionCase_ == ActionOneofCase.Trading)
     {
         output.WriteRawTag(114);
         output.WriteMessage(Trading);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Esempio n. 30
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (FortId.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(FortId);
     }
     if (TeamColor != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)TeamColor);
     }
     if (pokemonData_ != null)
     {
         output.WriteRawTag(26);
         output.WriteMessage(PokemonData);
     }
     if (Name.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(Name);
     }
     imageUrls_.WriteTo(output, _repeated_imageUrls_codec);
     if (Fp != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(Fp);
     }
     if (Stamina != 0)
     {
         output.WriteRawTag(56);
         output.WriteInt32(Stamina);
     }
     if (MaxStamina != 0)
     {
         output.WriteRawTag(64);
         output.WriteInt32(MaxStamina);
     }
     if (Type != 0)
     {
         output.WriteRawTag(72);
         output.WriteEnum((int)Type);
     }
     if (Latitude != 0D)
     {
         output.WriteRawTag(81);
         output.WriteDouble(Latitude);
     }
     if (Longitude != 0D)
     {
         output.WriteRawTag(89);
         output.WriteDouble(Longitude);
     }
     if (Description.Length != 0)
     {
         output.WriteRawTag(98);
         output.WriteString(Description);
     }
     modifiers_.WriteTo(output, _repeated_modifiers_codec);
     if (CloseSoon != false)
     {
         output.WriteRawTag(112);
         output.WriteBool(CloseSoon);
     }
     if (CheckinImageUrl.Length != 0)
     {
         output.WriteRawTag(122);
         output.WriteString(CheckinImageUrl);
     }
     if (eventInfo_ != null)
     {
         output.WriteRawTag(130, 1);
         output.WriteMessage(EventInfo);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }