Esempio n. 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (apple_ == null)
                    {
                        Apple = new global::PKIo.AppleWalletSettings();
                    }
                    input.ReadMessage(Apple);
                    break;
                }

                case 18: {
                    if (google_ == null)
                    {
                        Google = new global::PKIo.GooglePaySettings();
                    }
                    input.ReadMessage(Google);
                    break;
                }
                }
            }
        }
Esempio n. 2
0
 public void MergeFrom(PassOptions other)
 {
     if (other == null)
     {
         return;
     }
     if (other.apple_ != null)
     {
         if (apple_ == null)
         {
             Apple = new global::PKIo.AppleWalletSettings();
         }
         Apple.MergeFrom(other.Apple);
     }
     if (other.google_ != null)
     {
         if (google_ == null)
         {
             Google = new global::PKIo.GooglePaySettings();
         }
         Google.MergeFrom(other.Google);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }