Example #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 (config_ == null)
                    {
                        Config = new global::OpenMatch.FunctionConfig();
                    }
                    input.ReadMessage(Config);
                    break;
                }

                case 18: {
                    profiles_.AddEntriesFrom(input, _repeated_profiles_codec);
                    break;
                }
                }
            }
        }
Example #2
0
 public void MergeFrom(FetchMatchesRequest other) {
   if (other == null) {
     return;
   }
   if (other.config_ != null) {
     if (config_ == null) {
       Config = new global::OpenMatch.FunctionConfig();
     }
     Config.MergeFrom(other.Config);
   }
   profiles_.Add(other.profiles_);
   _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }