public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.RevenueManagementConfigIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 16: {
                    EnableOccupancyFactor = input.ReadBool();
                    break;
                }

                case 24: {
                    EnableTimeFactor = input.ReadBool();
                    break;
                }
                }
            }
        }
 public void MergeFrom(RevenueManagementConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.RevenueManagementConfigIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.EnableOccupancyFactor != false)
     {
         EnableOccupancyFactor = other.EnableOccupancyFactor;
     }
     if (other.EnableTimeFactor != false)
     {
         EnableTimeFactor = other.EnableTimeFactor;
     }
 }